-
Notifications
You must be signed in to change notification settings - Fork 458
[Draft] Apply ALM hard constraints to VBD rigid bodies #2327
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
Draft
jumyungc
wants to merge
61
commits into
newton-physics:main
Choose a base branch
from
jumyungc:vbd-contact-lambda
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 50 commits
Commits
Show all changes
61 commits
Select commit
Hold shift + click to select a range
83ce92f
prismatic + revolute.
jumyungc 1b1c4a1
Consistent implementation of ball, fixed, revolute, prismatic.
jumyungc 890454a
Added prismatic and revolute joint drive.
jumyungc 2f0d060
List joint type:cable in xpbd for warning suppression.
jumyungc 6cd42b2
D6 trial.
jumyungc e8b33c1
Merge remote-tracking branch 'origin/main' into vbd-prismatic-revolute
jumyungc 8fdc391
Testing D6.
jumyungc bc5a5ae
Merge branch 'refs/heads/main' into vbd-prismatic-revolute
jumyungc f41dc87
More unit tests.
jumyungc 037d3d9
VBD joint refactor.
jumyungc 9b2c567
Support joint_enabled.
jumyungc ecb8728
Merge branch 'main' into vbd-prismatic-revolute
jumyungc 1ca16bb
Removed uncovered test.
jumyungc 42cb226
Merge branch 'main' into vbd-prismatic-revolute
jumyungc bf59254
Clean up examples.
jumyungc 421f03f
Make prev_pose more robust against eval_fk and kinematic interruption.
jumyungc 6166b88
drive and limit kd: use vbd convention.
jumyungc c10adc3
Zero ke, non-zero kd not supported according to vbd convention.
jumyungc 6f879c3
Merge branch 'refs/heads/main' into vbd-prismatic-revolute
jumyungc d5dcd08
Merge branch 'vbd-prismatic-revolute' of https://github.com/jumyungc/…
jumyungc 92c148a
Merge branch 'main' into vbd-prismatic-revolute
jumyungc b151bd6
Updated feature matrix.
jumyungc 312a38b
Removed didactic examples.
jumyungc e96377c
Merge branch 'main' into vbd-prismatic-revolute
jumyungc 1cbdbf9
Updated missing docstring.
jumyungc bad6c62
Merge branch 'main' into vbd-prismatic-revolute
jumyungc b92ca1f
Merge branch 'main' into vbd-prismatic-revolute
jumyungc 02335ed
Reflected reviews.
jumyungc 2340606
Merge branch 'refs/heads/main' into vbd-prismatic-revolute
jumyungc 911b669
Merge branch 'refs/heads/main' into vbd-prismatic-revolute
jumyungc 29f3857
Merge branch 'refs/heads/main' into vbd-prismatic-revolute
jumyungc f821ee8
Joint constraint refactor.
jumyungc 898598f
Merge branch 'refs/heads/main' into vbd-prismatic-revolute
jumyungc 515ef48
Updated basic_urdf.
jumyungc 1054c78
Merge branch 'refs/heads/main' into vbd-prismatic-revolute
jumyungc 3d03e93
Fix VBD drive/limit targets ignoring rest-pose angle offsets from eva…
jumyungc 72ac32e
Merge branch 'refs/heads/main' into vbd-prismatic-revolute
jumyungc c530de6
Merge branch 'refs/heads/main' into vbd-prismatic-revolute
jumyungc 0848e39
VBD hard-constraint: fixed-k ALM
jumyungc 7f422ed
Contact and friction improvement. Lazy allocation
jumyungc f96f066
Merge branch 'main' into vbd-contact-lambda
jumyungc 902c533
Polished rigid body VBD.
jumyungc de6bce2
Fixed minor formatting.
jumyungc 936b4ba
Merge branch 'main' into vbd-contact-lambda
jumyungc 4a7f654
Fixed examples
jumyungc 61cc806
Fixed examples
jumyungc 3cee83e
Merge branch 'refs/heads/main' into vbd-contact-lambda
jumyungc 477a150
Warmstart force-off for soft penalty contact
jumyungc 0daf011
Rigid contact warmstart default off
jumyungc c8e6ef8
Updated images
jumyungc b923caf
ramping penalty + hard constraints
jumyungc f377013
minor format
jumyungc 300a56b
minor format
jumyungc 34af9e2
Replace Schur 6x6 solve with direct LDL^T, strengthen contact matching
jumyungc ad6f7a1
Merge main
jumyungc 13171c0
Updated change log
jumyungc 8714f1f
Minor test change
jumyungc ff33830
Minor test change
jumyungc 170a564
Merge branch 'refs/heads/main' into vbd-contact-lambda
jumyungc ca600ab
Cuda graph issue fixed for stale velocity
jumyungc e4125d4
Merge branch 'refs/heads/main' into vbd-contact-lambda
jumyungc File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Default
stretch_stiffnesssilently reduced by 5 orders of magnitudeThis changes the default from
1.0e9to1.0e4. The same change also appears inadd_rod()(line 6424) andadd_rod_graph()(line 6602).Most users rely on the default since the examples omit
stretch_stiffness. After this PR, every simulation using cables or rods will behave differently without any explicit opt-in. The rationale (ALM hard constraints now handle stretch enforcement) makes sense, but the silent nature of the change is risky.At minimum this needs a
Changedentry inCHANGELOG.mdexplaining the new default and why. Consider whether a one-release deprecation warning is warranted given the magnitude of the behavior shift, for example: