PIDTriplet

data class PIDTriplet(val kP: () -> Double, val kI: () -> Double, val kD: () -> Double)

This is a triplet of values used to set the constants of a PID controller in a separate grouping (so they can be more easily modified by other classes).

Parameters

kP

the proportional coefficient

kI

the integral coefficient

kD

the derivative coefficient

Constructors

Link copied to clipboard
constructor(kP: Double, kI: Double, kD: Double)
constructor(kP: () -> Double, kI: () -> Double, kD: () -> Double)

Properties

Link copied to clipboard
val kD: () -> Double
Link copied to clipboard
val kI: () -> Double
Link copied to clipboard
val kP: () -> Double