Public Member Functions
|bool||sendupdate (std::string joint_name, double target)|
|A node handle to be able to publish. |
|std::map< std::string, |
|The map were the publishers are stored. |
Definition at line 35 of file send_targets.cpp.
The TargetSender class stores a map of publishers to associate a joint name to a publisher for easily sending targets to a given joint.
This array of joints could also be guessed either using the pr2_controller or listening to the joint_states topic.
Definition at line 43 of file send_targets.cpp.
Definition at line 74 of file send_targets.cpp.
Sends a target to the given joint.
|joint_name||The joint we want to send the target to.|
|target||The target in degrees.|
Definition at line 85 of file send_targets.cpp.
A node handle to be able to publish.
Definition at line 111 of file send_targets.cpp.
|std::map<std::string, ros::Publisher> TargetSender::publisher_map_
The map were the publishers are stored.
Definition at line 105 of file send_targets.cpp.