Repository navigation
[Newton] Enable gravity compensation via Newton's inverse-dynamics API #6408
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
Merged
kellyguo11
merged 17 commits into
isaac-sim:develop
from
hujc7:jichuanh/newton-gravity-compensation
Jul 23, 2026
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
9f39d06
Enable Newton gravity compensation via inverse dynamics
hujc7 ee097bd
Defer Newton pin bump, gate new tests on API availability
hujc7 bdf1831
Bump Newton pin to include inverse dynamics, drop API guards
hujc7 752cc91
Add OSC gravity compensation precision test on Newton
hujc7 6af22b1
Tighten gravity compensation test to settled precision
hujc7 bbdfa49
Make gravity compensation test window-timing robust
hujc7 8190782
Run gravity compensation test with 4 solver substeps
hujc7 6c2cea9
Merge remote-tracking branch 'origin/develop' into jichuanh/newton-gr…
hujc7 07704db
Merge branch 'develop' into jichuanh/newton-gravity-compensation
hujc7 a660f82
Apply joint-ordering permutation in gravity compensation gather
hujc7 21dd344
Merge remote-tracking branch 'origin/develop' into jichuanh/newton-gr…
hujc7 9761bc2
Use has_joint_ordering flag in gravity gather call
hujc7 d152e18
Adapt gravity compensation to refined Newton inverse-dynamics API
hujc7 e024258
Add noise floor to OSC precision stationarity guard
hujc7 684c70a
Compose flat DoF starts on device in gravity gather
hujc7 1ef2733
Address self-review findings on tests and naming
hujc7 94ed363
Source gather topology arrays from the view's model at read time
hujc7 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
7 changes: 7 additions & 0 deletions
7
source/isaaclab/changelog.d/jichuanh-newton-gravity-compensation.rst
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| Changed | ||
| ^^^^^^^ | ||
|
|
||
| * Changed task-space action docstrings that advised keeping gravity compensation | ||
| disabled on the Newton backend — :attr:`~isaaclab.assets.BaseArticulationData.gravity_compensation_forces` | ||
| is now implemented on Newton, so ``gravity_compensation`` / | ||
| ``enable_gravity_compensation`` may be enabled on both backends. |
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
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
8 changes: 8 additions & 0 deletions
8
source/isaaclab_newton/changelog.d/jichuanh-newton-gravity-compensation.minor.rst
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| Added | ||
| ^^^^^ | ||
|
|
||
| * Added the Newton implementation of | ||
| :attr:`~isaaclab.assets.BaseArticulationData.gravity_compensation_forces`, backed by | ||
| Newton's inverse-dynamics API (``eval_inverse_dynamics_passive``). The accessor previously | ||
| raised ``NotImplementedError`` on the Newton backend; gravity compensation in | ||
| task-space controllers (operational-space control, Pink IK) now works on Newton. |
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
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.
Uh oh!
There was an error while loading. Please reload this page.