#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 34 of file twist_mux_diagnostics.h.
Definition at line 37 of file twist_mux_diagnostics.h.
anonymous enum [private] |
Definition at line 29 of file twist_mux_diagnostics.cpp.
twist_mux::TwistMuxDiagnostics::~TwistMuxDiagnostics | ( | ) | [virtual] |
Definition at line 35 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 57 of file twist_mux_diagnostics.cpp.
Definition at line 38 of file twist_mux_diagnostics.cpp.
void twist_mux::TwistMuxDiagnostics::updateStatus | ( | const status_type::ConstPtr & | status | ) |
Definition at line 43 of file twist_mux_diagnostics.cpp.
Definition at line 63 of file twist_mux_diagnostics.h.
constexpr double twist_mux::TwistMuxDiagnostics::MAIN_LOOP_TIME_MIN = 0.2 [static] |
Definition at line 39 of file twist_mux_diagnostics.h.
constexpr double twist_mux::TwistMuxDiagnostics::READING_AGE_MIN = 3.0 [static] |
Definition at line 40 of file twist_mux_diagnostics.h.
Definition at line 64 of file twist_mux_diagnostics.h.