Skip to content

First reset camera observation remains stale on Isaac Sim 6.1 #8428

Closed

Description

@Jean-Francois-Lafleche

Related: closed issue #6394; regression coverage PR #8427.

On current develop (7cf8d41) with Isaac Sim 6.1.0.0 and an A6000, a reset event moves a cube through the PhysX tensor API before the first physics step. State observations reflect the new pose, but the depth image returned by env.reset() still shows the spawn pose. Physics stepping makes the image correct. This exposes missing synchronization between the reset state and the first camera observation; rerendering alone does not resolve it.

The test added in #7891 has two coverage gaps:

  • The first reset target equals the spawn pose. The renderer already holds that pose, and the reset writes the same pose into PhysX. Even without a physics step or successful transform synchronization, stale rendering therefore agrees with the physics state and produces the expected image. This setup cannot distinguish correct synchronization from an unchanged, stale render.
  • It discards the first reset observation, takes ten physics steps to establish reference images, and checks only a later reset. Its unchanged-step-count assertion is valid for that later reset, but does not test the first reset to a different pose before physics has run.

Consequently, the original test passes on 6.1.0.0 while the first-reset failure persists.

PR #8427 moves the first reset target 15 cm from the spawn pose and checks its saved depth image against a stabilized reference at the same physical pose, with the first-reset physics count verified as zero. It fails with silhouette IoU 0.370 versus the required >0.9. The cube state is correct and unchanged during stabilization.

Reproduce using the PR branch:

uv sync --frozen --extra isaacsim --extra test
HEADLESS=1 uv run --frozen --no-sync python -m pytest source/isaaclab/test/sensors/test_first_frame_textured_rendering.py::test_env_reset_restores_initial_pose_in_camera_observation -q -s

Expected: the first reset image reflects the reset pose without a physics step. The exact missing internal synchronization operation remains to be isolated.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions