Filtered PIDFController
This is the FilteredPIDFController class. This class handles the running of filtered filtered PIDFs. This behaves very similarly to a regular filtered PIDF controller, but the derivative portion is filtered with a low pass filter to reduce high frequency noise that could affect results.
Author
Anyi Lin - 10158 Scott's Bots
Constructors
Properties
Functions
Link copied to clipboard
This returns the filtered PIDF's current coefficients.
Link copied to clipboard
This returns the target position of the filtered PIDF.
Link copied to clipboard
This is used to set the coefficients of the filtered PIDF.
Link copied to clipboard
This is used to set the target position if the filtered 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 filtered PIDF's current position when inputting a current position and a target position to calculate error.