#servo #rs485 #featured #full #interface #read-write #servos

no-std dynamixel

A (soon to be) full featured dynamixel servo library in rust

2 releases

Uses old Rust 2015

0.1.1 Feb 15, 2018
0.1.0 Feb 4, 2018

#1296 in Embedded development

41 downloads per month

MIT/Apache

78KB
2K SLoC

dynamixel.rs

Interface for Robotis Dynamixel servos in Rust

Features

This library is currently in development but is aiming to become a full featured dynamixel library in Rust. It should give a good user experience when used without the std library and be extended with nice features when std is used. It currently got the following features:

  • Type safe read/write register for protocol 1 and protocol 2 (If you try to write to a read only register your program will not compile)
  • Very basic support for MX28 servo
  • Very basic support for M42 servo
  • Enumeration of servos (when used with std)
  • A generic servo trait that allows you to treat all servos the same (can be used as a Boxed trait with std)

std/no_ std

  • The std feature is not enabled by default, if you're using the std library you should enable this feature.
  • If you also enable the serialport feature Interface will be implemented by Box<SerialPort> from serialport

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~0–1.1MB
~21K SLoC