MCPcopy Create free account
hub / github.com/DexterInd/GoPiGo3 / backward

Method backward

Software/Python/easygopigo3.py:416–425  ·  view source on GitHub ↗

Move the `GoPiGo3`_ backward. For setting the motor speed, use :py:meth:`~easygopigo3.EasyGoPiGo3.set_speed`. Default ``speed`` is set to ``300`` - see :py:meth:`~easygopigo3.EasyGoPiGo3.__init__`.

(self)

Source from the content-addressed store, hash-verified

414
415
416 def backward(self):
417 """
418 Move the `GoPiGo3`_ backward.
419
420 For setting the motor speed, use :py:meth:`~easygopigo3.EasyGoPiGo3.set_speed`.
421 Default ``speed`` is set to ``300`` - see :py:meth:`~easygopigo3.EasyGoPiGo3.__init__`.
422
423 """
424 self.set_motor_dps(self.MOTOR_LEFT + self.MOTOR_RIGHT,
425 self.NO_LIMIT_SPEED * -1)
426
427 def right(self):
428 """

Callers 5

MainFunction · 0.95
robot_commandsFunction · 0.45
drive_gpgFunction · 0.45

Calls 1

set_motor_dpsMethod · 0.45

Tested by

no test coverage detected