22 #include <qi/session.hpp> 42 const std::vector<std::string> &joints_all_names,
43 const std::string &robot);
87 #endif // DIAGNOSTICS_H Diagnostics(const qi::SessionPtr &session, ros::Publisher *pub, const std::vector< std::string > &joints_all_names, const std::string &robot)
Constructor.
void setMessageFromStatus(diagnostic_updater::DiagnosticStatusWrapper &status)
set the message based on level
void setAggregatedMessage(diagnostic_updater::DiagnosticStatusWrapper &status)
set the aggregated message
virtual ~Diagnostics()
destroys all ros nodehandle and shutsdown all publisher
std::vector< std::string > joints_all_names_
std::string getStatusMsg()
return the status message
qi::AnyObject memory_proxy_
std::vector< float > joints_current_
std::vector< std::string > keys_tocheck_
bool publish()
publish the newly received data
float temperature_error_level_
diagnostic_updater::DiagnosticStatusWrapper status_
float temperature_warn_level_
This class defines a Diagnostic It is used to check the robot state and sent to requesting nodes...