The active control mode of the motor controller.
More...
#include <ctre/phoenixpro/signals/SpnEnums.hpp>
The active control mode of the motor controller.
◆ ControlModeValue() [1/2]
ctre::phoenixpro::signals::ControlModeValue::ControlModeValue |
( |
int |
value | ) |
|
|
inline |
◆ ControlModeValue() [2/2]
ctre::phoenixpro::signals::ControlModeValue::ControlModeValue |
( |
| ) |
|
|
inline |
◆ operator<() [1/2]
bool ctre::phoenixpro::signals::ControlModeValue::operator< |
( |
const ControlModeValue & |
data | ) |
const |
|
inline |
◆ operator<() [2/2]
bool ctre::phoenixpro::signals::ControlModeValue::operator< |
( |
int |
data | ) |
const |
|
inline |
◆ operator==() [1/2]
bool ctre::phoenixpro::signals::ControlModeValue::operator== |
( |
const ControlModeValue & |
data | ) |
const |
|
inline |
◆ operator==() [2/2]
bool ctre::phoenixpro::signals::ControlModeValue::operator== |
( |
int |
data | ) |
const |
|
inline |
◆ Serialize()
std::string ctre::phoenixpro::signals::ControlModeValue::Serialize |
( |
| ) |
const |
|
inlinevirtual |
◆ ToString()
std::string ctre::phoenixpro::signals::ControlModeValue::ToString |
( |
| ) |
const |
|
inline |
Gets the string representation of this enum.
- Returns
- String representation of this enum
◆ operator<<
◆ CoastOut
constexpr int ctre::phoenixpro::signals::ControlModeValue::CoastOut = 25 |
|
staticconstexpr |
◆ DisabledOutput
constexpr int ctre::phoenixpro::signals::ControlModeValue::DisabledOutput = 0 |
|
staticconstexpr |
◆ DutyCycleFOC
constexpr int ctre::phoenixpro::signals::ControlModeValue::DutyCycleFOC = 7 |
|
staticconstexpr |
◆ DutyCycleOut
constexpr int ctre::phoenixpro::signals::ControlModeValue::DutyCycleOut = 3 |
|
staticconstexpr |
◆ Follower
constexpr int ctre::phoenixpro::signals::ControlModeValue::Follower = 23 |
|
staticconstexpr |
◆ MotionMagicDutyCycle
constexpr int ctre::phoenixpro::signals::ControlModeValue::MotionMagicDutyCycle = 6 |
|
staticconstexpr |
◆ MotionMagicDutyCycleFOC
constexpr int ctre::phoenixpro::signals::ControlModeValue::MotionMagicDutyCycleFOC = 10 |
|
staticconstexpr |
◆ MotionMagicTorqueCurrentFOC
constexpr int ctre::phoenixpro::signals::ControlModeValue::MotionMagicTorqueCurrentFOC = 22 |
|
staticconstexpr |
◆ MotionMagicVoltage
constexpr int ctre::phoenixpro::signals::ControlModeValue::MotionMagicVoltage = 14 |
|
staticconstexpr |
◆ MotionMagicVoltageFOC
constexpr int ctre::phoenixpro::signals::ControlModeValue::MotionMagicVoltageFOC = 18 |
|
staticconstexpr |
◆ NeutralOut
constexpr int ctre::phoenixpro::signals::ControlModeValue::NeutralOut = 1 |
|
staticconstexpr |
◆ PositionDutyCycle
constexpr int ctre::phoenixpro::signals::ControlModeValue::PositionDutyCycle = 4 |
|
staticconstexpr |
◆ PositionDutyCycleFOC
constexpr int ctre::phoenixpro::signals::ControlModeValue::PositionDutyCycleFOC = 8 |
|
staticconstexpr |
◆ PositionTorqueCurrentFOC
constexpr int ctre::phoenixpro::signals::ControlModeValue::PositionTorqueCurrentFOC = 20 |
|
staticconstexpr |
◆ PositionVoltage
constexpr int ctre::phoenixpro::signals::ControlModeValue::PositionVoltage = 12 |
|
staticconstexpr |
◆ PositionVoltageFOC
constexpr int ctre::phoenixpro::signals::ControlModeValue::PositionVoltageFOC = 16 |
|
staticconstexpr |
◆ Reserved
constexpr int ctre::phoenixpro::signals::ControlModeValue::Reserved = 24 |
|
staticconstexpr |
◆ StaticBrake
constexpr int ctre::phoenixpro::signals::ControlModeValue::StaticBrake = 2 |
|
staticconstexpr |
◆ TorqueCurrentFOC
constexpr int ctre::phoenixpro::signals::ControlModeValue::TorqueCurrentFOC = 19 |
|
staticconstexpr |
◆ value
int ctre::phoenixpro::signals::ControlModeValue::value |
◆ VelocityDutyCycle
constexpr int ctre::phoenixpro::signals::ControlModeValue::VelocityDutyCycle = 5 |
|
staticconstexpr |
◆ VelocityDutyCycleFOC
constexpr int ctre::phoenixpro::signals::ControlModeValue::VelocityDutyCycleFOC = 9 |
|
staticconstexpr |
◆ VelocityTorqueCurrentFOC
constexpr int ctre::phoenixpro::signals::ControlModeValue::VelocityTorqueCurrentFOC = 21 |
|
staticconstexpr |
◆ VelocityVoltage
constexpr int ctre::phoenixpro::signals::ControlModeValue::VelocityVoltage = 13 |
|
staticconstexpr |
◆ VelocityVoltageFOC
constexpr int ctre::phoenixpro::signals::ControlModeValue::VelocityVoltageFOC = 17 |
|
staticconstexpr |
◆ VoltageFOC
constexpr int ctre::phoenixpro::signals::ControlModeValue::VoltageFOC = 15 |
|
staticconstexpr |
◆ VoltageOut
constexpr int ctre::phoenixpro::signals::ControlModeValue::VoltageOut = 11 |
|
staticconstexpr |
The documentation for this class was generated from the following file: