Crates.io | umcan |
lib.rs | umcan |
version | 0.2.0 |
source | src |
created_at | 2023-08-23 17:41:46.180157 |
updated_at | 2024-01-12 17:56:05.474061 |
description | A no_std rust crate to generate and parse CAN Frames for UltraMotion Actuators. |
homepage | https://github.com/saronic-technologies/umcan-rs |
repository | https://github.com/saronic-technologies/umcan-rs |
max_upload_size | |
id | 952376 |
size | 35,060 |
A no_std
rust crate to generate and parse CAN Frames for the Ultra Motion Servo Cylinder
CAN Protocol.
cargo add umcan
socketcan_recrev_cmd.rs
will send and receive CAN frames via the linux
socketcan interface using
socketcan-rs
To run the example first bring up a vcan0
interface:
sudo modprobe vcan
sudo ip link add vcan0 type vcan
sudo ip link set vcan0 up
Then run socketcan_recrev_cmd.rs
:
cargo run --example socketcan_recrev_cmd