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

Arm always in collision when running get_state_validity

asked 2012-01-03 07:08:02 -0500

robbie gravatar image

updated 2012-01-03 07:09:38 -0500

While running the Checking State Validity tutorial the robot arm is always red (except when joint limits are violated), even when there should be no collisions. After some debugging effort, I found that head_pan_link+double_stereo_link were always in collision. Otherwise, the tutorial seems to work in that the arm turns blue when joint limits are violated and collision markers appear where they should.

ROS Version: Electric

OS: Ubuntu 11.10

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2012-01-03 09:46:42 -0500

egiljones gravatar image

Thanks for the report - it looks like the positions of some of the links subtly changed in the latest release of pr2_description and that we need a slightly altered set of collision operations in pr2_arm_navigation. I'll do a release this week, but in the meantime if you add the following line to get_state_validity.cpp at line 33 things should work (this line just disables all collisions except those that matter for the arm):

collision_models.disableCollisionsForNonUpdatedLinks("right_arm");

edit flag offensive delete link more

Comments

Thank you, adding the line worked.
robbie gravatar image robbie  ( 2012-01-03 13:38:08 -0500 )edit

Question Tools

Stats

Asked: 2012-01-03 07:08:02 -0500

Seen: 284 times

Last updated: Jan 03 '12