Contact sensor not sensing collisions in Bullet Physics engine

asked 2016-11-16 16:52:26 -0500

Francis123 gravatar image

updated 2016-11-16 16:53:50 -0500


So I am having problems running tests using the Bullet physics engine through Gazebo. Initially I set up a world with the ODE physics engine, a block model with a contact sensor and another block model both floating in space. I created a model plugin that pushed the block with the contact sensor towards the other block, once the blocks collied I got data from the contact sensor. Now I have set up a world file with these physics properties

<physics type="bullet">
            <gravity> 0.0 0.0 0.0</gravity>

Keeping everything else the same, and for some reason when the blocks collide I do not get any information from my contact sensor with regards to a collision occurring. Its as if nothing happened, however visually the models bounce of each other since they are floating in space.

I was hoping maybe some one could explain to me why I am getting no data. Could it be because of my physics properties? Or could it be because my control plugin doesnt have something set with respect to Bullet? I would assume the the control plugin used to detect collision when running the program in ODE should also work in Bullet.

Any help would be greatly appreciated :)

Thanks Francis123

edit retag flag offensive close merge delete


Hi, Did you manage to resolve this issue, I am currently experiencing the same behaviour. If you have any results i would aprreciate it,

lenny gravatar imagelenny ( 2017-05-19 03:49:39 -0500 )edit