PIDFController
This is the PIDFController class. This class handles the running of PIDFs. PIDF stands for proportional, integral, derivative, and feedforward. PIDFs take the error of a system as an input. Coefficients multiply into the error, the integral of the error, the derivative of the error, and a feedforward value. Then, these values are added up and returned. In this way, error in the system is corrected.
Author
Anyi Lin - 10158 Scott's Bots
Aaron Yang - 10158 Scott's Bots
Harrison Womack - 10158 Scott's Bots
Constructors
Properties
Functions
Link copied to clipboard
This returns the PIDF's current coefficients.
Link copied to clipboard
This returns the target position of the PIDF.
Link copied to clipboard
This is used to set the coefficients of the PIDF.
Link copied to clipboard
This is used to set the target position if the PIDF is being run with current position and target position inputs rather than error inputs.
Link copied to clipboard
As opposed to updating position against a target position, this just sets the error to some specified value.
Link copied to clipboard
This can be used to update the feedforward equation's input, if applicable.
Link copied to clipboard
This can be used to update the PIDF's current position when inputting a current position and a target position to calculate error.