Health of the distance measurement.
More...
#include <ctre/phoenix6/signals/SpnEnums.hpp>
|
static constexpr int | Good = 0 |
| Measurement is good.
|
|
static constexpr int | Limited = 1 |
| Measurement is likely okay, but the target is either very far away or moving very quickly.
|
|
static constexpr int | Bad = 2 |
| Measurement is compromised.
|
|
Health of the distance measurement.
◆ MeasurementHealthValue() [1/2]
ctre::phoenix6::signals::MeasurementHealthValue::MeasurementHealthValue |
( |
int | value | ) |
|
|
inlineconstexpr |
◆ MeasurementHealthValue() [2/2]
ctre::phoenix6::signals::MeasurementHealthValue::MeasurementHealthValue |
( |
| ) |
|
|
inlineconstexpr |
◆ operator!=() [1/2]
bool ctre::phoenix6::signals::MeasurementHealthValue::operator!= |
( |
int | data | ) |
const |
|
inlineconstexpr |
◆ operator!=() [2/2]
◆ operator<() [1/2]
bool ctre::phoenix6::signals::MeasurementHealthValue::operator< |
( |
int | data | ) |
const |
|
inlineconstexpr |
◆ operator<() [2/2]
◆ operator==() [1/2]
bool ctre::phoenix6::signals::MeasurementHealthValue::operator== |
( |
int | data | ) |
const |
|
inlineconstexpr |
◆ operator==() [2/2]
◆ Serialize()
std::string ctre::phoenix6::signals::MeasurementHealthValue::Serialize |
( |
| ) |
const |
|
inlinevirtual |
◆ ToString()
std::string ctre::phoenix6::signals::MeasurementHealthValue::ToString |
( |
| ) |
const |
|
inline |
Gets the string representation of this enum.
- Returns
- String representation of this enum
◆ operator<<
◆ Bad
int ctre::phoenix6::signals::MeasurementHealthValue::Bad = 2 |
|
staticconstexpr |
Measurement is compromised.
◆ Good
int ctre::phoenix6::signals::MeasurementHealthValue::Good = 0 |
|
staticconstexpr |
◆ Limited
int ctre::phoenix6::signals::MeasurementHealthValue::Limited = 1 |
|
staticconstexpr |
Measurement is likely okay, but the target is either very far away or moving very quickly.
◆ value
int ctre::phoenix6::signals::MeasurementHealthValue::value |
The documentation for this class was generated from the following file: