CTRE Phoenix 6 C++ 25.3.1
Loading...
Searching...
No Matches
ctre::phoenix6::signals::ExternalMotorTempStatusValue Class Reference

Status of the temperature sensor of the external motor. More...

#include <ctre/phoenix6/signals/SpnEnums.hpp>

Inheritance diagram for ctre::phoenix6::signals::ExternalMotorTempStatusValue:
ctre::phoenix6::ISerializable

Public Member Functions

constexpr ExternalMotorTempStatusValue (int value)
 
constexpr ExternalMotorTempStatusValue ()
 
constexpr bool operator== (ExternalMotorTempStatusValue data) const
 
constexpr bool operator== (int data) const
 
constexpr bool operator!= (ExternalMotorTempStatusValue data) const
 
constexpr bool operator!= (int data) const
 
constexpr bool operator< (ExternalMotorTempStatusValue data) const
 
constexpr bool operator< (int data) const
 
std::string ToString () const
 Gets the string representation of this enum.
 
std::string Serialize () const
 
- Public Member Functions inherited from ctre::phoenix6::ISerializable

Public Attributes

int value
 

Static Public Attributes

static constexpr int Collecting = 0
 Talon is collecting information on the sensor.
 
static constexpr int Disconnected = 1
 Temperature sensor appears to be disconnected.
 
static constexpr int TooHot = 2
 Temperature sensor is too hot to allow motor operation.
 
static constexpr int Normal = 3
 Temperature sensor is normal.
 
static constexpr int NotUsed = 4
 Temperature sensor is present but is not used.
 
static constexpr int WrongMotorOrShorted = 5
 Temperature sensor appears to be for the wrong motor arrangement, or signals are shorted.
 

Friends

std::ostream & operator<< (std::ostream &os, ExternalMotorTempStatusValue data)
 

Detailed Description

Status of the temperature sensor of the external motor.

Constructor & Destructor Documentation

◆ ExternalMotorTempStatusValue() [1/2]

ctre::phoenix6::signals::ExternalMotorTempStatusValue::ExternalMotorTempStatusValue ( int value)
inlineconstexpr

◆ ExternalMotorTempStatusValue() [2/2]

ctre::phoenix6::signals::ExternalMotorTempStatusValue::ExternalMotorTempStatusValue ( )
inlineconstexpr

Member Function Documentation

◆ operator!=() [1/2]

bool ctre::phoenix6::signals::ExternalMotorTempStatusValue::operator!= ( ExternalMotorTempStatusValue data) const
inlineconstexpr

◆ operator!=() [2/2]

bool ctre::phoenix6::signals::ExternalMotorTempStatusValue::operator!= ( int data) const
inlineconstexpr

◆ operator<() [1/2]

bool ctre::phoenix6::signals::ExternalMotorTempStatusValue::operator< ( ExternalMotorTempStatusValue data) const
inlineconstexpr

◆ operator<() [2/2]

bool ctre::phoenix6::signals::ExternalMotorTempStatusValue::operator< ( int data) const
inlineconstexpr

◆ operator==() [1/2]

bool ctre::phoenix6::signals::ExternalMotorTempStatusValue::operator== ( ExternalMotorTempStatusValue data) const
inlineconstexpr

◆ operator==() [2/2]

bool ctre::phoenix6::signals::ExternalMotorTempStatusValue::operator== ( int data) const
inlineconstexpr

◆ Serialize()

std::string ctre::phoenix6::signals::ExternalMotorTempStatusValue::Serialize ( ) const
inlinevirtual

◆ ToString()

std::string ctre::phoenix6::signals::ExternalMotorTempStatusValue::ToString ( ) const
inline

Gets the string representation of this enum.

Returns
String representation of this enum

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream & os,
ExternalMotorTempStatusValue data )
friend

Member Data Documentation

◆ Collecting

int ctre::phoenix6::signals::ExternalMotorTempStatusValue::Collecting = 0
staticconstexpr

Talon is collecting information on the sensor.

◆ Disconnected

int ctre::phoenix6::signals::ExternalMotorTempStatusValue::Disconnected = 1
staticconstexpr

Temperature sensor appears to be disconnected.

◆ Normal

int ctre::phoenix6::signals::ExternalMotorTempStatusValue::Normal = 3
staticconstexpr

Temperature sensor is normal.

◆ NotUsed

int ctre::phoenix6::signals::ExternalMotorTempStatusValue::NotUsed = 4
staticconstexpr

Temperature sensor is present but is not used.

Most likely the motor arrangement is brushed or disabled.

◆ TooHot

int ctre::phoenix6::signals::ExternalMotorTempStatusValue::TooHot = 2
staticconstexpr

Temperature sensor is too hot to allow motor operation.

◆ value

int ctre::phoenix6::signals::ExternalMotorTempStatusValue::value

◆ WrongMotorOrShorted

int ctre::phoenix6::signals::ExternalMotorTempStatusValue::WrongMotorOrShorted = 5
staticconstexpr

Temperature sensor appears to be for the wrong motor arrangement, or signals are shorted.


The documentation for this class was generated from the following file: