CTRE Phoenix 6 C++ 24.3.0
|
The applied rotor polarity. More...
#include <ctre/phoenix6/signals/SpnEnums.hpp>
Public Member Functions | |
AppliedRotorPolarityValue (int value) | |
AppliedRotorPolarityValue () | |
std::string | ToString () const |
Gets the string representation of this enum. More... | |
std::string | Serialize () const |
bool | operator== (const AppliedRotorPolarityValue &data) const |
bool | operator== (int data) const |
bool | operator< (const AppliedRotorPolarityValue &data) const |
bool | operator< (int data) const |
virtual std::string | Serialize () const =0 |
Public Attributes | |
int | value |
Static Public Attributes | |
static constexpr int | PositiveIsCounterClockwise = 0 |
static constexpr int | PositiveIsClockwise = 1 |
Friends | |
std::ostream & | operator<< (std::ostream &os, const AppliedRotorPolarityValue &data) |
The applied rotor polarity.
This typically is determined by the Inverted config, but can be overridden if using Follower features.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Implements ctre::phoenix6::ISerializable.
|
inline |
Gets the string representation of this enum.
|
friend |
|
staticconstexpr |
|
staticconstexpr |
int ctre::phoenix6::signals::AppliedRotorPolarityValue::value |