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
"
4
#include "
embedded/digitalSettings.hpp
"
5
6
7
struct
DigitalData
{
8
// Rear Left Wheel Speed Encoder
9
// double _left_wheel_rpm = 0;
10
11
// Watchdog
12
Metro
watchdogTimestamp
{
WATCHDOG_TIMEOUT
};
13
bool
watchdog_state
=
true
;
// starts true until false
14
15
// Other reads
16
bool
pneumatic_line_pressure
=
true
;
17
bool
asms_on
=
false
;
18
bool
sdcState_OPEN
{
true
};
/*< Detects AATS >*/
19
};
20
Metro
Our own implementation of Metro class.
Definition
metro.h:13
digitalSettings.hpp
WATCHDOG_TIMEOUT
#define WATCHDOG_TIMEOUT
Definition
digitalSettings.hpp:9
metro.h
DigitalData
Definition
digitalData.hpp:7
DigitalData::pneumatic_line_pressure
bool pneumatic_line_pressure
Definition
digitalData.hpp:16
DigitalData::watchdogTimestamp
Metro watchdogTimestamp
Definition
digitalData.hpp:12
DigitalData::sdcState_OPEN
bool sdcState_OPEN
Definition
digitalData.hpp:18
DigitalData::asms_on
bool asms_on
Definition
digitalData.hpp:17
DigitalData::watchdog_state
bool watchdog_state
Definition
digitalData.hpp:13
master
include
model
digitalData.hpp
Generated by
1.9.8