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

turnLeft_degree()

Description

Turn left the robot with angle parameter.

Pulling function.

Syntax

turnLeft_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()
turnLeft_degree(10, 180)