core / com.acmerobotics.roadrunner.util

Package com.acmerobotics.roadrunner.util

Miscellaneous utilities.

Types

Angle

object Angle

Various utilities for working with angles.

DoubleProgression

class DoubleProgression : Iterable<Double>

A progression of values of type Double.

GuidingVectorField

class GuidingVectorField

Guiding vector field for effective path following described in section III, eq. (9) of 1610.04391.pdf. Implementation note: 2D parametric curves are used to describe paths instead of implicit curves of the form f(x,y) = 0 as described in the paper (which dramatically affects the cross track error calculation).

MathUtil

object MathUtil

Various math utilities.

NanoClock

abstract class NanoClock

Clock interface with nanosecond precision and no guarantee about its origin (that is, this is only suited for measuring relative/elapsed time).

Extensions for External Classes

kotlin.Double

Properties

EPSILON

const val EPSILON: Double