Commit graph

12 commits

Author SHA1 Message Date
Jacob Perron
2b9591f0f7
Replace boost features with C++11 equivalents (#58)
* Replace boost features with C++11 equivalents

Signed-off-by: Jacob Perron <jacob@openrobotics.org>

* Include <cmath> in util.h

Needed for std::abs

Signed-off-by: Jacob Perron <jacob@openrobotics.org>
2020-11-01 18:05:17 -08:00
Jacob Perron
dce7336bbe Add compiler flags '-Wall -Wextra -Wpedantic'
Fix warnings as a result.

Signed-off-by: Jacob Perron <jacobmperron@gmail.com>
2019-09-02 12:09:43 -07:00
Jacob Perron
f5044c7ec8 Disconnect from serial cleanly on SIGINT
Send the STOP opcode before exiting the program to ensure the robot is not left in a state that could potentially drain the battery.

Signed-off-by: Jacob Perron <jacobmperron@gmail.com>
2019-08-27 00:47:49 -07:00
Ryota Suzuki
b42565be8e add other serial communication options
Otherwize, it can be happened that Operation "7" (0x07) turns to be "135" (0x87)
2019-08-26 22:43:29 -07:00
Yutaka Kondo
2442ba209c Use shared pointer when binding callback for serial read (#38)
* Resolves an issue with ROS Melodic on 18.04.
2019-08-19 10:32:00 -07:00
Ben Wolsieffer
618956e14c Add support for early model Roomba 400s and other robots using the original SCI protocol. 2016-08-14 22:40:02 -04:00
Jacob Perron
f073458624 Add support for first generation Create (Roomba 400 series) 2016-03-17 13:07:02 -07:00
jacobperron
fc1fb48930 Fix bug: Too many packets requested corrupting serial buffer 2016-02-13 11:50:39 -08:00
jacobperron
9cb3250268 Expose functions for getting number of corrupt packets and total packets in Create class 2016-02-12 18:06:26 -08:00
jacobperron
bcd27b788a Code cleanup 2016-02-12 17:44:30 -08:00
jacobperron
8a3209d6a1 Add getters for number of corrupt and total packets received over serial 2016-02-12 17:22:15 -08:00
jacobperron
43c7b95361 Initial commit. 2015-12-11 14:08:34 -08:00