Update mode of the CANrange.
More...
#include <ctre/phoenix6/signals/SpnEnums.hpp>
|
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.
|
|
Update mode of the CANrange.
The CANrange supports short-range and long-range detection at various update frequencies.
◆ UpdateModeValue() [1/2]
constexpr ctre::phoenix6::signals::UpdateModeValue::UpdateModeValue |
( |
int | value | ) |
|
|
inlineconstexpr |
◆ UpdateModeValue() [2/2]
constexpr ctre::phoenix6::signals::UpdateModeValue::UpdateModeValue |
( |
| ) |
|
|
inlineconstexpr |
◆ operator!=() [1/2]
constexpr bool ctre::phoenix6::signals::UpdateModeValue::operator!= |
( |
int | data | ) |
const |
|
inlineconstexpr |
◆ operator!=() [2/2]
constexpr bool ctre::phoenix6::signals::UpdateModeValue::operator!= |
( |
UpdateModeValue | data | ) |
const |
|
inlineconstexpr |
◆ operator<() [1/2]
constexpr bool ctre::phoenix6::signals::UpdateModeValue::operator< |
( |
int | data | ) |
const |
|
inlineconstexpr |
◆ operator<() [2/2]
constexpr bool ctre::phoenix6::signals::UpdateModeValue::operator< |
( |
UpdateModeValue | data | ) |
const |
|
inlineconstexpr |
◆ operator==() [1/2]
constexpr bool ctre::phoenix6::signals::UpdateModeValue::operator== |
( |
int | data | ) |
const |
|
inlineconstexpr |
◆ operator==() [2/2]
constexpr bool ctre::phoenix6::signals::UpdateModeValue::operator== |
( |
UpdateModeValue | data | ) |
const |
|
inlineconstexpr |
◆ Serialize()
std::string ctre::phoenix6::signals::UpdateModeValue::Serialize |
( |
| ) |
const |
|
inlinevirtual |
◆ ToString()
std::string ctre::phoenix6::signals::UpdateModeValue::ToString |
( |
| ) |
const |
|
inline |
Gets the string representation of this enum.
- Returns
- String representation of this enum
◆ operator<<
◆ LongRangeUserFreq
constexpr int ctre::phoenix6::signals::UpdateModeValue::LongRangeUserFreq = 2 |
|
staticconstexpr |
Uses long-range detection mode and user-specified update frequency.
◆ ShortRange100Hz
constexpr int ctre::phoenix6::signals::UpdateModeValue::ShortRange100Hz = 0 |
|
staticconstexpr |
Updates distance/proximity at 100hz using short-range detection mode.
◆ ShortRangeUserFreq
constexpr int ctre::phoenix6::signals::UpdateModeValue::ShortRangeUserFreq = 1 |
|
staticconstexpr |
Uses short-range detection mode for improved detection under high ambient infrared light conditions.
Uses user-specified update frequency.
◆ value
int ctre::phoenix6::signals::UpdateModeValue::value |
The documentation for this class was generated from the following file: