Enum ctre::motor_control::DemandType
source · pub enum DemandType {
Neutral,
AuxPID,
ArbitraryFeedForward,
}
Expand description
How to interpret a demand value.
Variants§
Neutral
Ignore the demand value and apply neutral/no-change.
AuxPID
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. The demand value is ignored.
ArbitraryFeedForward
Simply add to the output
Trait Implementations§
source§impl Clone for DemandType
impl Clone for DemandType
source§fn clone(&self) -> DemandType
fn clone(&self) -> DemandType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DemandType
impl Debug for DemandType
source§impl Default for DemandType
impl Default for DemandType
source§fn default() -> DemandType
fn default() -> DemandType
Returns the “default value” for a type. Read more