sr_diagnosticer.h
Go to the documentation of this file.
1 
29 #ifndef SR_HAND_SR_DIAGNOSTICER_H
30 #define SR_HAND_SR_DIAGNOSTICER_H
31 
32 #include <ros/ros.h>
33 #include <boost/smart_ptr.hpp>
34 
36 
37 using ros::NodeHandle;
38 using ros::Rate;
39 using ros::Publisher;
41 
42 namespace shadowrobot
43 {
44 
53 enum hardware_types
55 {
60 };
61 
63 {
64 public:
73 
76 
80  void publish();
81 
82 private:
84  static const double palm_numb_msg_const;
86  static const double palm_msg_rate_const;
87 
90 
95 
98 
101 }; // end class ShadowhandDiagnosticer
102 
103 } // namespace shadowrobot
104 
105 #endif // SR_HAND_SR_DIAGNOSTICER_H
static const double palm_msg_rate_const
const to convert the rate data to Hz
Publisher sr_diagnostics_pub
The publisher which publishes the data to the \/diagnostics topic.
hardware_types hardware_type
store the hardware_type for this diagnosticer.
This is a parent class for the different types of Shadowhand we can have. It makes it possible to swa...
static const double palm_numb_msg_const
const to convert the rate data to Hz
SRDiagnosticer(boost::shared_ptr< SRArticulatedRobot > sr_art_robot, hardware_types hw_type)
boost::shared_ptr< SRArticulatedRobot > sr_articulated_robot
The shadowhand object (can be either an object connected to the real robot or a virtual hand)...
hardware_types
An enum containing the different types of hardware the diagnosticer is publishing data about...
Rate publish_rate
the rate at which the data will be published. This can be set by a parameter in the launch file...
NodeHandle node
ros node handle
This is a parent class for the different types of Shadowhand we can have. It makes it possible to swa...


sr_hand
Author(s): Ugo Cupcic
autogenerated on Tue Oct 13 2020 03:55:53