|
| ErrorHandle (StateMachine< SUPER_STATE > *state_machine) |
|
| ErrorHandle (ErrorHandle &orig)=delete |
|
ErrorHandle & | operator= (ErrorHandle &orig)=delete |
|
void | setStateMachine (StateMachine< SUPER_STATE > *state_machine) |
|
void | addParameters (const std::string ¶m_name, parameter_server::Parameter *parent) |
|
void | setName (const std::string &name) |
|
const std::string & | getName () const |
|
void | create (const std::string &name, const char *error_name_prefix, parameter_server::Parameter *parent) |
|
const std::map< Error, MotorcortexError > & | getActiveErrors () const |
|
MotorcortexError | getActiveError () const |
|
bool | empty () override |
|
bool | hasError (const Error &error) override |
|
bool | hasErrorLevel (MotorcortexErrorLevel error_level) override |
|
bool | acknowledgeAll () |
|
bool | acknowledgeWarnings () |
|
bool | acknowledge (bool warnings_only=false) override |
|
bool | warning (const Error &error) override |
|
bool | forcedDisengaged (const Error &error) override |
|
bool | shutdown (const Error &error) override |
|
bool | emergencyStop (const Error &error) override |
|
void | iterate (double dt_sec) |
|
const ErrorPublisher & | getErrorPublisher () const |
|
signal_monitor::SignalMonitorBase * | getSignalMonitor () override |
|
void | enableErrors (const ErrorGroup &error_group) |
|
template<class STATE , typename... STATES> |
void | enableErrors (const ErrorGroup &error_group) |
|
void | disableErrors (const ErrorGroup &error_group) |
|
template<class STATE , typename... STATES> |
void | disableErrors (const ErrorGroup &error_group) |
|
void | resetErrors (const ErrorGroup &error_group) |
|
template<class STATE , typename... STATES> |
void | resetErrors (const ErrorGroup &error_group) |
|
void | addEmergencyStop (const Error &error_id, bool *input_ptr, bool objective_val, TriggerType trigger_type=TriggerType::TRIGGER_ALWAYS, double start_time_s=0, double stop_time_s=std::numeric_limits< double >::max()) |
|
void | addEmergencyStop (const Error &error_id, const bool &&input_val, bool objective_val, TriggerType trigger_type=TriggerType::TRIGGER_ALWAYS, double start_time_s=0, double stop_time_s=std::numeric_limits< double >::max()) |
|
void | addShutdown (const Error &error_id, bool *input_ptr, bool objective_val, TriggerType trigger_type=TriggerType::TRIGGER_ALWAYS, double start_time_s=0, double stop_time_s=std::numeric_limits< double >::max()) |
|
void | addShutdown (const Error &error_id, const bool &&input_val, bool objective_val, TriggerType trigger_type=TriggerType::TRIGGER_ALWAYS, double start_time_s=0, double stop_time_s=std::numeric_limits< double >::max()) |
|
void | addForceDisengage (const Error &error_id, bool *input_ptr, bool objective_val, TriggerType trigger_type=TriggerType::TRIGGER_ALWAYS, double start_time_s=0, double stop_time_s=std::numeric_limits< double >::max()) |
|
void | addForceDisengage (const Error &error_id, const bool &&input_val, bool objective_val, TriggerType trigger_type=TriggerType::TRIGGER_ALWAYS, double start_time_s=0, double stop_time_s=std::numeric_limits< double >::max()) |
|
void | addWarning (const Error &error_id, bool *input_ptr, bool objective_val, TriggerType trigger_type=TriggerType::TRIGGER_ALWAYS, double start_time_s=0, double stop_time_s=std::numeric_limits< double >::max()) |
|
void | addWarning (const Error &error_id, const bool &&input_val, bool objective_val, TriggerType trigger_type=TriggerType::TRIGGER_ALWAYS, double start_time_s=0, double stop_time_s=std::numeric_limits< double >::max()) |
|
void | addSignal (const Error &error_id, bool *input_val, bool objective_val, const std::function< bool(const Error &signal_id)> &callback, TriggerType trigger_type=TriggerType::TRIGGER_ALWAYS, double start_time_s=0, double stop_time_s=std::numeric_limits< double >::max()) |
|