0
$\begingroup$

Rosanswers logo

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.


Originally posted by VN on ROS Answers with karma: 373 on 2011-11-04

Post score: 7

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

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.


Originally posted by Sachin Chitta with karma: 1304 on 2011-11-04

This answer was ACCEPTED on the original site

Post score: 12

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.