#include <diagnostics.hpp>
Public Member Functions | |
MotorCurrentTask () | |
void | run (diagnostic_updater::DiagnosticStatusWrapper &stat) |
void | update (const std::vector< uint8_t > &new_values) |
Private Attributes | |
std::vector< uint8_t > | values |
Diagnostic checking the current supplied to the motors, what can be useful for detecting whether the robot is blocked.
Definition at line 109 of file diagnostics.hpp.
kobuki::MotorCurrentTask::MotorCurrentTask | ( | ) | [inline] |
Definition at line 111 of file diagnostics.hpp.
void kobuki::MotorCurrentTask::run | ( | diagnostic_updater::DiagnosticStatusWrapper & | stat | ) | [virtual] |
Implements diagnostic_updater::DiagnosticTask.
Definition at line 127 of file diagnostics.cpp.
void kobuki::MotorCurrentTask::update | ( | const std::vector< uint8_t > & | new_values | ) | [inline] |
Definition at line 113 of file diagnostics.hpp.
std::vector<uint8_t> kobuki::MotorCurrentTask::values [private] |
Definition at line 116 of file diagnostics.hpp.