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

robotPositionX()

Description

Read robot position on the x axis.

Syntax

robotPositionX()

Parameter

None

Return

Millimeter value.

Exemple

from mrpiZ_lib import *
import time

positionX = robotPositionX()

print positionX