This class defines a Diagnostic converter It does not use the DiagnostricsUpdater for optimization. A full diagnostic_msgs/DiagnosticArray is built and sent to requesting nodes. More...
#include <diagnostics.hpp>

| Public Member Functions | |
| void | callAll (const std::vector< message_actions::MessageAction > &actions) | 
| DiagnosticsConverter (const std::string &name, float frequency, const qi::SessionPtr &session) | |
| void | registerCallback (const message_actions::MessageAction action, Callback_t cb) | 
| void | reset () | 
|  Public Member Functions inherited from naoqi::converter::BaseConverter< DiagnosticsConverter > | |
| BaseConverter (const std::string &name, float frequency, qi::SessionPtr session) | |
| float | frequency () const | 
| std::string | name () const | 
| virtual | ~BaseConverter () | 
| Private Types | |
| typedef boost::function< void(diagnostic_msgs::DiagnosticArray &) > | Callback_t | 
| Private Attributes | |
| std::vector< std::string > | all_keys_ | 
| std::vector< std::string > | battery_status_keys_ | 
| std::map< message_actions::MessageAction, Callback_t > | callbacks_ | 
| std::map< std::string, std::vector< double > > | joint_limit_map_ | 
| std::vector< std::string > | joint_names_ | 
| qi::AnyObject | p_body_temperature_ | 
| qi::AnyObject | p_memory_ | 
| qi::AnyObject | p_motion_ | 
| float | temperature_error_level_ | 
| float | temperature_warn_level_ | 
| Additional Inherited Members | |
|  Protected Attributes inherited from naoqi::converter::BaseConverter< DiagnosticsConverter > | |
| float | frequency_ | 
| std::string | name_ | 
| bool | record_enabled_ | 
| const robot::Robot & | robot_ | 
| qi::SessionPtr | session_ | 
This class defines a Diagnostic converter It does not use the DiagnostricsUpdater for optimization. A full diagnostic_msgs/DiagnosticArray is built and sent to requesting nodes.
Definition at line 42 of file converters/diagnostics.hpp.
| 
 | private | 
Definition at line 45 of file converters/diagnostics.hpp.
| naoqi::converter::DiagnosticsConverter::DiagnosticsConverter | ( | const std::string & | name, | 
| float | frequency, | ||
| const qi::SessionPtr & | session | ||
| ) | 
Definition at line 54 of file converters/diagnostics.cpp.
| void naoqi::converter::DiagnosticsConverter::callAll | ( | const std::vector< message_actions::MessageAction > & | actions | ) | 
Definition at line 129 of file converters/diagnostics.cpp.
| void naoqi::converter::DiagnosticsConverter::registerCallback | ( | const message_actions::MessageAction | action, | 
| Callback_t | cb | ||
| ) | 
Definition at line 315 of file converters/diagnostics.cpp.
| void naoqi::converter::DiagnosticsConverter::reset | ( | ) | 
Definition at line 311 of file converters/diagnostics.cpp.
| 
 | private | 
all the keys to check. It is a concatenation of joint_temperatures_keys_, battery_keys_
Definition at line 60 of file converters/diagnostics.hpp.
| 
 | private | 
Keys for the battery status
Definition at line 62 of file converters/diagnostics.hpp.
| 
 | private | 
Registered Callbacks
Definition at line 76 of file converters/diagnostics.hpp.
| 
 | private | 
Map storing the joints informations
Definition at line 64 of file converters/diagnostics.hpp.
| 
 | private | 
The names of the joints in the order given by the motion proxy
Definition at line 58 of file converters/diagnostics.hpp.
| 
 | private | 
Proxy to ALBodyTemperature
Definition at line 70 of file converters/diagnostics.hpp.
| 
 | private | 
Proxy to ALMemory
Definition at line 66 of file converters/diagnostics.hpp.
| 
 | private | 
Proxy to ALMotion
Definition at line 68 of file converters/diagnostics.hpp.
| 
 | private | 
Definition at line 73 of file converters/diagnostics.hpp.
| 
 | private | 
Definition at line 72 of file converters/diagnostics.hpp.