Gazebo | Ignition | Community
Ask Your Question

How to turn off all collisions?

asked 2017-09-09 21:15:10 -0600

Pi Robot gravatar image

I am using Gazebo 2.2.3 under ROS Indigo. I am wondering how I can turn off collision on all models (or even one at a time) without turning off the physics. I need the sensor data from the physics but I also want the models to pass through each other if they come into contact.

Thanks! patrick

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2017-09-10 12:23:23 -0600

chapulina gravatar image

updated 2017-09-10 12:24:19 -0600

You can try using the <collide_without_contact> tag. Here's a nice example world.

You could also look at collide bitmasks, in case you still want some models to collide with each other.

(by the way, Gazebo 2 is not supported anymore, it's recommended you move to Gazebo 7)

edit flag offensive delete link more


Thanks! That did the trick. And yeah, I've run Gazebo 7 on some of my Ubuntu 14.04 machines and ROS Indigo but 2.2.3 is running fine for what I need right now.

Pi Robot gravatar imagePi Robot ( 2017-09-10 20:09:35 -0600 )edit

answered 2017-09-10 05:10:10 -0600

EdwinvanEmmerik gravatar image

If you go to the world tab there has to be a check mark under 'models' that says collision. Uncheck it and you are done.

edit flag offensive delete link more


Thanks but I don't think that check mark exists in Gazebo 2.2.3 (at least I can't find it).

Pi Robot gravatar imagePi Robot ( 2017-09-10 20:10:13 -0600 )edit

Question Tools

1 follower


Asked: 2017-09-09 21:15:10 -0600

Seen: 6,281 times

Last updated: Sep 10 '17