#include <pr2_transmission_check_node.h>
Public Member Functions | |
bool | ok () const |
PR2TransmissionCheckNode () | |
void | publishDiag () |
~PR2TransmissionCheckNode () | |
Private Member Functions | |
void | loadTransCheckers (urdf::Model &robot, std::map< std::string, std::string > &joints_to_actuators) |
void | loadTransmissions (TiXmlElement *robot, std::map< std::string, std::string > &joints_to_actuators) |
void | mechCallback (const pr2_mechanism_msgs::MechanismStatistics::ConstPtr &mechMsg) |
bool | reset_cb (std_srvs::Empty::Request &request, std_srvs::Empty::Response &response) |
Private Attributes | |
ros::Publisher | diag_pub_ |
bool | disable_controller_warnings_ |
ros::Subscriber | mech_st_sub_ |
ros::NodeHandle | n_ |
ros::NodeHandle | pnh_ |
ros::ServiceServer | reset_srv_ |
std::vector< boost::shared_ptr < TransmissionListener > > | trans_listeners_ |
bool | trans_status_ |
ros::Publisher | trans_status_pub_ |
bool | use_sim_time_ |
Publishes diagnostics data from pr2_mechanism_msgs/MechanismStatistics for joints and controllers.
Definition at line 64 of file pr2_transmission_check_node.h.
PR2TransmissionCheckNode::PR2TransmissionCheckNode | ( | ) |
Definition at line 45 of file pr2_transmission_check_node.cpp.
pr2_transmission_check::PR2TransmissionCheckNode::~PR2TransmissionCheckNode | ( | ) | [inline] |
Definition at line 97 of file pr2_transmission_check_node.h.
void pr2_transmission_check::PR2TransmissionCheckNode::loadTransCheckers | ( | urdf::Model & | robot, | |
std::map< std::string, std::string > & | joints_to_actuators | |||
) | [private] |
void pr2_transmission_check::PR2TransmissionCheckNode::loadTransmissions | ( | TiXmlElement * | robot, | |
std::map< std::string, std::string > & | joints_to_actuators | |||
) | [private] |
void PR2TransmissionCheckNode::mechCallback | ( | const pr2_mechanism_msgs::MechanismStatistics::ConstPtr & | mechMsg | ) | [private] |
Definition at line 128 of file pr2_transmission_check_node.cpp.
bool pr2_transmission_check::PR2TransmissionCheckNode::ok | ( | ) | const [inline] |
Definition at line 103 of file pr2_transmission_check_node.h.
void PR2TransmissionCheckNode::publishDiag | ( | ) |
Publish diagnostics from transmissions
Definition at line 217 of file pr2_transmission_check_node.cpp.
bool pr2_transmission_check::PR2TransmissionCheckNode::reset_cb | ( | std_srvs::Empty::Request & | request, | |
std_srvs::Empty::Response & | response | |||
) | [inline, private] |
Definition at line 85 of file pr2_transmission_check_node.h.
ros::Publisher pr2_transmission_check::PR2TransmissionCheckNode::diag_pub_ [private] |
Definition at line 69 of file pr2_transmission_check_node.h.
Definition at line 74 of file pr2_transmission_check_node.h.
ros::Subscriber pr2_transmission_check::PR2TransmissionCheckNode::mech_st_sub_ [private] |
Definition at line 68 of file pr2_transmission_check_node.h.
ros::NodeHandle pr2_transmission_check::PR2TransmissionCheckNode::n_ [private] |
Definition at line 67 of file pr2_transmission_check_node.h.
ros::NodeHandle pr2_transmission_check::PR2TransmissionCheckNode::pnh_ [private] |
Definition at line 67 of file pr2_transmission_check_node.h.
ros::ServiceServer pr2_transmission_check::PR2TransmissionCheckNode::reset_srv_ [private] |
Definition at line 71 of file pr2_transmission_check_node.h.
std::vector<boost::shared_ptr<TransmissionListener> > pr2_transmission_check::PR2TransmissionCheckNode::trans_listeners_ [private] |
Definition at line 76 of file pr2_transmission_check_node.h.
Definition at line 77 of file pr2_transmission_check_node.h.
ros::Publisher pr2_transmission_check::PR2TransmissionCheckNode::trans_status_pub_ [private] |
Definition at line 70 of file pr2_transmission_check_node.h.
Definition at line 73 of file pr2_transmission_check_node.h.