Formula Student Electronics & Software
The code for the embedded software
|
#include <systemDiagnostics.hpp>
Public Member Functions | |
void | enter_ready_state () |
resets timestamps for ready | |
void | reset_ebs_timestamp () |
resets timestamps for driving | |
void | process_go_signal () |
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 10 of file systemDiagnostics.hpp.
|
inline |
resets timestamps for ready
Definition at line 25 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 44 of file systemDiagnostics.hpp.
|
inline |
resets timestamps for driving
Definition at line 34 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 19 of file systemDiagnostics.hpp.
bool R2DLogics::r2d {false} |
Definition at line 20 of file systemDiagnostics.hpp.
Metro R2DLogics::readyTimestamp {READY_TIMEOUT_MS} |
Definition at line 11 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 15 of file systemDiagnostics.hpp.