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

planning_environment: How to specify link padding post-diamondback?

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

Adolfo Rodriguez T gravatar image

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

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_padding:
  - link: foo
    padding: 0.0

In electric's pr2_arm_navigation_actions, there exists such a https://code.ros.org/svn/wg-ros-pkg/stacks/pr2_arm_navigation/trunk/pr2_arm_navigation_actions/config/environment_server_padding.yaml">file but seems to be unused.

TIA.

edit retag flag offensive close merge delete

Comments

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 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

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

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

Stats

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

Seen: 339 times

Last updated: Feb 02 '12