setRobotPose

fun setRobotPose(xMeters: Double, yMeters: Double, rotation: Rotation2d?)

Set the robot pose from x, y, and rotation.

Parameters

xMeters

X location, in meters

yMeters

Y location, in meters

rotation

rotation