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

what's difference between RTGoalHandle and RTGoalHandleFollow?

asked 2013-06-06 03:45:03 -0600

AdrianPeng gravatar image

updated 2014-11-22 17:05:18 -0600

ngrennan gravatar image

Hi,

In joint_trajectory_action_controller.h (robot_mechanism_controllers package).

RTGoalHandle is defined as RTServerGoalHandle<pr2_controllers_msgs::JointTrajectoryAction> and RTGoalHandleFollow is defined as RTServerGoalHandle<control_msgs::FollowJointTrajectoryAction>

What does these two types use for? It seems their API looks really similar.

Thanks!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2013-06-06 04:06:50 -0600

Adolfo Rodriguez T gravatar image

The JointTrajectoryActionController supports three ways to command trajectories:

  • Using the raw trajectory_msgs::JointTrajectory topic interface
  • Using the pr2_controllers_msgs::JointTrajectoryAction action interface
  • Using the control_msgs::FollowJointTrajectoryAction action interface.

It is my understanding that FollowJointTrajectoryAction superceeds the JointTrajectoryAction interface. The main difference between the two is that FollowJointTrajectoryAction allows you to specify path and goal tolerances in the action goal. These tolerances are optional, and if unspecified defaults specified in the parameter server are used. The older JointTrajectoryAction only used tolerances from the parameter server.

As to the RTGoalHandle*, they are convenience instances that allow a realtime controller to implement an actionlib server.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-06-06 03:45:03 -0600

Seen: 112 times

Last updated: Jun 06 '13