getGyroRotation

fun getGyroRotation(): Rotation2d

Gets the current rotation from the gyroscope.

Return

Current gyro rotation as Rotation2d.