29 #ifndef SR_HAND_SR_PUBLISHER_H 30 #define SR_HAND_SR_PUBLISHER_H 32 #include <boost/smart_ptr.hpp> 95 return deg * 3.14159265 / 180.0;
101 #endif // SR_HAND_SR_PUBLISHER_H SRPublisher(boost::shared_ptr< SRArticulatedRobot > sr_art_robot)
NodeHandle node
ros node handle
Publisher sr_jointstate_target_pub
The publisher which publishes the data to the \/{prefix}\/target\/joint_states topic.
boost::shared_ptr< SRArticulatedRobot > sr_articulated_robot
The shadowhand object (can be either an object connected to the real robot or a virtual hand)...
~SRPublisher()
Destructor.
This is a parent class for the different types of Shadowhand we can have. It makes it possible to swa...
Publisher sr_jointstate_pos_pub
The publisher which publishes the data to the \/{prefix}\/position\/joint_states topic.
Rate publish_rate
the rate at which the data will be published. This can be set by a parameter in the launch file...
Publisher sr_pub
The publisher which publishes the data to the \/{prefix}\/shadowhand_data topic.
This is a parent class for the different types of Shadowhand we can have. It makes it possible to swa...