Documentation
This crate provides basic functionnality to communicate with Herkulex DRS (both 0101 and 0201)
servomotors.
It is heavily based on the documentation published by Dongbu Robot which is available
here
.
Examples
To reboot all the servomotors you can use this message :
extern crate drs_0x01;
use MessageBuilder;
let message = new.id.reboot.build; // 0xFE is the broadcast ID
Here is how to enable torque for the servomotor labelled 35 :
use MessageBuilder;
use TorqueControl;
let message = new_with_id.write_ram.build;