Direction of the sensor to determine positive rotation, as seen facing the LED side of the CANcoder.
More...
#include <ctre/phoenix6/signals/SpnEnums.hpp>
Direction of the sensor to determine positive rotation, as seen facing the LED side of the CANcoder.
◆ SensorDirectionValue() [1/2]
constexpr ctre::phoenix6::signals::SensorDirectionValue::SensorDirectionValue |
( |
int | value | ) |
|
|
inlineconstexpr |
◆ SensorDirectionValue() [2/2]
constexpr ctre::phoenix6::signals::SensorDirectionValue::SensorDirectionValue |
( |
| ) |
|
|
inlineconstexpr |
◆ operator!=() [1/2]
constexpr bool ctre::phoenix6::signals::SensorDirectionValue::operator!= |
( |
int | data | ) |
const |
|
inlineconstexpr |
◆ operator!=() [2/2]
constexpr bool ctre::phoenix6::signals::SensorDirectionValue::operator!= |
( |
SensorDirectionValue | data | ) |
const |
|
inlineconstexpr |
◆ operator<() [1/2]
constexpr bool ctre::phoenix6::signals::SensorDirectionValue::operator< |
( |
int | data | ) |
const |
|
inlineconstexpr |
◆ operator<() [2/2]
constexpr bool ctre::phoenix6::signals::SensorDirectionValue::operator< |
( |
SensorDirectionValue | data | ) |
const |
|
inlineconstexpr |
◆ operator==() [1/2]
constexpr bool ctre::phoenix6::signals::SensorDirectionValue::operator== |
( |
int | data | ) |
const |
|
inlineconstexpr |
◆ operator==() [2/2]
constexpr bool ctre::phoenix6::signals::SensorDirectionValue::operator== |
( |
SensorDirectionValue | data | ) |
const |
|
inlineconstexpr |
◆ Serialize()
std::string ctre::phoenix6::signals::SensorDirectionValue::Serialize |
( |
| ) |
const |
|
inlinevirtual |
◆ ToString()
std::string ctre::phoenix6::signals::SensorDirectionValue::ToString |
( |
| ) |
const |
|
inline |
Gets the string representation of this enum.
- Returns
- String representation of this enum
◆ operator<<
◆ Clockwise_Positive
constexpr int ctre::phoenix6::signals::SensorDirectionValue::Clockwise_Positive = 1 |
|
staticconstexpr |
Clockwise motion reports positive rotation.
◆ CounterClockwise_Positive
constexpr int ctre::phoenix6::signals::SensorDirectionValue::CounterClockwise_Positive = 0 |
|
staticconstexpr |
Counter-clockwise motion reports positive rotation.
◆ value
int ctre::phoenix6::signals::SensorDirectionValue::value |
The documentation for this class was generated from the following file: