CTRE_Phoenix 5.20.2
PigeonIMU_Faults.h
1#pragma once
2
3#include <cstdint>
4
5namespace ctre {
6namespace phoenix {
7namespace sensors {
8
13
17 bool HasAnyFault() const {
18 return false;
19 }
23 uint64_t ToBitfield() const {
24 return 0;
25 }
31 void Update(uint64_t bits) {
32 (void)bits;
33 }
39 PigeonIMU_Faults(uint64_t bits) {
40 Update(bits);
41 }
43 Update(0); // Default everything to false
44 }
45};
46
47} // sensors
48} // phoenix
49} // ctre
Definition: ErrorCode.h:5
Definition: PigeonIMU_Faults.h:12
uint64_t ToBitfield() const
Definition: PigeonIMU_Faults.h:23
bool HasAnyFault() const
Definition: PigeonIMU_Faults.h:17
void Update(uint64_t bits)
Definition: PigeonIMU_Faults.h:31
PigeonIMU_Faults(uint64_t bits)
Definition: PigeonIMU_Faults.h:39