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

Disabling the head from tracking the executed trajectory of the arm

asked 2011-07-28 12:36:40 -0600

Nash gravatar image

updated 2011-07-28 12:48:07 -0600

When using the move_arm package, the head would track the arm moving along the collision-free trajectory it found. I was wondering if there was an option to switch this functionality off since it would be great if the head kept looking at the target and not have to abruptly monitor the arm once the trajectory is found.

Did anyone figure out how to solve this issue?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2011-07-28 20:02:20 -0600

Lorenz gravatar image

updated 2011-07-28 20:47:40 -0600

I think there is no explicit ros parameter for disabling head tracking, but if you just set the parameter head_monitor_link to empty or delete it, moving the head should be disabled.

You have several ways to set the corresponding parameters. You can either build up your own launch file by copying and adjusting e.g. move_right_arm.launch or you can create your own launch file that might look like this:

  <include file="$(find pr2_arm_navigation_actions/launch/move_right_arm.launch>
  <param name="/move_right_arm/head_monitor_link"

This exploits the evaluation order of launch files. Later parameter definitions can overwrite earlier ones.

edit flag offensive delete link more


Thanks Lorenz, Just to confirm, I would have to change that particular link in the pr2_arm_navigation_actions/launch/move_right_arm.launch for the just for right arm. I will try it on the robot tomorrow!
Nash gravatar image Nash  ( 2011-07-28 20:18:55 -0600 )edit
I actually would not change one of Willow Garage's makefiles. In my case, I created my own launch file for starting up move_arm and grasping actions. You can also create your own launch file that just includes move_right_arm.launch and overwrites the parameters. See my updated answer.
Lorenz gravatar image Lorenz  ( 2011-07-28 20:42:18 -0600 )edit
That makes sense..Thanks!
Nash gravatar image Nash  ( 2011-07-29 07:24:31 -0600 )edit

Question Tools


Asked: 2011-07-28 12:36:40 -0600

Seen: 172 times

Last updated: Jul 28 '11