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

Enable distance sensing with SDF geoms #2218

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dyackzan
Copy link

@dyackzan dyackzan commented Nov 7, 2024

Resolves #2216

Copy link

google-cla bot commented Nov 7, 2024

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@yuvaltassa
Copy link
Collaborator

Thanks!

Can you do the CLA thing please? 🙏

@dyackzan
Copy link
Author

Oh I thought I took care of it, is there something more I need to do? I see "✅ All contributors are covered under a CLA with Google" in the check output now: https://github.com/google-deepmind/mujoco/pull/2218/checks

@dyackzan
Copy link
Author

dyackzan commented Dec 2, 2024

Tagging @yuvaltassa @kbayes , could I get a review on this?

@kbayes
Copy link
Member

kbayes commented Dec 2, 2024

@dyackzan, sorry for the delay, but I tried this out, and I don't think it's going to be a viable solution. Can you use convex hulls? The margin trick you see here is going away for a proper GJK implementation to compute geom distances. However, that only supports convex geoms.

@dyackzan
Copy link
Author

@kbayes In the new implementation will there be a solution for computing distances for SDF geometries? For my application I need to used SDF geometries and I need to be able to get the distance to the nearest contact with the distance sensor. If there is another solution to #2216 then I'm ok not merging this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add distance sensing for SDF geoms
3 participants