#include <diagnostics.hpp>
Public Member Functions | |
MotorStateTask () | |
void | run (diagnostic_updater::DiagnosticStatusWrapper &stat) |
void | update (bool new_state) |
Private Attributes | |
bool | state |
Diagnostic checking the on/off state of the motors
Definition at line 122 of file diagnostics.hpp.
kobuki::MotorStateTask::MotorStateTask | ( | ) | [inline] |
Definition at line 124 of file diagnostics.hpp.
void kobuki::MotorStateTask::run | ( | diagnostic_updater::DiagnosticStatusWrapper & | stat | ) | [virtual] |
Implements diagnostic_updater::DiagnosticTask.
Definition at line 138 of file diagnostics.cpp.
void kobuki::MotorStateTask::update | ( | bool | new_state | ) | [inline] |
Definition at line 126 of file diagnostics.hpp.
bool kobuki::MotorStateTask::state [private] |
Definition at line 126 of file diagnostics.hpp.