Add support for first generation Create (Roomba 400 series)

This commit is contained in:
Jacob Perron 2016-03-14 20:04:34 -07:00
parent ee4c06a404
commit f073458624
7 changed files with 348 additions and 132 deletions

View file

@ -26,6 +26,8 @@ namespace create {
port.set_option(serial_port::baud_rate(baud));
port.set_option(serial_port::flow_control(serial_port::flow_control::none));
usleep(1000000);
if (port.is_open()) {
callback = cb;
bool startReadSuccess = startReading();