The type of motor attached to the Talon.
More...
#include <ctre/phoenix6/signals/SpnEnums.hpp>
|
static constexpr int | Unknown = 0 |
| Talon could not determine the type of motor attached.
|
|
static constexpr int | Falcon500_Integrated = 1 |
| Talon is attached to an integrated Falcon motor.
|
|
static constexpr int | KrakenX60_Integrated = 2 |
| Talon is attached to an integrated Kraken X60 motor.
|
|
static constexpr int | KrakenX44_Integrated = 3 |
| Talon is attached to an integrated Kraken X44 motor.
|
|
static constexpr int | Minion_JST = 4 |
| Talon is connected to a CTR Electronics MinionĀ® brushless three phase motor.
|
|
static constexpr int | Brushed_AB = 5 |
| Talon is connected to a third party brushed DC motor with leads A and B.
|
|
static constexpr int | Brushed_AC = 6 |
| Talon is connected to a third party brushed DC motor with leads A and C.
|
|
static constexpr int | Brushed_BC = 7 |
| Talon is connected to a third party brushed DC motor with leads B and C.
|
|
static constexpr int | NEO_JST = 8 |
| Talon is connected to a third party NEO brushless three phase motor.
|
|
static constexpr int | NEO550_JST = 9 |
| Talon is connected to a third party NEO550 brushless three phase motor.
|
|
static constexpr int | VORTEX_JST = 10 |
| Talon is connected to a third party VORTEX brushless three phase motor.
|
|
The type of motor attached to the Talon.
This can be used to determine what motor is attached to the Talon FX. Return will be "Unknown" if firmware is too old or device is not present.
◆ ConnectedMotorValue() [1/2]
ctre::phoenix6::signals::ConnectedMotorValue::ConnectedMotorValue |
( |
int | value | ) |
|
|
inlineconstexpr |
◆ ConnectedMotorValue() [2/2]
ctre::phoenix6::signals::ConnectedMotorValue::ConnectedMotorValue |
( |
| ) |
|
|
inlineconstexpr |
◆ operator!=() [1/2]
bool ctre::phoenix6::signals::ConnectedMotorValue::operator!= |
( |
ConnectedMotorValue | data | ) |
const |
|
inlineconstexpr |
◆ operator!=() [2/2]
bool ctre::phoenix6::signals::ConnectedMotorValue::operator!= |
( |
int | data | ) |
const |
|
inlineconstexpr |
◆ operator<() [1/2]
◆ operator<() [2/2]
bool ctre::phoenix6::signals::ConnectedMotorValue::operator< |
( |
int | data | ) |
const |
|
inlineconstexpr |
◆ operator==() [1/2]
bool ctre::phoenix6::signals::ConnectedMotorValue::operator== |
( |
ConnectedMotorValue | data | ) |
const |
|
inlineconstexpr |
◆ operator==() [2/2]
bool ctre::phoenix6::signals::ConnectedMotorValue::operator== |
( |
int | data | ) |
const |
|
inlineconstexpr |
◆ Serialize()
std::string ctre::phoenix6::signals::ConnectedMotorValue::Serialize |
( |
| ) |
const |
|
inlinevirtual |
◆ ToString()
std::string ctre::phoenix6::signals::ConnectedMotorValue::ToString |
( |
| ) |
const |
|
inline |
Gets the string representation of this enum.
- Returns
- String representation of this enum
◆ operator<<
◆ Brushed_AB
int ctre::phoenix6::signals::ConnectedMotorValue::Brushed_AB = 5 |
|
staticconstexpr |
Talon is connected to a third party brushed DC motor with leads A and B.
◆ Brushed_AC
int ctre::phoenix6::signals::ConnectedMotorValue::Brushed_AC = 6 |
|
staticconstexpr |
Talon is connected to a third party brushed DC motor with leads A and C.
◆ Brushed_BC
int ctre::phoenix6::signals::ConnectedMotorValue::Brushed_BC = 7 |
|
staticconstexpr |
Talon is connected to a third party brushed DC motor with leads B and C.
◆ Falcon500_Integrated
int ctre::phoenix6::signals::ConnectedMotorValue::Falcon500_Integrated = 1 |
|
staticconstexpr |
Talon is attached to an integrated Falcon motor.
◆ KrakenX44_Integrated
int ctre::phoenix6::signals::ConnectedMotorValue::KrakenX44_Integrated = 3 |
|
staticconstexpr |
Talon is attached to an integrated Kraken X44 motor.
◆ KrakenX60_Integrated
int ctre::phoenix6::signals::ConnectedMotorValue::KrakenX60_Integrated = 2 |
|
staticconstexpr |
Talon is attached to an integrated Kraken X60 motor.
◆ Minion_JST
int ctre::phoenix6::signals::ConnectedMotorValue::Minion_JST = 4 |
|
staticconstexpr |
Talon is connected to a CTR Electronics MinionĀ® brushless three phase motor.
◆ NEO550_JST
int ctre::phoenix6::signals::ConnectedMotorValue::NEO550_JST = 9 |
|
staticconstexpr |
Talon is connected to a third party NEO550 brushless three phase motor.
◆ NEO_JST
int ctre::phoenix6::signals::ConnectedMotorValue::NEO_JST = 8 |
|
staticconstexpr |
Talon is connected to a third party NEO brushless three phase motor.
◆ Unknown
int ctre::phoenix6::signals::ConnectedMotorValue::Unknown = 0 |
|
staticconstexpr |
Talon could not determine the type of motor attached.
◆ value
int ctre::phoenix6::signals::ConnectedMotorValue::value |
◆ VORTEX_JST
int ctre::phoenix6::signals::ConnectedMotorValue::VORTEX_JST = 10 |
|
staticconstexpr |
Talon is connected to a third party VORTEX brushless three phase motor.
The documentation for this class was generated from the following file: