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
Link copied to clipboard
constructor(kS: Double, kCos: Double, kV: Double, kA: Double, @NonNull position: Supplier<Measure<Angle>>, @NonNull velocity: Supplier<Measure<Velocity<Angle>>>, @NonNull acceleration: Supplier<Measure<Velocity<Velocity<Angle>>>>)
Creates a new ArmFeedforward with the specified gains and suppliers for the setpoints.
Properties
Functions
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.
Inherited functions
Link copied to clipboard
open fun compose(@NonNull other: SystemController, @NonNull combiner: DoubleBinaryOperator): CompositeController
Composes this controller with another controller, returning a new controller that is the composition of the two.
Link copied to clipboard
Get the PIDF controller associated with this controller, if applicable.
Link copied to clipboard
Sets the coefficients for this controller.