5 releases
0.1.4 | Jan 17, 2022 |
---|---|
0.1.3 | Jan 16, 2022 |
0.1.2 | Jan 13, 2022 |
0.1.1 | Jan 13, 2022 |
0.1.0 | Jan 13, 2022 |
#1432 in Embedded development
28KB
610 lines
turtlebot2
A Rust crate to drive Turtlebot2 (a.k.a Kobuki).
References
- https://yujinrobot.github.io/kobuki/enAppendixProtocolSpecification.html
- https://crates.io/crates/serialport
Prerequisites
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}
Demo
A demo shows the basic usage of this crate (only tested in Linux!):
$ cd examples/basic
$ cargo run
Dependencies
~1.2–1.8MB
~38K SLoC