CTRE_Phoenix 5.20.2
|
Public Member Functions | |
DemandType (int value) | |
Public Attributes | |
Neutral =(0) | |
AuxPID =(1) | |
Target value of PID loop 1. When f. More... | |
ArbitraryFeedForward =(2) | |
Simply add to the output. More... | |
int | value |
Choose the demand type for the 4 param set
|
inline |
Create DemandType of specified value
value | Value of DemandType |
com.ctre.phoenix.motorcontrol.DemandType.ArbitraryFeedForward =(2) |
Simply add to the output.
When closed-looping, add demand arbitrarily to the closed-loop output.
com.ctre.phoenix.motorcontrol.DemandType.AuxPID =(1) |
Target value of PID loop 1. When f.
When closed-looping, set the target of the aux PID loop to the demand value.
When following, follow the processed output of the combined primary/aux PID output of the master. The demand value is ignored. Although it is much cleaner to use the 2-param Follow() in such cases.
com.ctre.phoenix.motorcontrol.DemandType.Neutral =(0) |
Ignore the demand value and apply neutral/no-change.
int com.ctre.phoenix.motorcontrol.DemandType.value |
Value of DemandType