-
Notifications
You must be signed in to change notification settings - Fork 3.5k
perf: Implement Fabric-aware get/set_local_poses on FabricFrameView #5516
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
Open
pv-nvidia
wants to merge
26
commits into
isaac-sim:develop
Choose a base branch
from
pv-nvidia:pv/5381-rebased
base: develop
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.
Open
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
6885663
Implement Fabric-aware get/set_local_poses via indexedfabricarray
pv-nvidia 284c0a5
Fix FabricFrameView local-sync and per-selection indices
pv-nvidia 95ba0dd
Some cleanup
pv-nvidia 57821b2
Fixed tests
pv-nvidia 95ea82e
Loosen rebuild-after-topology tolerance to 1e-5
pv-nvidia ae5a10f
Make world-dirty tracking per-view in FabricFrameView
pv-nvidia 2327579
Tighten FabricFrameView lifecycle and verify transpose math
pv-nvidia b03b18d
Add API page for isaaclab_physx.sim.views
pv-nvidia 8cb7c4d
Document isaaclab.utils.warp.fabric kernels
pv-nvidia 2a54a8a
Fix Fabric seed for scaled parents and scaled children
pv-nvidia 0fd5aa6
Test per-view dirty isolation and fix the hierarchy cache key
pv-nvidia 3e2de5f
refactor: use wp.where instead of if/else for broadcast index in Warp…
5f28340
Revert module docstring to upstream one-liner
pv-nvidia 5edd276
Rewrite FabricFrameView class docstring as user-facing contract
pv-nvidia 02c5be0
fix: use GetStageIdAsUInt() instead of GetStageIdAsStageId() for stab…
ead5b70
Revert "fix: use GetStageIdAsUInt() instead of GetStageIdAsStageId() …
b65c298
refactor: move Fabric hierarchy cache from FabricFrameView class-leve…
5732902
simplify: key hierarchy cache on fabric_id_int only, drop stage_id
e00c337
docs: mention multi-GPU as the concrete multi-Fabric scenario
ba72458
cleanup: SimulationContext.get_fabric_hierarchy() owns all Fabric state
5853aa5
cache usdrt stage in SimulationContext, don't re-attach on every call
e75fe51
fix: restore 'import usdrt' in _initialize_fabric
653b3f3
refactor: service locator pattern for Fabric cache, remove usdrt from…
4e4833f
docs: add changelog entries for service locator and FabricStageCache
3dc43e2
call close() on services during teardown (IDisposable pattern)
2a391e9
close existing service when replaced via set_service()
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
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
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,17 @@ | ||
| isaaclab\_physx.sim.views | ||
| ========================= | ||
|
|
||
| .. automodule:: isaaclab_physx.sim.views | ||
|
|
||
| .. rubric:: Classes | ||
|
|
||
| .. autosummary:: | ||
|
|
||
| FabricFrameView | ||
|
|
||
| Fabric Frame View | ||
| ----------------- | ||
|
|
||
| .. autoclass:: FabricFrameView | ||
| :members: | ||
| :show-inheritance: |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| Added | ||
| ^^^^^ | ||
|
|
||
| * Added :func:`~isaaclab.utils.warp.fabric.decompose_indexed_fabric_transforms` | ||
| and :func:`~isaaclab.utils.warp.fabric.compose_indexed_fabric_transforms` | ||
| Warp kernels. They mirror the existing | ||
| ``decompose_fabric_transformation_matrix_to_warp_arrays`` / | ||
| ``compose_fabric_transformation_matrix_from_warp_arrays`` kernels but | ||
| operate on :class:`wp.indexedfabricarray`, so the view-to-fabric mapping | ||
| is baked into the array and the kernel just dereferences | ||
| ``ifa[view_index]`` instead of taking a separate ``mapping`` argument. | ||
| * Added :func:`~isaaclab.utils.warp.fabric.update_indexed_local_matrix_from_world` | ||
| and :func:`~isaaclab.utils.warp.fabric.update_indexed_world_matrix_from_local` | ||
| Warp kernels that propagate ``local = world * inv(parent)`` and | ||
| ``world = local * parent`` directly on Fabric storage matrices (no | ||
| explicit transposes). Used by | ||
| :class:`~isaaclab_physx.sim.views.FabricFrameView` to keep child world and | ||
| local matrices consistent across writes without round-tripping through USD. | ||
| * Added :meth:`~isaaclab.sim.SimulationContext.get_service` and | ||
| :meth:`~isaaclab.sim.SimulationContext.set_service` — a typed singleton | ||
| service locator on :class:`~isaaclab.sim.SimulationContext`. Backend-specific | ||
| caches (e.g. Fabric hierarchy handles) register themselves here instead of | ||
| living as class-level globals. Services are automatically cleared on | ||
| :meth:`~isaaclab.sim.SimulationContext.clear_instance`. |
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.