Basics

Creating a robot

from Roomba import Roomba
my_robot = Roomba.Roomba()

The robot should respond with the following message, showing that the connection was made.

----------------------------------------
 Create opened serial connection
   port: /dev/ttyUSB0
   datarate: 115200 bps
----------------------------------------

Motion commands

my_robot.set_motors(left_speed, right_speed)
my_robot.kinematic(lin_speed=x, rot_speed=y)
my_robot.move(distance)
my_robot.turn(degrees)
my_robot.stop()

Additional commands

my_robot.set_display(text)