setPosY

open fun setPosY(posY: 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

posY

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

distanceUnit

the unit for posY