Repository navigation
Add fused OVPhysX joint-state writer - #6513
Merged
AntoineRichard merged 1 commit intoJul 15, 2026
Merged
AntoineRichard merged 1 commit into
AntoineRichard merged 1 commit into
Conversation
Reduce reset-time device launches by updating joint position, joint velocity, the finite-difference baseline, and the acceleration cache in one Warp kernel. Preserve the two required OVPhysX tensor binding writes.
AntoineRichard
marked this pull request as ready for review
July 14, 2026 09:38
Contributor
ooctipus
approved these changes
Jul 15, 2026
7 of 8 tasks
matthewtrepte
pushed a commit
to matthewtrepte/IsaacLab
that referenced
this pull request
Aug 4, 2026
# Description Adds Articulation.write_joint_state_to_sim_index to the OVPhysX backend. The existing reset path updates the same state through separate position and velocity writers. That requires four Warp cache-update kernels: one for position, then three for velocity, the finite-difference baseline, and acceleration zeroing. The new writer performs those cache updates in one kernel while preserving the two OVPhysX tensor-binding writes required to update DOF position and velocity. The method preserves the existing semantics: - resolves partial environment and joint indices through the standard OVPhysX helpers - updates joint position and velocity caches - synchronizes the previous-velocity baseline and zeros selected joint accelerations - stamps the joint-acceleration cache - invalidates pose and velocity dependents once unless skip_forward is requested - leaves unselected environments and joints unchanged This is a focused OVPhysX backend PR. It has no dependency on isaac-sim#6512, although the compatibility path there can use this method automatically when both changes are present. ## Type of change - New feature (non-breaking change which adds functionality) ## Validation - Focused CPU OVPhysX tests: 3 passed, 207 deselected - The modified integration test fails on origin/develop with the expected missing-method AttributeError - Changelog gate: ./isaaclab.sh -p tools/changelog/cli.py check develop - Full pre-commit: ./isaaclab.sh -f - Full documentation build was attempted but remained silent for several minutes and was terminated; the public API docstring and RST cross-reference checks pass ## Screenshots Not applicable. ## Checklist - [x] I have read and understood the contribution guidelines - [x] I have run the pre-commit checks with ./isaaclab.sh -f - [x] I have documented the public API and added a changelog fragment - [x] My changes generate no new warnings - [x] I have added tests that prove the feature works - [x] I have added a changelog fragment under source/isaaclab_ovphysx/changelog.d/ - [x] My name already exists in CONTRIBUTORS.md
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
Adds Articulation.write_joint_state_to_sim_index to the OVPhysX backend.
The existing reset path updates the same state through separate position and velocity writers. That requires four Warp cache-update kernels: one for position, then three for velocity, the finite-difference baseline, and acceleration zeroing. The new writer performs those cache updates in one kernel while preserving the two OVPhysX tensor-binding writes required to update DOF position and velocity.
The method preserves the existing semantics:
This is a focused OVPhysX backend PR. It has no dependency on #6512, although the compatibility path there can use this method automatically when both changes are present.
Type of change
Validation
Screenshots
Not applicable.
Checklist