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_;
float temperature_warn_level_
std::map< message_actions::MessageAction, Callback_t > callbacks_
std::vector< std::string > joint_names_
void registerCallback(const message_actions::MessageAction action, Callback_t cb)
float temperature_error_level_
std::vector< std::string > all_keys_
This class defines a Diagnostic converter It does not use the DiagnostricsUpdater for optimization...
DiagnosticsConverter(const std::string &name, float frequency, const qi::SessionPtr &session)
boost::function< void(diagnostic_msgs::DiagnosticArray &) > Callback_t
std::map< std::string, std::vector< double > > joint_limit_map_
void callAll(const std::vector< message_actions::MessageAction > &actions)
std::vector< std::string > battery_status_keys_
qi::AnyObject p_body_temperature_