Formula Student Electronics & Software
The code for the embedded software
Loading...
Searching...
No Matches
digitalData.hpp
Go to the documentation of this file.
1#pragma once
2
3#include "metro.h"
5
6
7struct DigitalData {
8 // Rear Left Wheel Speed Encoder
9 // double _left_wheel_rpm = 0;
10
11 // Watchdog
13 bool watchdog_state = true; // starts true until false
14
15 // Other reads
17 bool asms_on = false;
18 bool sdcState_OPEN{true}; /*< Detects AATS >*/
19};
20
Our own implementation of Metro class.
Definition metro.h:13
#define WATCHDOG_TIMEOUT
bool pneumatic_line_pressure
Metro watchdogTimestamp
bool watchdog_state