Formula Student Electronics & Software
The code for the embedded software
|
#include <systemDiagnostics.hpp>
Public Member Functions | |
void | enterReadyState () |
resets timestamps for ready | |
void | enterDrivingState () |
resets timestamps for driving | |
bool | processGoSignal () |
Processes the go signal. | |
Public Attributes | |
Metro | readyTimestamp {READY_TIMEOUT_MS} |
Metro | releaseEbsTimestamp {RELEASE_EBS_TIMEOUT_MS} |
Metro | engageEbsTimestamp {ENGAGE_EBS_TIMEOUT_MS} |
bool | r2d {false} |
Definition at line 14 of file systemDiagnostics.hpp.
|
inline |
resets timestamps for driving
Definition at line 39 of file systemDiagnostics.hpp.
|
inline |
resets timestamps for ready
Definition at line 29 of file systemDiagnostics.hpp.
|
inline |
Processes the go signal.
This function is responsible for processing the go signal. It performs the necessary actions based on the received signal.
Definition at line 53 of file systemDiagnostics.hpp.
Metro R2DLogics::engageEbsTimestamp {ENGAGE_EBS_TIMEOUT_MS} |
Timestamp from when EBS is activate on entering ready state, used to tolerate a small delay in which pneumatic line pressure is low
Definition at line 23 of file systemDiagnostics.hpp.
bool R2DLogics::r2d {false} |
Definition at line 24 of file systemDiagnostics.hpp.
Metro R2DLogics::readyTimestamp {READY_TIMEOUT_MS} |
Definition at line 15 of file systemDiagnostics.hpp.
Metro R2DLogics::releaseEbsTimestamp {RELEASE_EBS_TIMEOUT_MS} |
Timestamp from when EBS is released on r2d, used to tolerate a small delay before entering driving state
Definition at line 19 of file systemDiagnostics.hpp.