setGyro

fun setGyro(angle: Rotation2d)

Sets the gyro heading to a specific angle.

Parameters

angle

The angle to set the gyro to.