#include <twist_mux_diagnostics.h>
Public Types | |
| typedef TwistMuxDiagnosticsStatus | status_type |
Public Member Functions | |
| void | diagnostics (diagnostic_updater::DiagnosticStatusWrapper &stat) |
| TwistMuxDiagnostics () | |
| void | update () |
| void | updateStatus (const status_type::ConstPtr &status) |
| virtual | ~TwistMuxDiagnostics () |
Static Public Attributes | |
| static constexpr double | MAIN_LOOP_TIME_MIN = 0.2 |
| static constexpr double | READING_AGE_MIN = 3.0 |
Private Types | |
| enum | { OK = diagnostic_msgs::DiagnosticStatus::OK, WARN = diagnostic_msgs::DiagnosticStatus::WARN, ERROR = diagnostic_msgs::DiagnosticStatus::ERROR } |
| Levels. More... | |
Private Attributes | |
| diagnostic_updater::Updater | diagnostic_ |
| status_type | status_ |
Definition at line 48 of file twist_mux_diagnostics.h.
Definition at line 65 of file twist_mux_diagnostics.h.
|
private |
| twist_mux::TwistMuxDiagnostics::TwistMuxDiagnostics | ( | ) |
Definition at line 43 of file twist_mux_diagnostics.cpp.
|
virtual |
Definition at line 49 of file twist_mux_diagnostics.cpp.
| void twist_mux::TwistMuxDiagnostics::diagnostics | ( | diagnostic_updater::DiagnosticStatusWrapper & | stat | ) |
Check if the loop period is quick enough
Definition at line 71 of file twist_mux_diagnostics.cpp.
| void twist_mux::TwistMuxDiagnostics::update | ( | ) |
Definition at line 52 of file twist_mux_diagnostics.cpp.
| void twist_mux::TwistMuxDiagnostics::updateStatus | ( | const status_type::ConstPtr & | status | ) |
Definition at line 57 of file twist_mux_diagnostics.cpp.
|
private |
Definition at line 91 of file twist_mux_diagnostics.h.
|
staticconstexpr |
Definition at line 67 of file twist_mux_diagnostics.h.
|
staticconstexpr |
Definition at line 68 of file twist_mux_diagnostics.h.
|
private |
Definition at line 92 of file twist_mux_diagnostics.h.