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

#include <diagnostics_1.hpp>

Inheritance diagram for xbot::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_tvalues
 

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_1.hpp.

Constructor & Destructor Documentation

xbot::MotorCurrentTask::MotorCurrentTask ( )
inline

Definition at line 111 of file diagnostics_1.hpp.

Member Function Documentation

void xbot::MotorCurrentTask::run ( diagnostic_updater::DiagnosticStatusWrapper stat)
virtual
void xbot::MotorCurrentTask::update ( const std::vector< uint8_t > &  new_values)
inline

Definition at line 113 of file diagnostics_1.hpp.

Member Data Documentation

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

Definition at line 116 of file diagnostics_1.hpp.


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


xbot_node
Author(s): Roc, wangpeng@droid.ac.cn
autogenerated on Sat Oct 10 2020 03:28:14