Robot module¶
- class robot.Robot[source]¶
Bases:
object
A class that represents the robot and offers shortcuts functions to runs two motors.
- ROT_DIAMETER = 270¶
- WHEEL_DIAMETER = 80¶
- async move_to(distance: float, speed: float) None [source]¶
Move to the object position at a given speed.
- Parameters
distance – distance to run
speed – the speed [-200; 200] in RPM
- property moving¶