#include <pr2_mechanism_diagnostics.h>
Public Member Functions | |
CtrlJntDiagnosticPublisher () | |
bool | ok () const |
void | publishDiag () |
~CtrlJntDiagnosticPublisher () | |
Private Member Functions | |
void | mechCallback (const pr2_mechanism_msgs::MechanismStatistics::ConstPtr &mechMsg) |
Private Attributes | |
std::map< std::string, boost::shared_ptr < ControllerStats > > | controller_stats |
ros::Publisher | diag_pub_ |
bool | disable_controller_warnings_ |
std::map< std::string, boost::shared_ptr< JointStats > > | joint_stats |
ros::Subscriber | mech_st_sub_ |
ros::NodeHandle | n_ |
ros::NodeHandle | pnh_ |
bool | use_sim_time_ |
Publishes diagnostics data from pr2_mechanism_msgs/MechanismStatistics for joints and controllers.
Definition at line 60 of file pr2_mechanism_diagnostics.h.
CtrlJntDiagnosticPublisher::CtrlJntDiagnosticPublisher | ( | ) |
Definition at line 45 of file pr2_mechanism_diagnostics.cpp.
pr2_mechanism_diagnostics::CtrlJntDiagnosticPublisher::~CtrlJntDiagnosticPublisher | ( | ) | [inline] |
Definition at line 71 of file pr2_mechanism_diagnostics.h.
void CtrlJntDiagnosticPublisher::mechCallback | ( | const pr2_mechanism_msgs::MechanismStatistics::ConstPtr & | mechMsg | ) | [private] |
Definition at line 62 of file pr2_mechanism_diagnostics.cpp.
bool pr2_mechanism_diagnostics::CtrlJntDiagnosticPublisher::ok | ( | ) | const [inline] |
Definition at line 75 of file pr2_mechanism_diagnostics.h.
void CtrlJntDiagnosticPublisher::publishDiag | ( | ) |
Publish diagnostics from joints, controllers
Definition at line 85 of file pr2_mechanism_diagnostics.cpp.
std::map<std::string, boost::shared_ptr<ControllerStats> > pr2_mechanism_diagnostics::CtrlJntDiagnosticPublisher::controller_stats [private] |
Definition at line 57 of file pr2_mechanism_diagnostics.h.
ros::Publisher pr2_mechanism_diagnostics::CtrlJntDiagnosticPublisher::diag_pub_ [private] |
Definition at line 61 of file pr2_mechanism_diagnostics.h.
Definition at line 64 of file pr2_mechanism_diagnostics.h.
std::map<std::string, boost::shared_ptr<JointStats> > pr2_mechanism_diagnostics::CtrlJntDiagnosticPublisher::joint_stats [private] |
Definition at line 56 of file pr2_mechanism_diagnostics.h.
ros::Subscriber pr2_mechanism_diagnostics::CtrlJntDiagnosticPublisher::mech_st_sub_ [private] |
Definition at line 60 of file pr2_mechanism_diagnostics.h.
ros::NodeHandle pr2_mechanism_diagnostics::CtrlJntDiagnosticPublisher::n_ [private] |
Definition at line 59 of file pr2_mechanism_diagnostics.h.
ros::NodeHandle pr2_mechanism_diagnostics::CtrlJntDiagnosticPublisher::pnh_ [private] |
Definition at line 59 of file pr2_mechanism_diagnostics.h.
Definition at line 63 of file pr2_mechanism_diagnostics.h.