CTRE_Phoenix 5.20.2
PigeonIMU_StickyFaults.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 }
38 PigeonIMU_StickyFaults(uint64_t bits) {
39 Update(bits);
40 }
42 Update(0); // Default everything to false
43 }
44};
45
46} // sensors
47} // phoenix
48} // ctre
Definition: ErrorCode.h:5
Definition: PigeonIMU_StickyFaults.h:12
void Update(uint64_t bits)
Definition: PigeonIMU_StickyFaults.h:31
bool HasAnyFault() const
Definition: PigeonIMU_StickyFaults.h:17
PigeonIMU_StickyFaults(uint64_t bits)
Definition: PigeonIMU_StickyFaults.h:38
uint64_t ToBitfield() const
Definition: PigeonIMU_StickyFaults.h:23