setHeading

open fun setHeading(heading: Double, angleUnit: AngleUnit)

Send a heading 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

heading

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

angleUnit

Radians or Degrees