A Rust crate to drive Turtlebot2 (a.k.a Kobuki).
- https://yujinrobot.github.io/kobuki/enAppendixProtocolSpecification.html
- https://crates.io/crates/serialport
Since the serialport crate requires some packages:
$ sudo apt install libudev-dev pkg-config
Also the user should be a part of the dialout group in Linux:
$ sudo adduser ${USER} dialout
# or
$ sudo usermod -aG dialout ${USER}
A demo shows the basic usage of this crate (only tested in Linux!):
$ cd examples/basic
$ cargo run