#include <PigeonIMU_Faults.h>
Sticky faults available to Pigeon
◆ PigeonIMU_Faults()
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 |
◆ 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: