38 #ifndef _PR2_MECHANISM_DIAGNOSTICS_H_JOINT_DIAG_ 39 #define _PR2_MECHANISM_DIAGNOSTICS_H_JOINT_DIAG_ 44 #include <boost/shared_ptr.hpp> 45 #include <boost/math/special_functions/fpclassify.hpp> 46 #include <boost/accumulators/accumulators.hpp> 47 #include <boost/accumulators/statistics/max.hpp> 48 #include <boost/accumulators/statistics/min.hpp> 51 #include <pr2_mechanism_msgs/MechanismStatistics.h> 52 #include <pr2_mechanism_msgs/JointStatistics.h> 53 #include <pr2_mechanism_msgs/ActuatorStatistics.h> 66 return boost::math::isnormal(t);
102 bool update(
const pr2_mechanism_msgs::JointStatistics &js);
109 #endif // _PR2_MECHANISM_DIAGNOSTICS_H_JOINT_DIAG_
Publishes diagnostics for controllers, joints from pr2_mechanism_msgs/MechanismStatistics message...
bool update(const pr2_mechanism_msgs::JointStatistics &js)
bool is_valid(T t)
Returns false if a value is infinity, NaN, etc.
boost::shared_ptr< diagnostic_updater::DiagnosticStatusWrapper > toDiagStat() const
JointStats(std::string nam)