Multiagent Competitive RL: Collisions not modelled between robots
Posted: Wed Oct 28, 2020 12:45 am
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 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!
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:
I'm at a loss trying to figure out why this is happening and greatly appreciate any help.
Thanks!