setOffsets

open fun setOffsets(xOffset: Double, yOffset: Double)

Sets the odometry pod positions relative to the point that the odometry computer tracks around. The most common tracking position is the center of the robot. The X pod offset refers to how far sideways (in mm) from the tracking point the X (forward) odometry pod is. Left of the center is a positive number, right of center is a negative number. the Y pod offset refers to how far forwards (in mm) from the tracking point the Y (strafe) odometry pod is. forward of center is a positive number, backwards is a negative number.

Parameters

xOffset

how sideways from the center of the robot is the X (forward) pod? Left increases

yOffset

how far forward from the center of the robot is the Y (Strafe) pod? forward increases