CTRE Phoenix 6 C++ 24.3.0
|
Check if Motion Magic® is running. More...
#include <ctre/phoenix6/signals/SpnEnums.hpp>
Public Member Functions | |
MotionMagicIsRunningValue (int value) | |
MotionMagicIsRunningValue () | |
std::string | ToString () const |
Gets the string representation of this enum. More... | |
std::string | Serialize () const |
bool | operator== (const MotionMagicIsRunningValue &data) const |
bool | operator== (int data) const |
bool | operator< (const MotionMagicIsRunningValue &data) const |
bool | operator< (int data) const |
virtual std::string | Serialize () const =0 |
Public Attributes | |
int | value |
Static Public Attributes | |
static constexpr int | Enabled = 1 |
static constexpr int | Disabled = 0 |
Friends | |
std::ostream & | operator<< (std::ostream &os, const MotionMagicIsRunningValue &data) |
Check if Motion Magic® is running.
This is equivalent to checking that the reported control mode is a Motion Magic® based mode.
|
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::MotionMagicIsRunningValue::value |