Arm Feedforward
A helper class that computes feedforward outputs for a simple arm (modeled as a motor acting against the force of gravity on a beam suspended at an angle), adjusted to use WPIUnits for unit assertion. Source
Since
3.5.0
Constructors
Functions
Link copied to clipboard
Implicit feedforward of assumed radians unit.
Calculates the feedforward from the gains and velocity setpoint (acceleration is assumed to be zero).
open fun calculate(position: Measure<Angle>, velocity: Measure<Velocity<Angle>>, acceleration: Measure<Velocity<Velocity<Angle>>>): Double
Calculates the feedforward from the gains and setpoints.
Link copied to clipboard
Gets the current coefficients for this controller.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Sets the coefficients for this controller.