Go to the documentation of this file.
18 #ifndef DIAGNOSTICS_CONVERTER_HPP
19 #define DIAGNOSTICS_CONVERTER_HPP
30 #include <diagnostic_msgs/DiagnosticArray.h>
45 typedef boost::function<void(diagnostic_msgs::DiagnosticArray&) >
Callback_t;
52 void callAll(
const std::vector<message_actions::MessageAction>& actions );
76 std::map<message_actions::MessageAction, Callback_t>
callbacks_;
DiagnosticsConverter(const std::string &name, float frequency, const qi::SessionPtr &session)
std::map< message_actions::MessageAction, Callback_t > callbacks_
boost::function< void(diagnostic_msgs::DiagnosticArray &) > Callback_t
std::vector< std::string > battery_status_keys_
qi::AnyObject p_body_temperature_
std::vector< std::string > joint_names_
float temperature_warn_level_
void registerCallback(const message_actions::MessageAction action, Callback_t cb)
This class defines a Diagnostic converter It does not use the DiagnostricsUpdater for optimization....
std::vector< std::string > all_keys_
void callAll(const std::vector< message_actions::MessageAction > &actions)
float temperature_error_level_
std::map< std::string, std::vector< double > > joint_limit_map_
naoqi_driver
Author(s): Karsten Knese
autogenerated on Sat Feb 3 2024 03:50:06