Home » Programming the MRPiZ with python » turnRight_degree() – API python

turnRight_degree()

Description

Move the robot forward with distance and speed control.

Pulling function.

Syntax

turnRight_degree(speed, angle)

Parameters

  • speed : the speed of the robot can be between 0 to 100.
  • angle : degree angle 0 to 360°

Returns

None

Exemple for MRPiZ robot

  • Speed : 10 %
  • Angle : 90°
from mrpiZ_lib import *
import time

controlEnable()
turnRight_degree(10, 90)