blob: e6d9d85e41b69162530ea090b1650ca5eed47b64 [file] [log] [blame]
James Kuszmaul9f2f53c2023-02-19 14:08:18 -08001namespace frc971.controls;
2
3// Counters to track how many times different errors have occurred.
4table ImuFailures {
5 // Count of total number of checksum mismatches between the IMU and the
6 // pico itself.
7 imu_to_pico_checksum_mismatch:uint (id: 0);
8 // Count of total number of checksum mismatches between the pico board
9 // and the raspberry pi.
10 pico_to_pi_checksum_mismatch:uint (id: 1);
11 // Total number of dropped/missed messages.
12 missed_messages:uint (id: 2);
13 // Total number of messages dropped for any other conditions that can fault
14 // the zeroer (e.g., diagnostic failures in the IMU).
15 other_zeroing_faults:uint (id: 3);
16}