joint_trajectory_action_controller.hpp
Go to the documentation of this file.
1 
29 #ifndef _SR_JOINT_TRAJECTORY_ACTION_CONTROLLER_H_
30 #define _SR_JOINT_TRAJECTORY_ACTION_CONTROLLER_H_
31 
32 #include <ros/ros.h>
33 
34 #include <map>
35 #include <string>
36 #include <vector>
38 #include <control_msgs/FollowJointTrajectoryAction.h>
39 
40 namespace shadowrobot
41 {
42 class JointTrajectoryActionController
43 {
45  typedef std::vector<trajectory_msgs::JointTrajectoryPoint> JointTrajectoryPointVec;
46  typedef std::map<std::string, ros::Publisher> JointPubMap;
47 public:
49 
50 private:
52  JointPubMap joint_pub;
54 
55  void execute_trajectory(const control_msgs::FollowJointTrajectoryGoalConstPtr &goal);
56 };
57 } // namespace shadowrobot
58 
59 /* For the emacs weenies in the crowd.
60 Local Variables:
61  c-basic-offset: 2
62 End:
63 */
64 
65 #endif
std::vector< trajectory_msgs::JointTrajectoryPoint > JointTrajectoryPointVec
actionlib::SimpleActionServer< control_msgs::FollowJointTrajectoryAction > JTAS
void execute_trajectory(const control_msgs::FollowJointTrajectoryGoalConstPtr &goal)


sr_mechanism_controllers
Author(s): Ugo Cupcic
autogenerated on Tue Oct 13 2020 03:55:58