How to disable collisions?

Official Python bindings with a focus on reinforcement learning and robotics.
Post Reply
Senpid Sinclair
Posts: 1
Joined: Fri May 04, 2018 7:21 pm

How to disable collisions?

Post by Senpid Sinclair » Fri Jul 20, 2018 11:04 am

I know that collision detection/avoidance is what bullet is all about but I really just want to use it as a visualizer for robot stuff (like rviz but without ros) because it is very easy to setup.

So far for testing I am just loading robots via the URDF loader and they are going crazy when spawned into each other.

Now my question is: How can I either:
a) globally disable collisions or
b) disable collisions per object?

In another thread I found someone recommending setting a flag `CF_NO_CONTACT_RESPONSE` in the C++ code, but I haven't found that one in the pybullet lib and wouldn't know how to apply this. I was hoping that the URDF loader has this somehow as an optional flag, but not from what I saw.

Thanks so much in advance.

Post Reply