Public Member Functions | Private Member Functions | Private Attributes | List of all members
pr2_mechanism_diagnostics::CtrlJntDiagnosticPublisher Class Reference

#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_
 

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

std::map<std::string, boost::shared_ptr<ControllerStats> > pr2_mechanism_diagnostics::CtrlJntDiagnosticPublisher::controller_stats
private

Definition at line 66 of file pr2_mechanism_diagnostics.h.

ros::Publisher pr2_mechanism_diagnostics::CtrlJntDiagnosticPublisher::diag_pub_
private

Definition at line 70 of file pr2_mechanism_diagnostics.h.

bool pr2_mechanism_diagnostics::CtrlJntDiagnosticPublisher::disable_controller_warnings_
private

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.

ros::Subscriber pr2_mechanism_diagnostics::CtrlJntDiagnosticPublisher::mech_st_sub_
private

Definition at line 69 of file pr2_mechanism_diagnostics.h.

ros::NodeHandle pr2_mechanism_diagnostics::CtrlJntDiagnosticPublisher::n_
private

Definition at line 68 of file pr2_mechanism_diagnostics.h.

ros::NodeHandle pr2_mechanism_diagnostics::CtrlJntDiagnosticPublisher::pnh_
private

Definition at line 68 of file pr2_mechanism_diagnostics.h.

bool pr2_mechanism_diagnostics::CtrlJntDiagnosticPublisher::use_sim_time_
private

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 Fri Jun 7 2019 22:04:25