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

planning_environment: How to specify link padding post-diamondback?

asked 2012-02-01 21:35:03 -0500

Adolfo Rodriguez T gravatar image

updated 2012-02-01 21:36:13 -0500

The documentation of the planning_environment package states that

"...much of the information on diamondback no longer holds"

but there is no clear distinction as to what has changed and what remains the same in the ROS API. In particular, I'm interested in knowing whether specifying individual link padding values is still supported, like so (yaml syntax):

default_robot_padding: 0.01
  - link: foo
    padding: 0.0

In electric's pr2_arm_navigation_actions, there exists such a">file but seems to be unused.


edit retag flag offensive close merge delete


i just add the lines as you mentioned in the MyRobot_planning_description.yaml. the default_robot_padding is successfully loaded, but the link_padding for each link is not loaded. do you successfully loaded them?

yangyangcv gravatar image yangyangcv  ( 2012-11-01 15:19:47 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2012-02-02 03:28:10 -0500

egiljones gravatar image

You can still set individual link padding using the yaml method - just make sure it's getting loaded in the private namespace when you launch the environment server (or wherever else you are creating a planning_environment::CollisionModels class". The default_robot_padding value is taken from the global namespace under /robot_description_planning/default_robot_padding - if you put it in your <your_robot>_planning_description.yaml using the auto-generated arm navigation app than things should happen correctly.

edit flag offensive delete link more

Question Tools


Asked: 2012-02-01 21:35:03 -0500

Seen: 328 times

Last updated: Feb 02 '12