ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
7

where is the node for follow_joint_trajectory action server (control_msgs/FollowJointTrajectory)

asked 2011-11-04 09:16:33 -0500

VN gravatar image

I just noticed that move_arm is looking for arm_controller/follow_joint_trajectory with action type: control_msgs/FollowJointTrajectory.

Earlier I was running arm_controller/joint_trajectory_action with action type: pr2_controllers_msgs/JointTrajectoryAction which make an interface between arm_controller and move_arm. which is documented here.

Now I need to run action node of type control_msgs/FollowJointTrajectory so that it can interface with move_arm.

Can I get the information about where is the ros node for implementing action server for controllers of the type control_msgs/FollowJointTrajectory?? OR it is a part of something else.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
12

answered 2011-11-04 12:49:15 -0500

Sachin Chitta gravatar image

The JointTrajectoryAction was used earlier for connecting to the arm controllers on the PR2. However, since it lived in a PR2 specific stack, we decided to move away from it so that other people using the motion planning pipeline would not have to depend on a PR2 specific stack. The FollowJointTrajectory action is intended to replace the JointTrajectoryAction. To preserve backwards compatibility both interfaces are currently implemented in the following controller: robot_mechanism_controllers/src/joint_trajectory_action_controller.cpp

Using this controller implementation on your own robot will take some work since it is tied into the way that the control infrastructure has been setup on the PR2. However, you can use the code in there and the actionlib tutorials as a guide to how you can implement a similar interface on your own robot. Essentially, you need to have an action interface on your robot that connects to your controller and respects the specifications laid down by the FollowJointTrajectory action spec (control_msgs/action/FollowJointTrajectory.action).

Hope this helps.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2011-11-04 09:16:33 -0500

Seen: 5,344 times

Last updated: Nov 04 '11