Public Member Functions | Private Member Functions | Private Attributes
pr2_mechanism_diagnostics::CtrlJntDiagnosticPublisher Class Reference

#include <pr2_mechanism_diagnostics.h>

List of all members.

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_

Detailed Description

Publishes diagnostics data from pr2_mechanism_msgs/MechanismStatistics for joints and controllers.

Definition at line 62 of file pr2_mechanism_diagnostics.h.


Constructor & Destructor Documentation

Definition at line 45 of file pr2_mechanism_diagnostics.cpp.

Definition at line 80 of file pr2_mechanism_diagnostics.h.


Member Function Documentation

void CtrlJntDiagnosticPublisher::mechCallback ( const pr2_mechanism_msgs::MechanismStatistics::ConstPtr &  mechMsg) [private]

Definition at line 62 of file pr2_mechanism_diagnostics.cpp.

Definition at line 84 of file pr2_mechanism_diagnostics.h.

Publish diagnostics from joints, controllers

Definition at line 85 of file pr2_mechanism_diagnostics.cpp.


Member Data Documentation

Definition at line 66 of file pr2_mechanism_diagnostics.h.

Definition at line 70 of file pr2_mechanism_diagnostics.h.

Definition at line 73 of file pr2_mechanism_diagnostics.h.

std::map<std::string, boost::shared_ptr<JointStats> > pr2_mechanism_diagnostics::CtrlJntDiagnosticPublisher::joint_stats [private]

Definition at line 65 of file pr2_mechanism_diagnostics.h.

Definition at line 69 of file pr2_mechanism_diagnostics.h.

Definition at line 68 of file pr2_mechanism_diagnostics.h.

Definition at line 68 of file pr2_mechanism_diagnostics.h.

Definition at line 72 of file pr2_mechanism_diagnostics.h.


The documentation for this class was generated from the following files:


pr2_mechanism_diagnostics
Author(s): Kevin Watts
autogenerated on Mon Dec 2 2013 13:13:06