core / com.acmerobotics.roadrunner.util

Package com.acmerobotics.roadrunner.util

Miscellaneous utilities.

Types

Angle

Various utilities for working with angles.

object Angle

DoubleProgression

A progression of values of type Double.

data class DoubleProgression : Iterable<Double>

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).

class GuidingVectorField

MathUtil

Various math utilities.

object MathUtil

NanoClock

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

abstract class NanoClock

Extensions for External Classes

kotlin.Double

Properties

EPSILON

const val EPSILON: Double