#include <Pigeon2_Faults.h>
Sticky faults available to Pigeon
◆ Pigeon2_Faults()
ctre::phoenix::sensors::Pigeon2_Faults::Pigeon2_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::Pigeon2_Faults::HasAnyFault |
( |
| ) |
const |
|
inline |
- Returns
- true if any faults are tripped
◆ ToBitfield()
uint64_t ctre::phoenix::sensors::Pigeon2_Faults::ToBitfield |
( |
| ) |
const |
|
inline |
- Returns
- Current fault list as a bit field
◆ Update()
void ctre::phoenix::sensors::Pigeon2_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 |
◆ AccelFault
bool ctre::phoenix::sensors::Pigeon2_Faults::AccelFault |
The Accelerometer failed its self-test. This is likely due to hardware damage, oftentimes from exposing the Pigeon to a very large impact.
◆ APIError
bool ctre::phoenix::sensors::Pigeon2_Faults::APIError |
API error detected. Make sure API and firmware versions are compatible.
◆ BootIntoMotion
bool ctre::phoenix::sensors::Pigeon2_Faults::BootIntoMotion |
The Pigeon saw motion as soon as it booted, and didn't attempt to self-test its features. This isn't an issue, but to prevent this don't turn the robot on while moving it.
◆ DataAcquiredLate
bool ctre::phoenix::sensors::Pigeon2_Faults::DataAcquiredLate |
The Pigeon missed an opportunity to acquire data. This is typical when calibrating.
◆ GyroFault
bool ctre::phoenix::sensors::Pigeon2_Faults::GyroFault |
The gyro failed its self-test. This is likely due to hardware damage.
◆ HardwareFault
bool ctre::phoenix::sensors::Pigeon2_Faults::HardwareFault |
Device detects hardware failure
◆ MagnetometerFault
bool ctre::phoenix::sensors::Pigeon2_Faults::MagnetometerFault |
The magnetometer failed its self-test. This is likely due to hardware damage, oftentimes from exposing the Pigeon to a very large magnetic field.
◆ MotionDriverTookTooLong
bool ctre::phoenix::sensors::Pigeon2_Faults::MotionDriverTookTooLong |
The Motion Driver Software took too long to complete. This is typical when calibrating.
◆ ResetDuringEn
bool ctre::phoenix::sensors::Pigeon2_Faults::ResetDuringEn |
Device was powered-on or reset while robot is enabled. Check your breakers and wiring.
◆ SaturatedAccel
bool ctre::phoenix::sensors::Pigeon2_Faults::SaturatedAccel |
The device saw an acceleration that exceeded its maximum. Increase the range or avoid high-g events.
◆ SaturatedMag
bool ctre::phoenix::sensors::Pigeon2_Faults::SaturatedMag |
The device saw a magnetic field that exceeded its maximum. Keep the device far from strong magnetic fields.
◆ SaturatedRotVelocity
bool ctre::phoenix::sensors::Pigeon2_Faults::SaturatedRotVelocity |
The device rotated at a rate that exceeded its maximum. Increase the range or slow the rate of rotation.
◆ UnderVoltage
bool ctre::phoenix::sensors::Pigeon2_Faults::UnderVoltage |
The documentation for this struct was generated from the following file: