$search

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

CtrlJntDiagnosticPublisher::CtrlJntDiagnosticPublisher (  ) 

Definition at line 45 of file pr2_mechanism_diagnostics.cpp.

pr2_mechanism_diagnostics::CtrlJntDiagnosticPublisher::~CtrlJntDiagnosticPublisher (  )  [inline]

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.

bool pr2_mechanism_diagnostics::CtrlJntDiagnosticPublisher::ok (  )  const [inline]

Definition at line 84 of file pr2_mechanism_diagnostics.h.

void CtrlJntDiagnosticPublisher::publishDiag (  ) 

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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends


pr2_mechanism_diagnostics
Author(s): Kevin Watts
autogenerated on Fri Mar 1 17:03:49 2013