CTRE Phoenix 6 C++ 25.3.1
|
Requires Phoenix Pro; Improves commutation and velocity measurement for motors with hall sensors. More...
#include <ctre/phoenix6/signals/SpnEnums.hpp>
Public Member Functions | |
constexpr | AdvancedHallSupportValue (int value) |
constexpr | AdvancedHallSupportValue () |
constexpr bool | operator== (AdvancedHallSupportValue data) const |
constexpr bool | operator== (int data) const |
constexpr bool | operator!= (AdvancedHallSupportValue data) const |
constexpr bool | operator!= (int data) const |
constexpr bool | operator< (AdvancedHallSupportValue 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 | Disabled = 0 |
Talon will utilize hall sensors without advanced features. | |
static constexpr int | Enabled = 1 |
Requires Phoenix Pro; Talon uses advanced features to improve commutation and velocity measurement when using hall sensors. | |
Friends | |
std::ostream & | operator<< (std::ostream &os, AdvancedHallSupportValue data) |
Requires Phoenix Pro; Improves commutation and velocity measurement for motors with hall sensors.
Talon can use advanced features to improve commutation and velocity measurement when using a motor with hall sensors. This can improve peak efficiency by as high as 2% and reduce noise in the measured velocity.
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlinevirtual |
Implements ctre::phoenix6::ISerializable.
|
inline |
Gets the string representation of this enum.
|
friend |
|
staticconstexpr |
Talon will utilize hall sensors without advanced features.
|
staticconstexpr |
Requires Phoenix Pro; Talon uses advanced features to improve commutation and velocity measurement when using hall sensors.
This can improve peak efficiency by as high as 2% and reduce noise in the measured velocity.
int ctre::phoenix6::signals::AdvancedHallSupportValue::value |