AutonomyLab / libcreate

C++ library for interfacing with the iRobot Create 1 and 2.
BSD 3-Clause "New" or "Revised" License
47 stars 76 forks source link

Disconnect from serial cleanly on SIGINT #51

Closed jacobperron closed 5 years ago

jacobperron commented 5 years ago

Send the STOP opcode before exiting the program to ensure the robot is not left in a state that could potentially drain the battery.