Home » Programming (API) » Programming the MRPi1 with python » back() – API python

back()

Description

Move the robot MRPi1 or MRPiZ back with control speed.

Syntax

back(speed)

Parameters

speed : the speed of the robot can be between 0 to 100.

Returns

None

Exemple for MRPi1 robot

from mrpi1_lib import *
import time

print "Test back"

back(30)
time.sleep(4)
stop()

Exemple for MRPiZ robot

from mrpiZ_lib import *
import time

print "Test back"

back(30)
time.sleep(4)
stop()