Skip to content

Refresh link kinematics before PhysX and OVPhysX sensor pose reads - #8663

Closed
NeoZng wants to merge 6 commits into
isaac-sim:mainfrom
NeoZng:fix/physx-sensor-stale-link-poses
Closed

NeoZng wants to merge 6 commits into
isaac-sim:mainfrom
NeoZng:fix/physx-sensor-stale-link-poses

Conversation

@NeoZng

@NeoZng NeoZng commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Description

Fixes #8662

On the GPU pipeline of isaacsim_physx and ovphysx, an articulation root or joint state write only marks the
link kinematics dirty. PhysxManager.update_kinematics() / OvPhysxManager.update_kinematics() bring the child
links up to date, and ArticulationData calls it from its body pose and velocity getters. Several sensors read the
same link states from their own physics views without it, so the first read after a write, before the next physics step,
returns the previous pose (and, for Imu and Pva, velocity) of articulation child links. Inside
ManagerBasedRLEnv.step() and DirectRLEnv.step() the resets write the new state and the observations are computed
before the next physics step, so the first observation of every episode that starts inside step() uses the previous
episode's final link poses. Imu and Pva report their reset values after their own reset until the next step (the
timestamp guard from #5782), so for them it is the other state writes before a read, such as the push_robot
interval event of the velocity tasks, which writes root velocities after the resets and before the observations. No
registered task uses Imu or Pva. Root links and the CPU pipeline are not affected.

#8765 already refreshes the kinematics for the ray casters (PhysX and OVPhysX, sensor frames and tracked targets) and
for the TacSL force field. This PR now covers the remaining read sites.

This PR calls the manager's update_kinematics() right before each raw link-pose read, the way ArticulationData
does and the way #7523 fixed the Newton ray casters, instead of adding a sim.forward() to the environment loops:

  • PhysX: FrameTransformer, ContactSensor with track_pose, and the link pose and velocity reads of Imu and
    Pva.
  • OVPhysX: the same sensors, plus OvPhysxFrameView, through which cameras read their poses, including
    Camera.get_world_poses().

The call is a no-op unless a write left the kinematics dirty, and it runs the same update that reading
ArticulationData.body_link_pose_w would run. With nothing dirty the extra calls cost nothing measurable
(11.8-12.3 ms against 12.4-12.5 ms per step without resets); on Isaac-Velocity-Rough-H1 with 1024 environments and
about 100 resets per step, the one update that runs leaves the step time within run-to-run noise (15.0-15.5 ms against
15.7 ms on develop). Both are two timed runs of 300 environment steps with zero actions, after at least 30 warm-up
steps, on an NVIDIA RTX PRO 5000 Blackwell with Isaac Sim 6.2.0. All calls are host-side and outside any CUDA-graph capture or recorded
launch. On PhysX, the contact sensor fetches its transforms before it replays its graph, and only the
FrameTransformer, Imu and Pva record launches, which run after the reads; the OVPhysX sensors launch
eagerly. On both backends, root and joint states over the 5 environment steps after
a reset that creates new contacts are bit-identical with and without the extra update, so the update changes only
what the sensors report. The update also clears the link accelerations and incoming joint wrenches of the written
articulations (other articulations keep theirs), so Imu and Pva read after a write report no solver acceleration,
and a later JointWrenchSensor read or ArticulationData.body_joint_wrench no joint wrench, for them until the next
physics step, as on develop whenever an ArticulationData body getter ran first.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Release backport

  • Backport this pull request to the active release branch after it merges into develop

The changed read sites and update_kinematics() are identical on release/3.0.0; the change applies there (one test
import block needs a 3-way merge). The ray-caster and TacSL parts come with the backport of #8765.

Screenshots

Not applicable.

Validation

New regressions, one per sensor family and backend: a sensor on an articulation child link, a joint or root state
write, then an immediate sensor read compared with robot.data (body_link_pose_w, and the link angular velocity
for Imu and Pva). Each fails on main by about the size of the write and passes with this change:

  • isaaclab_physx/test/sensors: test_frame_transformer_reads_link_pose_after_joint_write,
    test_track_pose_reads_link_pose_after_joint_write, and test_reads_link_state_after_joint_write in test_imu.py
    and test_pva.py (Imu.ang_vel_b; the Pva pose and ang_vel_b; on the pendulum's child link after a joint
    state write)
  • isaaclab_ov/test/sensors: the same frame-transformer, contact-sensor, IMU and PVA tests (the PVA
    test builds a two-link articulation procedurally, as that file avoids Nucleus assets)
  • isaaclab_ov/test/sim/test_views_xform_prim_ovphysx.py: test_world_poses_follow_articulation_joint_write
    (OvPhysxFrameView.get_world_poses(), which Camera.get_world_poses() returns)

The full files pass with this change (Isaac Sim 6.2.0, ovphysx 0.6.4, main 8c9b995):

File Result
isaaclab_physx/test/sensors/test_frame_transformer.py 8 passed
isaaclab_physx/test/sensors/test_contact_sensor.py 25 passed
isaaclab_physx/test/sensors/test_imu.py 6 passed
isaaclab_physx/test/sensors/test_pva.py 6 passed
isaaclab_physx/test/sensors/test_imu_pva_recorded_launch.py 8 passed
isaaclab_ov/test/sensors/test_frame_transformer.py, test_contact_sensor.py, test_imu.py, test_pva.py, and isaaclab_ov/test/sim/test_views_xform_prim_ovphysx.py 108 passed, 4 skipped

On Isaac Sim 6.2.0, in uv environments synced from each branch's uv.lock, the repro in #8662 reports 0.000 m for
all three sensors with this change, against 0.308 m on PhysX and 0.310 m on OVPhysX on develop (9b6d2d8) and
0.308 m on PhysX on release/3.0.0 (b63cbde). The Imu and Pva readings listed in #8662 (up to 0.414 m, 1.53 rad and 2.00 rad/s off) match
ArticulationData exactly with this change on both backends. The repository's pre-commit hooks pass.

Related

Checklist

  • I have read and understood the contribution guidelines
  • I have run the pre-commit checks with uv run isaaclab --format
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have validated the changed behavior with focused coverage and applied the test-audit criteria to any test changes
  • I have added a changelog fragment under source/<pkg>/changelog.d/ for every touched package (do not edit CHANGELOG.rst or bump package versions — CI handles that)
  • I have added my name to the CONTRIBUTORS.md or my name already exists there

On the GPU pipeline, articulation root and joint state writes only mark the
link kinematics dirty. ArticulationData brings the child links up to date
through update_kinematics() before it reports body poses and velocities, but
the ray casters, frame transformers, contact-sensor pose tracking, the IMU
and PVA sensors, the OVPhysX frame view behind camera poses and the contrib
visuo-tactile sensor read the same link states from their own physics views
without it. After a reset inside step(), the first observation therefore
used the previous pose of articulation child links. The IMU and PVA sensors
report reset values until the next step after their own reset, but after
other state writes, such as velocity pushes, they reported the previous link
pose and velocity.

Call the manager's update_kinematics() right before each of these raw reads,
as ArticulationData does. The call is a no-op unless a write is pending and
runs outside any CUDA-graph capture or recorded launch.

Add regressions that read each sensor family right after a joint or root
state write on PhysX and OVPhysX.
@NeoZng
NeoZng requested a review from a team October 16, 2026 08:49
@github-actions github-actions Bot added bug Something isn't working isaac-lab Related to Isaac Lab team labels Oct 16, 2026

@isaaclab-review-bot isaaclab-review-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isaac Lab Review Bot

Needs attention: Design and architecture (1), Implementation (1). Other reviewed categories look good.

  • PR description: The title and body match the 28-file diff, but trim history and pass tables and add hardware, command, warmup, and sample counts for both performance claims.
  • Design and architecture: The contrib sensor bypasses shared backend dispatch with a module-level PhysxManager import, coupling it to PhysX; call SimulationManager.update_kinematics() and remove the import.
  • Scope and over-engineering: No over-engineering issues.
  • API: API changes look good.
  • Compatibility and deprecation: No breaking changes identified.
  • Implementation: Both ray-caster tracked-mesh loops call update_kinematics() once per view, adding redundant host work; hoist one refresh before each loop.
  • Style consistency: Style consistency looks good.
  • Test quality: Test quality looks good.

Minor fixes needed. Posted 2 inline findings.

Automated review; human maintainers own approval decisions.

import numpy as np
import torch
import warp as wp
from isaaclab_physx.physics import PhysxManager

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Warning · Design Architecture — Contrib sensor hard-binds to PhysX manager

This module-level isaaclab_physx import makes a backend-neutral contrib sensor require the PhysX package and selects a backend outside shared dispatch. Every other changed site calls SimulationManager.update_kinematics(); use that and drop the import.

continue

# Tracked targets can be articulation links with pending writes.
PhysxManager.update_kinematics()

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Warning · Implementation — Kinematics refresh repeated per tracked target

The call is loop-invariant inside _update_mesh_transforms, so it runs once per tracked mesh view each update instead of once; the OVPhysX mixin repeats this at isaaclab_ov/.../ray_caster.py:233. Hoist both above the loop.

@greptile-apps

greptile-apps Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 4/5

[Medium impact] Adds kinematics refresh calls to sensor pose reads.

Move the tactile sensor's new Kit-dependent import into its force-field method before merging.

Findings

  1. P1 Sensor imports now require Kit ▶

Summary

Refreshes pending articulation writes before PhysX and OVPhysX sensors read link poses and velocities.

  • Sensors report current articulation link state after a write.
  • The tactile sensor follows the elastomer's latest pose.

NeoZng explicitly acknowledges that refreshing written articulations clears their solver accelerations and incoming joint wrenches until the next physics step. This is intentional and matches an ArticulationData body read.

Diagram

%%{init: {'theme': 'neutral'}}%%
flowchart LR
    A[Root or joint state write] --> B[Link kinematics marked dirty]
    B --> C[Sensor pose or velocity read]
    C --> D[update_kinematics]
    D --> E[Read refreshed link state]
    E --> F[Compute sensor output]
Loading

Reviews (1) · Last reviewed commit: "Refresh link kinematics before PhysX and..." · Reviewed by Greptile

import numpy as np
import torch
import warp as wp
from isaaclab_physx.physics import PhysxManager

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Sensor imports now require Kit

Importing VisuoTactileSensor now loads PhysxManager, whose module immediately imports omni.kit.app, omni.physx, and usdrt. In a Kit-less environment, importing the sensor class fails before the caller can use or inspect it, even without reading its force field. Move this import into _update_force_field, where the new call is needed.

…targets once

Importing the PhysX manager at module level made importing VisuoTactileSensor
require Kit. Import it in _update_force_field, its only user.

The multi-mesh ray casters refreshed the kinematics once per tracked target
view. Refresh them once before the loop when any target is tracked.
@kgu42

kgu42 commented Oct 20, 2026

Copy link
Copy Markdown
Collaborator

At 8d33771, test_ray_caster_graph.py fails before CUDA graph capture because _make_ray_caster() constructs the sensor without _backend_manager.
Adding this line to the fixture made capture and replay pass locally:
sensor._backend_manager = SimpleNamespace(update_kinematics=lambda: None)
Could you include this fixture update?

@NeoZng

NeoZng commented Oct 21, 2026

Copy link
Copy Markdown
Contributor Author

@kgu42 Thanks, added in 51ba7ac. test_imu_pva_recorded_launch.py builds its sensors the same way and needed the same stub, so it is included too.

ooctipus added a commit that referenced this pull request Oct 22, 2026
## Description

Specialized consumers rediscovered scene bodies or assumed every cloned
environment had USD geometry. Sensor reads could also retain
articulation poses from before a state write, or bind different sites
after a Newton hard reset. This change uses existing scene ownership and
repairs those lifecycle boundaries.

- **Ray casters:** bind tracked meshes and OVPhysX sensor frames to
exact native body paths. The shared ray-caster initializer resolves the
scene-data provider once; leaf consumers use that bound dependency.
Persistent `int32` index arrays use `-1` for static and padded slots,
with one per-slot check in Warp and a separate all-static fast path.
Missing native target bodies produce an error naming the target and
body.
- **Pose writes and environment coverage:** refresh pending articulation
kinematics before PhysX ray-caster frame reads and TacSL force-field
reads. Require one ray-caster mount per environment before allocating
ray output buffers; preserve heterogeneous target counts and padded
target slots.
- **Newton hard resets:** retain builder-owned sites, replace native
IMU/frame-transform sensor objects with the model, and expand frame
names from configuration on each initialization. Remove the duplicated
target-name field.
- **TacSL:** resolve the authored contact mesh and destination
expression from clone sources, including custom namespaces, and require
exactly one SDF mesh.
- **cuRobo:** import the selected world's source geometry when its
native copy has no USD prims. A temporary USD projection feeds the
existing importer and is discarded after initialization; asset data
supplies dynamic poses.

Remove six private wrappers and duplicate pose-buffer fields. Newton
keeps one sensor-site label, and PhysX allocates pose buffers directly
in Warp. No new public configuration fields, production modules, or
runtime resource owners.

**Size:** production **+244 / −737** (net **−493**); whole PR **+801 /
−910** (net **−109**), including regression coverage, documentation, and
changelogs. No new test files.

## Related fixes and scope

- Covers the exact body/environment mapping problems in #8678 and #8676
through the shared provider, with consolidated heterogeneous-link and
native-clone regression scenes.
- Incorporates the site/reset lifecycle fixes from #8674.
- Includes the ray-caster and TacSL read paths from #8663, and the
ray-caster mount validation from #8655. Their changes to other sensor
families remain separate. Missing target meshes remain supported by
padded slots.
- The output reshapes proposed by #7034 are already corrected in this
base. Its remaining stricter input-layout policy stays in that utility
PR.
- No unmerged PR dependency is required.

Fixes #8677.
Fixes #8675.
Fixes #8673.

## Validation at `9db57d446`

GPU0 / RTX 5090, **62 focused tests passed**:

- PhysX ray-caster integration: 9; standard ray-caster graph tests: 5.
- OVPhysX ray casters: 2, including 16 interleaved articulation
environments and rejection of partial native mounts.
- Newton ray casters: 8; site/index/lifecycle tests: 12, including three
hard resets at both one and two environments with ray caster, IMU, PVA
and frame transformer.
- TacSL: 10, including custom clone namespaces and tactile points
immediately after an articulation root write.
- Ray-caster kernel and ownership gates: 16.

The new pose-write, mount-count, tactile-write and hard-reset
regressions fail on the previous head `338d3161` and pass with this
change. The consolidated PhysX scene also rejects a deliberate mutation
that lets `-1` slots consume a body transform: its missing-target ray
incorrectly hits at 1 m instead of the static ground.

A central existence/ownership audit checked all 13 changed production
modules: the existing file tree is retained, old target-view hooks
remain absent, leaf consumers do not rediscover the provider, and Newton
STOP callbacks do not register sites again. `uv run isaaclab -f`, the
changelog gate against `73f275291`, and `git diff --check` passed.

Tests stay in the existing suites. Exact SDF-count assertions reject a
broken-discovery mutation that passed the former loose assertion. The
Newton reset and OV ray-caster cases honor the runtime GPU mask and
passed on `cuda:1`.

**Broader suite limitation from the expansion validation:** the broader
Newton frame-transformer file has 1 passing case and 2 failures
compiling MuJoCo Warp's tiled Cholesky kernel (`nvJitLink` error 6 /
NVVM container error). The same two cases fail on unchanged `338d3161`,
before this expansion; the focused hard-reset/name regression passes.
These compiler failures remain visible rather than being skipped.

The unchanged cuRobo implementation retains the previously recorded five
native-Newton obstacle-planning cases and PhysX pick-and-stack
validation.

## Simplification performance check

Compared `3808d2361` → `9db57d446` on GPU0 / RTX 5090 at 1,024
environments and 441 rays per environment, with the same workload and
sampling method recorded below. Three alternating fresh-process pairs
measured median paired refresh / full-step changes of **−7.3% / −3.0%
for PhysX** and **−3.2% / +0.2% for Newton**. PhysX varied between
processes: refresh changes ranged from −17.8% to +17.4%, and full-step
changes from −12.3% to +5.4%. One additional native-Newton control pair
measured +0.6% / +0.3%. **All seven paired hit buffers matched
bit-for-bit.** Training FPS was not measured.

<details>
<summary>Earlier performance measurements, startup costs, and pinned
methodology</summary>

## Expansion performance check

Compared `338d3161` → `3808d2361` on GPU0 / RTX 5090, using the same
four-cube, 441-ray workload as below at 1,024 environments. Three fresh
process pairs alternated revision order; each used 30 warm-up steps, 100
synchronized refresh samples, and five batches of 100 complete steps.
These are **median paired changes**:

- Newton, four targets: refresh **+0.6%**, full step **0.0%**.
- OVPhysX, four targets: refresh **−2.6%**, full step **−2.8%**.
- PhysX, four targets: refresh **−1.6%**, full step **+8.4%** in the
short runs.
- PhysX, one tracked target: refresh **−5.7%**, full step **+1.5%**.

The short PhysX full-step increase did not persist at that size in a
longer confirmation: three new alternating pairs, 200 warm-up steps, 500
refresh samples, and 20 batches of 500 complete steps measured median
paired changes of **+0.5% refresh and +1.6% full step**. Full-step
changes ranged from **−5.2% to +2.9%**. All 12 initial paired hit
buffers and all three confirmation pairs matched bit-for-bit. These
checks do not establish a new training/FPS claim.

## Original scene-binding performance

**Four-target sensor refresh took 18–52% less time.** The full
physics-and-sensor loop ranged from 16.5% less time to 0.7% more time.
Startup did not uniformly improve: Newton at 1,024 environments added
0.26 s, and OVPhysX added 0.10–0.45 s.

Before (`73f275291`) → PR (`c893dd599`), on GPU0 / RTX 5090. Lower is
better. This is a synthetic ray-caster workload with four rigid cubes
and one 441-ray grid per environment; task/training FPS was not
measured.

| Physics | Environments | Initialization (s) | Sensor refresh (ms) |
Physics + sensor step (ms) |
|---|---:|---:|---:|---:|
| Newton MJWarp | 1,024 | 3.31 → 3.57 | 0.359 → 0.172 | 0.356 → 0.320 |
| Newton MJWarp | 4,096 | 4.03 → 4.02 | 0.543 → 0.391 | 0.714 → 0.719 |
| OVPhysX | 1,024 | 2.48 → 2.58 | 0.372 → 0.284 | 1.392 → 1.394 |
| OVPhysX | 4,096 | 6.28 → 6.73 | 0.623 → 0.513 | 1.776 → 1.590 |
| PhysX (Kit) | 1,024 | 1.75 → 1.72 | 0.471 → 0.328 | 1.186 → 0.990 |
| PhysX (Kit) | 4,096 | 3.29 → 3.25 | 0.721 → 0.572 | 1.462 → 1.379 |

The multi-target gain comes from replacing separate target views/updates
with one gather. OVPhysX now initializes its shared body table when the
ray caster first requests it, which adds startup work when no earlier
consumer has created that table. The benefit depends on target count:
the longer one-target PhysX / 4,096 check measured median paired changes
of **+5.4% for refresh (about 0.020 ms) and +1.2% for the full loop**.

<details>
<summary>One-target and native ray-caster controls</summary>

The one-target cases retain all four bodies in the scene but track only
one. Native cases use Newton’s BVH ray caster, with and without its
query CUDA graph.

| Control | Environments | Sensor refresh (ms) | Physics + sensor step
(ms) |
|---|---:|---:|---:|
| Newton native / query graph | 1,024 | 0.082 → 0.082 | 0.282 → 0.280 |
| Newton native / query graph | 4,096 | 0.241 → 0.238 | 0.551 → 0.553 |
| Newton MJWarp / one target | 1,024 | 0.157 → 0.123 | 0.272 → 0.266 |
| Newton MJWarp / one target | 4,096 | 0.211 → 0.210 | 0.480 → 0.482 |
| OVPhysX / one target | 1,024 | 0.219 → 0.226 | 1.323 → 1.343 |
| OVPhysX / one target | 4,096 | 0.320 → 0.322 | 1.540 → 1.518 |
| PhysX (Kit) / one target | 1,024 | 0.266 → 0.275 | 1.024 → 1.009 |
| PhysX (Kit) / one target | 4,096 | 0.365 → 0.368 | 1.152 → 1.239 |
| Newton native / eager query | 1,024 | 2.884 → 2.874 | 3.008 → 3.065 |
| Newton native / eager query | 4,096 | 2.945 → 2.910 | 3.024 → 3.001 |

The initial one-target PhysX / 4,096 loop median was 1.152 → 1.239 ms
(+7.6%). A longer confirmation used three fresh pairs, 200 warm-up
steps, 500 refresh samples, and 20 batches of 500 steps. Paired refresh
changes ranged from −3.6% to +8.0% (median +5.4%); paired loop changes
ranged from −5.4% to +1.6% (median +1.2%). The initial 7.6% full-loop
slowdown did not persist.

</details>

**Method:** Median of three fresh processes per revision, alternating
base/head order, with the same locked dependencies and warm caches. Each
process used 30 warm-up steps, 100 GPU-synchronized sensor-refresh
samples, and five batches of 100 physics + scene-update + sensor-read
steps (dt=0.01 s, zero gravity, no rendering). Newton physics used CUDA
graphs; multi-mesh reads were eager. Initialization covers
simulation/scene construction, reset, and the first sensor read;
launcher startup and deferred first-physics-step graph capture are
excluded. All 48 measured before/after hit-buffer pairs, plus the three
longer confirmation pairs, matched bit-for-bit.

**Additional consumer initialization:** in the existing PhysX cube-stack
fixture, cuRobo collision-world import took **4.94 → 42.67 ms** (median
of five alternating warm samples, GPU-synchronized). All three obstacle
geometries and poses matched. The temporary source projection adds about
**38 ms once per planner**; it adds no per-step work. This is import
time, not full planner startup or training FPS. The original ray-caster
measurements above are pinned to `c893dd599`.

</details>

## Type of change

- Bug fixes and internal refactoring; existing supported configurations
retain their fields and construction API.

## Checklist

- [x] Read the contribution guidelines.
- [x] Ran formatting and changelog checks.
- [x] Extended or consolidated existing regressions using the test-audit
criteria.
- [x] Audited the production file tree and ownership boundaries.
- [x] Recorded numerical/performance evidence and the pre-existing
compiler limitation.
ooctipus added a commit that referenced this pull request Oct 23, 2026
# Description

Newton PVA and frame readers could return stale state after root/joint
writes. The existing manager-owned lazy state accessor now resolves
pending kinematics, including for frame reads through
`SceneDataProvider`.

Reset establishes valid cleared measurement outputs. Reading that cache
leaves sampling clocks untouched; the first positive-time update
requests a measurement, then normal cadence resumes. Pose, ray, and
image queries explicitly invalidate their derived caches during
initialization/reset. `SensorBase` owns this lifecycle without
sensor-type policy flags, and native kernels consume its masks without
repeating readiness checks.

Native bindings validate environment coverage instead of resizing shared
rows and clocks. PhysX-mounted camera views use the native scene
publisher and derive newly initialized mount matrices from live parent
poses before the first read. Fabric selections retain ownership of
matrix initialization; unused writable-parent seeding support is
removed. RTX marker and runtime mesh edits explicitly invalidate the
source camera cache so zero-time renders can see the edit without
advancing sampling clocks.

All five linked bugs are fixed by this PR. This completes the remaining
main-branch sensor work from #8663 and #8655 after #8765. Release-branch
backports require separate coordination.

Fixes #8662
Fixes #8654
Fixes #8652
Fixes #8643
Fixes #8664

## Type of change

- Bug fix (non-breaking change which fixes an issue)

## Validation

- CI follow-up: 136 passed, 5 expected skips across the scheduler,
renderer-context, visualizer-adapter, the full RTX integration file (7
passed), and both GPU-1 Fabric configurations. The existing RTX
integration test covers marker visibility/prototype changes and runtime
geometry/material/texture edits.
- Multi-GPU CI explicitly sets `ISAACLAB_FABRIC_USE_GPU_INTEROP=0`. The
native GPU Fabric test now declares that capability requirement: GPU 1
with interop enabled passes all 25 cases; disabled interop passes 24 and
skips only the native GPU Fabric case. All pose assertions are retained.
The other 4 skips are GPU-only adapter cases in the CPU-only run.

- Updated-main validation (`41480b9fc`): 184 passed, 3 existing
non-default-GPU skips, and 2 existing compiler failures described below.
Includes full Fabric/Newton/OV frame-view suites, scheduler, renderer,
camera, Newton PVA, and manager capture/reset checks.
- The existing Fabric fixture checks a body, its mount, a mount created
after motion, and same-step native writes without `forward()`. The
mounted-camera tests check pose and depth after motion, state writes,
and resets. Removing the native initialization projection makes the
mount assertion fail on the first read.
- The existing manager contract exercises pending FK/reset work during a
real graph capture and verifies that subsequent fresh reads consume it
once. Architecture gates reject reset-policy flags, duplicate
scheduling, leaf `forward()` calls, and retired Fabric seeding paths.
- Passed formatting, changelog validation, and a file-by-file ownership
audit. Production changes: 166 additions / 280 deletions across 41
existing files, with no new production modules.
- Known local limitation: the two Newton
`test_frame_transformer_duplicate_body_names` cases hit `nvJitLink` /
`nvvmAddNVVMContainerToProgram` compilation errors. Both failures also
reproduce with all changed Python files restored to current `main`
(`41480b9fc`). The changed frame-transformer freshness case passes.

## Checklist

- [x] I have read and understood the contribution guidelines.
- [x] I have run the pre-commit checks with `uv run isaaclab --format`.
- [x] I have updated the relevant documentation and changelog fragments.
- [x] My changes introduce no new production warnings.
- [x] I have validated the changed behavior and applied the test-audit
criteria.
- [x] I have added a changelog fragment for every touched package.
- [x] My name already exists in `CONTRIBUTORS.md`.
@ooctipus

Copy link
Copy Markdown
Collaborator

Closing as superseded by merged #8780. Together with merged #8765, the PhysX and OVPhysX sensor-read fixes are now covered on main, including child-link poses and velocities after state writes and OVPhysX camera frame reads. #8662 is closed as completed.

The requested release/3.0.0 backport remains separate work; this closure records the main-branch fix.

@ooctipus ooctipus closed this Oct 23, 2026
@NeoZng
NeoZng deleted the fix/physx-sensor-stale-link-poses branch November 3, 2026 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working isaac-lab Related to Isaac Lab team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug Report] PhysX and OVPhysX sensors report stale articulation child-link poses and velocities after a state write

3 participants