Multiagent Competitive RL: Collisions not modelled between robots

Official Python bindings with a focus on reinforcement learning and robotics.
Post Reply
jfpettit
Posts: 1
Joined: Wed Oct 28, 2020 12:24 am

Multiagent Competitive RL: Collisions not modelled between robots

Post by jfpettit »

Hi,

I am working on porting a set of multiagent competitive environments (see them here: https://github.com/openai/multiagent-competition) to PyBullet and have run into a weird case where collision between robots in the environment are ignored completely. The robots are able to move right through each other.

I've yet to train an RL agent in the environments, but I've been running random policies to make sure the physics looks right and have come across this problem while moving the robots around with my mouse and by setting their initial positions so that they are near enough to hit each other.

My function in the environment that steps it is lightly modified from here: https://github.com/bulletphysics/bullet ... nvs.py#L64. The modifications are specifically removing the

Code: Select all

if not self.scene.multiplayer:
on L65 and commenting out lines 85 through 95. I'm not sure if either of those modifications may be having some unintended consequences, and if they are, I'm not sure how to fix them.

I'm at a loss trying to figure out why this is happening and greatly appreciate any help.

Thanks!
Post Reply