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

#include <diagnostics.hpp>

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

Public Member Functions

 BatteryTask ()
 
void run (diagnostic_updater::DiagnosticStatusWrapper &stat)
 
void update (const Battery &battery)
 
- Public Member Functions inherited from diagnostic_updater::DiagnosticTask
 DiagnosticTask (const std::string name)
 
const std::stringgetName ()
 
virtual ~DiagnosticTask ()
 

Private Attributes

Battery status
 

Detailed Description

Diagnostic checking the robot battery and charging status.

Definition at line 39 of file diagnostics.hpp.

Constructor & Destructor Documentation

kobuki::BatteryTask::BatteryTask ( )
inline

Definition at line 41 of file diagnostics.hpp.

Member Function Documentation

void kobuki::BatteryTask::run ( diagnostic_updater::DiagnosticStatusWrapper stat)
virtual

Implements diagnostic_updater::DiagnosticTask.

Definition at line 25 of file diagnostics.cpp.

void kobuki::BatteryTask::update ( const Battery battery)
inline

Definition at line 43 of file diagnostics.hpp.

Member Data Documentation

Battery kobuki::BatteryTask::status
private

Definition at line 46 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