Skip to content

Commit 527db2c

Browse files
committed
Add changelog fragments for golden image visualizer test fixes
1 parent 5b5a493 commit 527db2c

2 files changed

Lines changed: 20 additions & 0 deletions

File tree

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Fixed
2+
^^^^^
3+
4+
* Fixed stale ``_scene_data_mapping`` in :meth:`~isaaclab_newton.physics.NewtonManager.update_visualization_state`
5+
being reused after the visualization model was rebuilt for a stage with a different body count
6+
(e.g. switching from a 4-env tiled capture to a 1-env viewport capture within the same process).
7+
The mapping is now invalidated when its length does not match the current model's body count,
8+
preventing wrong body transforms from being written into the shadow ``state_0``.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
Fixed
2+
^^^^^
3+
4+
* Fixed cross-test contamination in golden image tests when tiled-camera and viewport captures
5+
run sequentially in the same process. Three sources were addressed: (1) the stale
6+
:class:`~isaaclab_newton.physics.NewtonManager` shadow model from the tiled stage persisting
7+
into the viewport test on the PhysX backend (cleared in the between-test prepare step);
8+
(2) CUDA RNG state drift causing the initial cartpole pole angle to differ between isolated
9+
and suite runs (seed is now applied immediately before ``env.reset()``); and (3) test ordering
10+
in both golden test files reordered to run tiled captures before viewport captures to prevent
11+
RTX render-product state from contaminating tiled camera output. The ``newton-kit-viewport``
12+
golden image was regenerated to match the corrected deterministic initial physics state.

0 commit comments

Comments
 (0)