getPosX

open fun getPosX(): Double

Return

the estimated X (forward) position of the robot in mm


open fun getPosX(distanceUnit: DistanceUnit): Double

Return

the estimated X (forward) position of the robot in specified unit

Parameters

distanceUnit

the unit that the estimated position will return in