PIDFCoefficients
Last updated
Last updated
PIDFCoefficients represents a set of tuning parameters used in PIDF control algorithms, specifically for controlling motors. PIDF stands for Proportional, Integral, Derivative, and Feedforward. The blocks in this section allow you to create PIDFCoefficients objects, manipulate these objects, and obtain information from these objects.
new PIDFCoefficients
Returns a new PIDFCoefficients object with default values: p=0, i=0, d=0, f=0. The default algorithm is PIDF.
new PIDFCoefficients (expanded with algorithm)
Returns a new PIDFCoefficients object with the specified PIDF values and algorithm.
new PIDFCoefficients (expanded)
Returns a copy of the given PIDFCoefficients object.
Set PIDFCoefficients.P
Sets the proportional term P of the given PIDFCoefficients object.
new PIDFCoefficients.P
Returns the proportional term P of the given PIDFCoefficients object.
Set PIDFCoefficients.I
Sets the integral term I of the given PIDFCoefficients object.
new PIDFCoefficients.I
Returns the integral term I of the given PIDFCoefficients object.
Set PIDFCoefficients.D
Sets the derivative term D of the given PIDFCoefficients object.
new PIDFCoefficients.D
Returns the derivative term D of the given PIDFCoefficients object.
Set PIDFCoefficients.F
Sets the feedforward term F of the given PIDFCoefficients object.
new PIDFCoefficients.F
Returns the feedforward term F of the given PIDFCoefficients object.
set PIDFCoefficients.Algorithm
Sets the algorithm for the given PIDFCoefficients object. The system only supports two algorithms: “PIDF”, or “LegacyPID.”
PIDFCoefficients.Algorithm
Returns the algorithm of the given PIDFCoefficients object.
call PIDFCoefficients.toText
Returns a text presentation of the given PIDFCoefficients object.