setOffset

open fun setOffset(offset: SparkFunOTOS.Pose2D): OTOSLocalizer.Params.Builder

Specifies an offset for the sensor relative to the center of the robot.

Measured in default geometry units, which is inches and radians.

One of the RoadRunner tuners can assist in finding this offset.

Return

this builder

Parameters

offset

the offset of the robot in (+x right, +y forward, +h ccw)