The active control mode of the motor controller.
More...
#include <ctre/phoenix6/signals/SpnEnums.hpp>
The active control mode of the motor controller.
◆ ControlModeValue() [1/2]
constexpr ctre::phoenix6::signals::ControlModeValue::ControlModeValue |
( |
int | value | ) |
|
|
inlineconstexpr |
◆ ControlModeValue() [2/2]
constexpr ctre::phoenix6::signals::ControlModeValue::ControlModeValue |
( |
| ) |
|
|
inlineconstexpr |
◆ operator!=() [1/2]
constexpr bool ctre::phoenix6::signals::ControlModeValue::operator!= |
( |
ControlModeValue | data | ) |
const |
|
inlineconstexpr |
◆ operator!=() [2/2]
constexpr bool ctre::phoenix6::signals::ControlModeValue::operator!= |
( |
int | data | ) |
const |
|
inlineconstexpr |
◆ operator<() [1/2]
constexpr bool ctre::phoenix6::signals::ControlModeValue::operator< |
( |
ControlModeValue | data | ) |
const |
|
inlineconstexpr |
◆ operator<() [2/2]
constexpr bool ctre::phoenix6::signals::ControlModeValue::operator< |
( |
int | data | ) |
const |
|
inlineconstexpr |
◆ operator==() [1/2]
constexpr bool ctre::phoenix6::signals::ControlModeValue::operator== |
( |
ControlModeValue | data | ) |
const |
|
inlineconstexpr |
◆ operator==() [2/2]
constexpr bool ctre::phoenix6::signals::ControlModeValue::operator== |
( |
int | data | ) |
const |
|
inlineconstexpr |
◆ Serialize()
std::string ctre::phoenix6::signals::ControlModeValue::Serialize |
( |
| ) |
const |
|
inlinevirtual |
◆ ToString()
std::string ctre::phoenix6::signals::ControlModeValue::ToString |
( |
| ) |
const |
|
inline |
Gets the string representation of this enum.
- Returns
- String representation of this enum
◆ operator<<
◆ CoastOut
constexpr int ctre::phoenix6::signals::ControlModeValue::CoastOut = 25 |
|
staticconstexpr |
◆ DisabledOutput
constexpr int ctre::phoenix6::signals::ControlModeValue::DisabledOutput = 0 |
|
staticconstexpr |
◆ DutyCycleFOC
constexpr int ctre::phoenix6::signals::ControlModeValue::DutyCycleFOC = 7 |
|
staticconstexpr |
◆ DutyCycleOut
constexpr int ctre::phoenix6::signals::ControlModeValue::DutyCycleOut = 3 |
|
staticconstexpr |
◆ Follower
constexpr int ctre::phoenix6::signals::ControlModeValue::Follower = 23 |
|
staticconstexpr |
◆ MotionMagicDutyCycle
constexpr int ctre::phoenix6::signals::ControlModeValue::MotionMagicDutyCycle = 6 |
|
staticconstexpr |
◆ MotionMagicDutyCycleFOC
constexpr int ctre::phoenix6::signals::ControlModeValue::MotionMagicDutyCycleFOC = 10 |
|
staticconstexpr |
◆ MotionMagicExpoDutyCycle
constexpr int ctre::phoenix6::signals::ControlModeValue::MotionMagicExpoDutyCycle = 33 |
|
staticconstexpr |
◆ MotionMagicExpoDutyCycleFOC
constexpr int ctre::phoenix6::signals::ControlModeValue::MotionMagicExpoDutyCycleFOC = 34 |
|
staticconstexpr |
◆ MotionMagicExpoTorqueCurrentFOC
constexpr int ctre::phoenix6::signals::ControlModeValue::MotionMagicExpoTorqueCurrentFOC = 37 |
|
staticconstexpr |
◆ MotionMagicExpoVoltage
constexpr int ctre::phoenix6::signals::ControlModeValue::MotionMagicExpoVoltage = 35 |
|
staticconstexpr |
◆ MotionMagicExpoVoltageFOC
constexpr int ctre::phoenix6::signals::ControlModeValue::MotionMagicExpoVoltageFOC = 36 |
|
staticconstexpr |
◆ MotionMagicTorqueCurrentFOC
constexpr int ctre::phoenix6::signals::ControlModeValue::MotionMagicTorqueCurrentFOC = 22 |
|
staticconstexpr |
◆ MotionMagicVelocityDutyCycle
constexpr int ctre::phoenix6::signals::ControlModeValue::MotionMagicVelocityDutyCycle = 28 |
|
staticconstexpr |
◆ MotionMagicVelocityDutyCycleFOC
constexpr int ctre::phoenix6::signals::ControlModeValue::MotionMagicVelocityDutyCycleFOC = 29 |
|
staticconstexpr |
◆ MotionMagicVelocityTorqueCurrentFOC
constexpr int ctre::phoenix6::signals::ControlModeValue::MotionMagicVelocityTorqueCurrentFOC = 32 |
|
staticconstexpr |
◆ MotionMagicVelocityVoltage
constexpr int ctre::phoenix6::signals::ControlModeValue::MotionMagicVelocityVoltage = 30 |
|
staticconstexpr |
◆ MotionMagicVelocityVoltageFOC
constexpr int ctre::phoenix6::signals::ControlModeValue::MotionMagicVelocityVoltageFOC = 31 |
|
staticconstexpr |
◆ MotionMagicVoltage
constexpr int ctre::phoenix6::signals::ControlModeValue::MotionMagicVoltage = 14 |
|
staticconstexpr |
◆ MotionMagicVoltageFOC
constexpr int ctre::phoenix6::signals::ControlModeValue::MotionMagicVoltageFOC = 18 |
|
staticconstexpr |
◆ MusicTone
constexpr int ctre::phoenix6::signals::ControlModeValue::MusicTone = 27 |
|
staticconstexpr |
◆ NeutralOut
constexpr int ctre::phoenix6::signals::ControlModeValue::NeutralOut = 1 |
|
staticconstexpr |
◆ PositionDutyCycle
constexpr int ctre::phoenix6::signals::ControlModeValue::PositionDutyCycle = 4 |
|
staticconstexpr |
◆ PositionDutyCycleFOC
constexpr int ctre::phoenix6::signals::ControlModeValue::PositionDutyCycleFOC = 8 |
|
staticconstexpr |
◆ PositionTorqueCurrentFOC
constexpr int ctre::phoenix6::signals::ControlModeValue::PositionTorqueCurrentFOC = 20 |
|
staticconstexpr |
◆ PositionVoltage
constexpr int ctre::phoenix6::signals::ControlModeValue::PositionVoltage = 12 |
|
staticconstexpr |
◆ PositionVoltageFOC
constexpr int ctre::phoenix6::signals::ControlModeValue::PositionVoltageFOC = 16 |
|
staticconstexpr |
◆ Reserved
constexpr int ctre::phoenix6::signals::ControlModeValue::Reserved = 24 |
|
staticconstexpr |
◆ StaticBrake
constexpr int ctre::phoenix6::signals::ControlModeValue::StaticBrake = 2 |
|
staticconstexpr |
◆ TorqueCurrentFOC
constexpr int ctre::phoenix6::signals::ControlModeValue::TorqueCurrentFOC = 19 |
|
staticconstexpr |
◆ UnauthorizedDevice
constexpr int ctre::phoenix6::signals::ControlModeValue::UnauthorizedDevice = 26 |
|
staticconstexpr |
◆ value
int ctre::phoenix6::signals::ControlModeValue::value |
◆ VelocityDutyCycle
constexpr int ctre::phoenix6::signals::ControlModeValue::VelocityDutyCycle = 5 |
|
staticconstexpr |
◆ VelocityDutyCycleFOC
constexpr int ctre::phoenix6::signals::ControlModeValue::VelocityDutyCycleFOC = 9 |
|
staticconstexpr |
◆ VelocityTorqueCurrentFOC
constexpr int ctre::phoenix6::signals::ControlModeValue::VelocityTorqueCurrentFOC = 21 |
|
staticconstexpr |
◆ VelocityVoltage
constexpr int ctre::phoenix6::signals::ControlModeValue::VelocityVoltage = 13 |
|
staticconstexpr |
◆ VelocityVoltageFOC
constexpr int ctre::phoenix6::signals::ControlModeValue::VelocityVoltageFOC = 17 |
|
staticconstexpr |
◆ VoltageFOC
constexpr int ctre::phoenix6::signals::ControlModeValue::VoltageFOC = 15 |
|
staticconstexpr |
◆ VoltageOut
constexpr int ctre::phoenix6::signals::ControlModeValue::VoltageOut = 11 |
|
staticconstexpr |
The documentation for this class was generated from the following file: