Motorcortex Core
version: 2.7.6
|
6 #ifndef MOTORCORTEX_CORE_DRIVE_DIAGNOSTICS_H
7 #define MOTORCORTEX_CORE_DRIVE_DIAGNOSTICS_H
20 explicit Diagnostics(
unsigned int number_of_axis = 1,
unsigned int number_of_diagnostic_codes = 3);
40 struct DiagnosticCodeList {
45 struct DiagnosticCodeTable {
47 unsigned int* number_of_codes;
48 DiagnosticCodeList* code_list;
51 DiagnosticCodeTable diag_code_table_{};
66 #endif //MOTORCORTEX_CORE_DRIVE_DIAGNOSTICS_H
bool stopOp_() override
User-defined callback before to stop Operation mode.
Definition: drive_diagnostics.cpp:77
bool startOp_() override
User-defined callback before entering Operation mode.
Definition: drive_diagnostics.cpp:73
bool initPhase1_() override
User-defined callback to register parameters in the tree.
Definition: drive_diagnostics.cpp:38
Definition: ps_parameter.h:45
Internal time source.
Definition: ct_time.h:25
void create_(const char *name, parameter_server::Parameter *parameter_server, uint64_t dt_micro_s) override
User-defined callback, which is executed during 'Create' phase.
Definition: drive_diagnostics.cpp:35
Definition: drive_diagnostics.h:15
bool iterateOp_(const container::TaskTime &system_time, container::UserTime *user_time) override
User-defined callback which is called during Operation mode.
Definition: drive_diagnostics.cpp:81
External time source.
Definition: ct_time.h:40
A building block of the Motorcortex components.
Definition: ct_module.h:64
bool initPhase2_() override
User-defined callback after the parameter tree is ready.
Definition: drive_diagnostics.cpp:69
Definition: ps_handlers.h:43