Formula Student Electronics & Software
The code for the embedded software
|
#include <systemDiagnostics.hpp>
Public Member Functions | |
FailureDetection (NonUnitaryFailureDetection ×tamps) | |
bool | has_any_component_timed_out () |
Public Attributes | |
bool | steer_dead_ {false} |
bool | pc_dead_ {false} |
bool | inversor_dead_ {false} |
bool | res_dead_ {false} |
bool | bms_dead_ {false} |
volatile bool | emergency_signal_ {false} |
volatile bool | ts_on_ {false} |
volatile double | radio_quality_ {0} |
volatile unsigned | dc_voltage_ {0} |
NonUnitaryFailureDetection & | timestamps_ |
Definition at line 80 of file systemDiagnostics.hpp.
|
inline |
Definition at line 96 of file systemDiagnostics.hpp.
|
inline |
Definition at line 98 of file systemDiagnostics.hpp.
bool FailureDetection::bms_dead_ {false} |
Definition at line 85 of file systemDiagnostics.hpp.
volatile unsigned FailureDetection::dc_voltage_ {0} |
Definition at line 90 of file systemDiagnostics.hpp.
volatile bool FailureDetection::emergency_signal_ {false} |
Definition at line 87 of file systemDiagnostics.hpp.
bool FailureDetection::inversor_dead_ {false} |
Definition at line 83 of file systemDiagnostics.hpp.
bool FailureDetection::pc_dead_ {false} |
Definition at line 82 of file systemDiagnostics.hpp.
volatile double FailureDetection::radio_quality_ {0} |
Definition at line 89 of file systemDiagnostics.hpp.
bool FailureDetection::res_dead_ {false} |
Definition at line 84 of file systemDiagnostics.hpp.
bool FailureDetection::steer_dead_ {false} |
Definition at line 81 of file systemDiagnostics.hpp.
NonUnitaryFailureDetection& FailureDetection::timestamps_ |
Definition at line 93 of file systemDiagnostics.hpp.
volatile bool FailureDetection::ts_on_ {false} |
Definition at line 88 of file systemDiagnostics.hpp.