Package-level declarations

Types

Link copied to clipboard
class APID(var pGain: Double, var iGain: Double, var dGain: Double, initial: Double = 0.0, iLimit: Double = 1.0) : PID
Link copied to clipboard
Link copied to clipboard
class ExponentialFilter(val smoothing: Double)

Basic noise filter. Works by setting the state based on the following equation:

Link copied to clipboard
class Line(var px: Double, var py: Double, var vx: Double, var vy: Double)
Link copied to clipboard
open class Matrix(var width: Int, var height: Int, init: (Int) -> Double = { i -> 0.0})
Link copied to clipboard
open class PID(var pGain: Double, var iGain: Double, var dGain: Double, initial: Double = 0.0, var iLimit: Double = 1.0)

PID Controller

Link copied to clipboard
class Pose(var x: Double = 0.0, var y: Double = 0.0, var r: Double = 0.0)

Class describing a position and rotation in 2D. This class can also be used to describe things like 2D velocity or chassis power.

Link copied to clipboard
class RegressionFilter(val window_size: Int, val order: Int = 3)
Link copied to clipboard
class RingBuffer(val length: Int)
Link copied to clipboard
class SquareMatrix(val size: Int) : Matrix
Link copied to clipboard
class Vector(var size: Int) : Matrix

Functions

Link copied to clipboard
fun mod(a: Double, b: Double): Double
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard