setOffset

fun setOffset(offset: Rotation2d)

Sets a specific offset in various units.

Parameters

offset

The offset to set as a Rotation2d.