setPosX

open fun setPosX(posX: Double, distanceUnit: DistanceUnit)

Send a position that the Pinpoint should use to track your robot relative to. You can use this to update the estimated position of your robot with new external sensor data, or to run a robot in field coordinates.

Parameters

posX

the new X position you'd like the Pinpoint to track your robot relive to.

distanceUnit

the unit for posX