[FEATURE] Add Fem fixed constraint for implicit solver#1562
Merged
duburcqa merged 74 commits intoGenesis-Embodied-AI:mainfrom Aug 14, 2025
Merged
[FEATURE] Add Fem fixed constraint for implicit solver#1562duburcqa merged 74 commits intoGenesis-Embodied-AI:mainfrom
duburcqa merged 74 commits intoGenesis-Embodied-AI:mainfrom
Conversation
duburcqa
reviewed
Aug 14, 2025
| positions, initial_target_poss, tol=0.0 | ||
| ), "Vertices should stay at initial target positions with hard constraints" | ||
| new_target_poss = initial_target_poss + gs.tensor( | ||
| [[0.1, 0.1, 0.1]], |
Collaborator
There was a problem hiding this comment.
gs.tensor instead of torch.tensor?
Contributor
Author
There was a problem hiding this comment.
I don't see why either one is clearly better than the other.
Collaborator
There was a problem hiding this comment.
I would rather keep gs.tensor where it is truly necessary. But let's move on.
duburcqa
reviewed
Aug 14, 2025
duburcqa
reviewed
Aug 14, 2025
duburcqa
reviewed
Aug 14, 2025
auto-merge was automatically disabled
August 14, 2025 21:43
Head branch was pushed to by a user without write access
winnieyangwannan
pushed a commit
to winnieyangwannan/Genesis
that referenced
this pull request
Sep 14, 2025
Kashu7100
pushed a commit
to Kashu7100/Genesis
that referenced
this pull request
Jan 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Added fixed vertex constraint for implicit solver. Using the same existing api. Does not support attachment to rigid body yet.
Related Issue
Resolves Genesis-Embodied-AI/Genesis#
Motivation and Context
Fixed constraint is useful for some cases. It now support implicit solver.
How Has This Been / Can This Be Tested?
Added two tests.
Screenshots (if appropriate):
477792521-aac3047e-a78b-4144-956b-58f002141162.mp4
477792474-d571c93f-2dc7-4f66-a739-6c8689dce70f.mp4
477792333-052459fb-b89a-4e26-af9f-40b52f5bcb7d.mp4
Checklist:
Submitting Code Changessection of CONTRIBUTING document.