setPose

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

Set the pose from x, y, and rotation.

Parameters

xMeters

X location, in meters

yMeters

Y location, in meters

rotation

rotation