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] plane collisions don't work with contact querying on GPU sim #637

Open
arth-shukla opened this issue Oct 19, 2024 · 1 comment
Open
Assignees
Labels
bug Something isn't working

Comments

@arth-shukla
Copy link
Collaborator

Reproduction:

  1. build env (e.g. UnitreeG1Stand-v1)
  2. query contacts between feet and ground
  3. note that contacts work for sub scene 0, but the rest are zeroed out
@arth-shukla arth-shukla added the bug Something isn't working label Oct 19, 2024
@StoneT2000
Copy link
Member

Option 1 to fix is to modify the contact query to make a special condition for the plane collisions (to only check against scene 0s plane collision). The api would save a contact query that uses scene 0's plane collision component

Generally there is no reason someone would model different plane collisions in parallel environments because unless they're parallel they will collide. So we can reasonably expect scene 0 to have any plane collisions and other scenes don't have them.

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