Formula Student Electronics & Software
The code for the embedded software
Loading...
Searching...
No Matches
FailureDetection Struct Reference

#include <systemDiagnostics.hpp>

Collaboration diagram for FailureDetection:
Collaboration graph

Public Member Functions

bool hasAnyComponentTimedOut ()
 

Public Attributes

Metro pcAliveTimestamp {COMPONENT_TIMESTAMP_TIMEOUT}
 
Metro steerAliveTimestamp {COMPONENT_TIMESTAMP_TIMEOUT}
 
Metro inversorAliveTimestamp {COMPONENT_TIMESTAMP_TIMEOUT}
 
Metro resSignalLossTimestamp {RES_TIMESTAMP_TIMEOUT}
 
bool emergencySignal {false}
 
bool ts_on {false}
 
double radio_quality {0}
 

Detailed Description

Definition at line 65 of file systemDiagnostics.hpp.

Member Function Documentation

◆ hasAnyComponentTimedOut()

bool FailureDetection::hasAnyComponentTimedOut ( )
inline

Definition at line 74 of file systemDiagnostics.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ emergencySignal

bool FailureDetection::emergencySignal {false}

Definition at line 70 of file systemDiagnostics.hpp.

◆ inversorAliveTimestamp

Metro FailureDetection::inversorAliveTimestamp {COMPONENT_TIMESTAMP_TIMEOUT}

Definition at line 68 of file systemDiagnostics.hpp.

◆ pcAliveTimestamp

Metro FailureDetection::pcAliveTimestamp {COMPONENT_TIMESTAMP_TIMEOUT}

Definition at line 66 of file systemDiagnostics.hpp.

◆ radio_quality

double FailureDetection::radio_quality {0}

Definition at line 72 of file systemDiagnostics.hpp.

◆ resSignalLossTimestamp

Metro FailureDetection::resSignalLossTimestamp {RES_TIMESTAMP_TIMEOUT}

Definition at line 69 of file systemDiagnostics.hpp.

◆ steerAliveTimestamp

Metro FailureDetection::steerAliveTimestamp {COMPONENT_TIMESTAMP_TIMEOUT}

Definition at line 67 of file systemDiagnostics.hpp.

◆ ts_on

bool FailureDetection::ts_on {false}

Definition at line 71 of file systemDiagnostics.hpp.


The documentation for this struct was generated from the following file: