Robotics StackExchange | Archived questions

How to enable collision in gazebo?

I try to run larmcontroller to move gazebo PR2 robot.

I found when it collision, it shows the two arm locate on the same place...

image description

http://imgur.com/n3pp6o0

How to solve it?

Thank you~

Asked by sam on 2014-07-13 13:11:43 UTC

Comments

Answers

Hi,

set the self collision to true in the sdf / urdf file. See self_collide in the sdf documentation.

Cheers

Asked by AndreiHaidu on 2014-07-14 09:50:42 UTC

Comments

I just run pr2_empty_world.launch file. Where is that urdf file I should change? Thank you~

Asked by sam on 2014-07-15 02:56:58 UTC