tud-airlab / mppi-isaac

Model Predictive Path Integral Control using isaacgym for rollouts, gpu-accelerated
166 stars 19 forks source link

Bug: net contact forces are not populated correctly #39

Open cpezzato opened 1 year ago

cpezzato commented 1 year ago

After merging the last changes from the main into ft-add-pushing, collisions with the last actor added in the simulation are ignored. It looks like the net contact forces are not populated correctly.

To reproduce the bug, run heijn_push_server and heijn_push_client

c-salmi commented 1 year ago

Hmm yeah this is a weird bug, I checked the net contact forces and it indeed doesn't work for the last actor.

Things I checked:

Things to investigate:

Edit:

But for now I think you can get around this issue by making sure the last actor of the environment is only for visualization, like the x, y axis.

cpezzato commented 1 year ago

I also just checked the example panda_robot_with_obstacles.py we can go through all obstacles, not only the last one