Formula Student Electronics & Software
The code for the embedded software
|
#include <systemDiagnostics.hpp>
Public Member Functions | |
bool | has_any_component_timed_out () |
Public Attributes | |
Metro | pc_alive_timestamp_ {COMPONENT_TIMESTAMP_TIMEOUT} |
Metro | steer_alive_timestamp_ {COMPONENT_TIMESTAMP_TIMEOUT} |
Metro | inversor_alive_timestamp_ {COMPONENT_TIMESTAMP_TIMEOUT} |
Metro | res_signal_loss_timestamp_ {RES_TIMESTAMP_TIMEOUT} |
Metro | dc_voltage_drop_timestamp_ {DC_VOLTAGE_TIMEOUT} |
Metro | dc_voltage_hold_timestamp_ |
bool | steer_dead_ {true} |
bool | pc_dead_ {true} |
bool | inversor_dead_ {true} |
bool | res_dead_ {true} |
bool | emergency_signal_ {false} |
bool | ts_on_ {false} |
double | radio_quality_ {0} |
unsigned | dc_voltage_ {0} |
Definition at line 57 of file systemDiagnostics.hpp.
|
inline |
Definition at line 75 of file systemDiagnostics.hpp.
unsigned FailureDetection::dc_voltage_ {0} |
Definition at line 73 of file systemDiagnostics.hpp.
Metro FailureDetection::dc_voltage_drop_timestamp_ {DC_VOLTAGE_TIMEOUT} |
Definition at line 62 of file systemDiagnostics.hpp.
Metro FailureDetection::dc_voltage_hold_timestamp_ |
Definition at line 64 of file systemDiagnostics.hpp.
bool FailureDetection::emergency_signal_ {false} |
Definition at line 70 of file systemDiagnostics.hpp.
Metro FailureDetection::inversor_alive_timestamp_ {COMPONENT_TIMESTAMP_TIMEOUT} |
Definition at line 60 of file systemDiagnostics.hpp.
bool FailureDetection::inversor_dead_ {true} |
Definition at line 68 of file systemDiagnostics.hpp.
Metro FailureDetection::pc_alive_timestamp_ {COMPONENT_TIMESTAMP_TIMEOUT} |
Definition at line 58 of file systemDiagnostics.hpp.
bool FailureDetection::pc_dead_ {true} |
Definition at line 67 of file systemDiagnostics.hpp.
double FailureDetection::radio_quality_ {0} |
Definition at line 72 of file systemDiagnostics.hpp.
bool FailureDetection::res_dead_ {true} |
Definition at line 69 of file systemDiagnostics.hpp.
Metro FailureDetection::res_signal_loss_timestamp_ {RES_TIMESTAMP_TIMEOUT} |
Definition at line 61 of file systemDiagnostics.hpp.
Metro FailureDetection::steer_alive_timestamp_ {COMPONENT_TIMESTAMP_TIMEOUT} |
Definition at line 59 of file systemDiagnostics.hpp.
bool FailureDetection::steer_dead_ {true} |
Definition at line 66 of file systemDiagnostics.hpp.
bool FailureDetection::ts_on_ {false} |
Definition at line 71 of file systemDiagnostics.hpp.