core / com.acmerobotics.roadrunner.util / Angle

Angle

object Angle (source)

Various utilities for working with angles.

Functions

norm

Returns angle clamped to [0, 2pi].

fun norm(angle: Double): Double

normDelta

Returns angleDelta clamped to [-pi, pi].

fun normDelta(angleDelta: Double): Double