Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: point robot goes through obstacles #44

Open
cpezzato opened this issue May 23, 2023 · 1 comment
Open

Bug: point robot goes through obstacles #44

cpezzato opened this issue May 23, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@cpezzato
Copy link
Contributor

In the pybullet example of point_robot_with_obstacle.py, the point robot does not collide with the obstacles in the rollouts, and can instead go through. This does not happen for the panda robot though.

Checking in the Isaac gym wrapper, the obstacles have collision=true, @c-salmi where could this bug come from then? Also in the point_robot.urdf collision meshes seem okay.

@cpezzato cpezzato added the bug Something isn't working label May 23, 2023
@c-salmi
Copy link

c-salmi commented May 25, 2023

I think it's a similar bug to #39 where the last actor of the environment is not considered for collision checking. I'm still not exactly sure where this comes from, since, as you pointed out, the collision attribute is set to true.

It should be possible to work around it though by adding an actor that's not important, as the last actor in the environment. However, for the pybullet examples this might be more tricky, since the actors are dynamically added (and the simulator is reloaded) when the observation has an obstacle that's not in the world. So the obstacles will always be added last.

I'll think about a nice way to fix it for the pybullet cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants