|
CTRE Phoenix 6 C++ 26.0.0-beta-1
|
Update mode of the CANrange. More...
#include <ctre/phoenix6/signals/SpnEnums.hpp>
Public Member Functions | |
| constexpr | UpdateModeValue (int value) |
| constexpr | UpdateModeValue () |
| constexpr bool | operator== (UpdateModeValue other) const |
| constexpr auto | operator<=> (UpdateModeValue other) const |
| constexpr std::string_view | ToString () const |
| Gets the string representation of this enum. | |
| std::string | Serialize () const override |
Public Member Functions inherited from ctre::phoenix6::ISerializable | |
Public Attributes | |
| int | value |
Static Public Attributes | |
| static constexpr int | ShortRange100Hz = 0 |
| Updates distance/proximity at 100hz using short-range detection mode. | |
| static constexpr int | ShortRangeUserFreq = 1 |
| Uses short-range detection mode for improved detection under high ambient infrared light conditions. | |
| static constexpr int | LongRangeUserFreq = 2 |
| Uses long-range detection mode and user-specified update frequency. | |
Friends | |
| CTREXPORT friend std::ostream & | operator<< (std::ostream &os, UpdateModeValue data) |
Update mode of the CANrange.
The CANrange supports short-range and long-range detection at various update frequencies.
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineoverridevirtual |
Implements ctre::phoenix6::ISerializable.
|
inlineconstexpr |
Gets the string representation of this enum.
|
friend |
|
staticconstexpr |
Uses long-range detection mode and user-specified update frequency.
|
staticconstexpr |
Updates distance/proximity at 100hz using short-range detection mode.
|
staticconstexpr |
Uses short-range detection mode for improved detection under high ambient infrared light conditions.
Uses user-specified update frequency.
| int ctre::phoenix6::signals::UpdateModeValue::value |