Package-level declarations

Types

Link copied to clipboard
class ArmFeedforward(val kCos: Double, val ticksToAngle: (Double) -> Double) : Feedforward

ArmFeedforward is a simple implementation of Feedforward where the feedforward scales depending on the cosine of the arm angle. This is ideal for an arm with a fixed length.

Link copied to clipboard
fun interface Feedforward

Feedforward is a functional interface for computing feedforward. It is essentially just a Function but named and with example uses.

Link copied to clipboard
class GainScheduledArmFeedforward(val kCos: (Double) -> Double, val ticksToAngle: (Double) -> Double) : Feedforward

GainScheduledArmFeedforward is very similar to ArmFeedforward, but the multiplier is no longer constant. This allows you to change your feedforward depending on, say, the extension of a linear slide that rotates.

Link copied to clipboard