getVelX

open fun getVelX(distanceUnit: DistanceUnit): Double

Return

the estimated X (forward) velocity of the robot in specified unit/sec

Parameters

distanceUnit

the unit to use


open fun getVelX(): Double

Deprecated

Return

the estimated X (forward) velocity of the robot in mm/sec

Deprecated

The overflow for this function has a DistanceUnit, which can reduce the chance of unit confusion.