Sticky faults available to Pigeon.
More...
#include <ctre/phoenix/sensors/PigeonIMU_Faults.h>
Sticky faults available to Pigeon.
◆ PigeonIMU_Faults() [1/2]
ctre::phoenix::sensors::PigeonIMU_Faults::PigeonIMU_Faults |
( |
uint64_t |
bits | ) |
|
|
inline |
Creates fault list with specified bit field of faults.
- Parameters
-
bits | bit field of faults to update with |
◆ PigeonIMU_Faults() [2/2]
ctre::phoenix::sensors::PigeonIMU_Faults::PigeonIMU_Faults |
( |
| ) |
|
|
inline |
◆ HasAnyFault()
bool ctre::phoenix::sensors::PigeonIMU_Faults::HasAnyFault |
( |
| ) |
const |
|
inline |
- Returns
- true if any faults are tripped
◆ ToBitfield()
uint64_t ctre::phoenix::sensors::PigeonIMU_Faults::ToBitfield |
( |
| ) |
const |
|
inline |
- Returns
- Current fault list as a bit field
◆ Update()
void ctre::phoenix::sensors::PigeonIMU_Faults::Update |
( |
uint64_t |
bits | ) |
|
|
inline |
Updates current fault list with specified bit field of faults.
- Parameters
-
bits | bit field of faults to update with |
The documentation for this struct was generated from the following file: