Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marcelbuesing/canutils-rs
A `canutils` candump parser and colorful candump rust version with dbc support.
https://github.com/marcelbuesing/canutils-rs
Last synced: about 1 month ago
JSON representation
A `canutils` candump parser and colorful candump rust version with dbc support.
- Host: GitHub
- URL: https://github.com/marcelbuesing/canutils-rs
- Owner: marcelbuesing
- Created: 2019-03-15T06:39:18.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-03-23T10:21:22.000Z (over 3 years ago)
- Last Synced: 2024-09-18T09:06:59.956Z (about 2 months ago)
- Language: Rust
- Homepage:
- Size: 190 KB
- Stars: 12
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![VERSION](https://img.shields.io/crates/v/canutils.svg)](https://crates.io/crates/canutils)
[![Build Status](https://travis-ci.org/marcelbuesing/canutils-rs.svg?branch=master)](https://travis-ci.org/marcelbuesing/canutils-rs)
[![docs](https://docs.rs/canutils/badge.svg)](https://docs.rs/canutils)# Binary Installation
```
cargo install --bin candumprb
```# Candumprb
A colorful candump version.
![screenshot](screenshot_candumprb.png)
## Interface
```
$ candumprb --help
candumprb 1.0.0
Candump Rainbow. A colorful can dump tool with dbc support.USAGE:
candumprb [OPTIONS]FLAGS:
-h, --help Prints help information
-V, --version Prints version informationOPTIONS:
-i, --input DBC file path, if not passed frame signals are not decodedARGS:
socketcan CAN interface e.g. vcan0
```# Cangenrb
A colorful can frame generator that takes a DBC file as input for generating CAN frames. The random values of can signals are, by default, generated within the range specified in the DBC file. To create completely random frame payloads pass the --random-frame-data flag.
![screenshot](screenshot_cangenrb.png)
## Interface
```
$ cangenrb --help
cangenrb 1.0.0
Cangen Rainbow. A colorful that generates CAN messages based on a supplied DBC file.USAGE:
cangenrb [FLAGS] [OPTIONS] --inputFLAGS:
--err Send random error frames
-h, --help Prints help information
-r, --random-frame-data Completely random frame data, unrelated to any signal
--rtr Send random remote transmission frames
-V, --version Prints version informationOPTIONS:
-f, --frequency Frequency of sending in microseconds [default: 100000]
-i, --input DBC file path
--transmitter Only generate messages of the given transmitter (sending node)ARGS:
Only generate messages for the given receiver (receiving node)
```
# CanstatsrbA tool that collects statistics about received frames and the messages by message id.
## Interface
```
canstatsrb 1.0.0
SocketCAN message statisticsUSAGE:
canstatsrbFLAGS:
-h, --help Prints help information
-V, --version Prints version informationARGS:
socketcan CAN interface e.g. vcan0
```## Output Example
```
RX Total: 6410
EFF Total: 3697 ERR: 0 RTR: 0
SFF Total: 2713 ERR: 0 RTR: 0
Messages by CAN ID
32 → # 107
113 → # 93
152 → # 95
161 → # 99
163 → # 95
290 → # 115
341 → # 85
367 → # 83
383 → # 104
489 → # 92
504 → # 94
548 → # 107
549 → # 111
626 → # 88
```