def stop(self): """ Stop the robot, by setting the speed to 0, and disabling regulation """ self.speed = 0 self.regulate = False TwoWheeledRobot.stop(self)