#frame #actuators #generate #parse #socket-can #linux #ultra-motion

umcan

A no_std rust crate to generate and parse CAN Frames for UltraMotion Actuators

3 unstable releases

0.2.0 Jan 12, 2024
0.1.1 Aug 29, 2023
0.1.0 Aug 23, 2023

#4 in #actuators

Download history 7/week @ 2024-03-10 14/week @ 2024-03-17 169/week @ 2024-03-24 145/week @ 2024-03-31 75/week @ 2024-04-07 131/week @ 2024-04-14 135/week @ 2024-04-21 177/week @ 2024-04-28 177/week @ 2024-05-05 218/week @ 2024-05-12 236/week @ 2024-05-19 181/week @ 2024-05-26 201/week @ 2024-06-02 1/week @ 2024-06-09

205 downloads per month

MPL-2.0 license

12KB
75 lines

umcan-rs

A no_std rust crate to generate and parse CAN Frames for the Ultra Motion Servo Cylinder CAN Protocol.

Install the crate

cargo add umcan

Examples

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

Dependencies

~2MB
~41K SLoC