robstride 0.3.6

Interface for controlling actuators built by Robstride
Documentation
1
2
3
4
5
6
7
8
use robstride::{CommandData, ObtainIDCommand};

fn main() {
    let cmd = ObtainIDCommand { host_id: 0xFE };
    let serialized = cmd.to_can_packet(0x01);

    println!("{:?}, {:x} {:02x?}", cmd, serialized.0, serialized.1);
}