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