Public Member Functions | Private Attributes | List of all members
kobuki::MotorCurrentTask Class Reference

#include <diagnostics.hpp>

Inheritance diagram for kobuki::MotorCurrentTask:
Inheritance graph
[legend]

Public Member Functions

 MotorCurrentTask ()
 
void run (diagnostic_updater::DiagnosticStatusWrapper &stat)
 
void update (const std::vector< uint8_t > &new_values)
 
- Public Member Functions inherited from diagnostic_updater::DiagnosticTask
 DiagnosticTask (const std::string name)
 
const std::stringgetName ()
 
virtual ~DiagnosticTask ()
 

Private Attributes

std::vector< uint8_t > values
 

Detailed Description

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.

Constructor & Destructor Documentation

kobuki::MotorCurrentTask::MotorCurrentTask ( )
inline

Definition at line 111 of file diagnostics.hpp.

Member Function Documentation

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.

Member Data Documentation

std::vector<uint8_t> kobuki::MotorCurrentTask::values
private

Definition at line 116 of file diagnostics.hpp.


The documentation for this class was generated from the following files:


kobuki_node
Author(s): Daniel Stonier, Younghun Ju, Jorge Santos Simon
autogenerated on Mon Jun 10 2019 13:45:13