Skip to content

Fix shared OVRTX sensor timing and preserve complete captures - #9336

Draft
temiroff wants to merge 7 commits into
isaac-sim:mainfrom
temiroff:atemirov/ovrtx-shared-engine-step
Draft

temiroff wants to merge 7 commits into
isaac-sim:mainfrom
temiroff:atemirov/ovrtx-shared-engine-step

Conversation

@temiroff

@temiroff temiroff commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Description

Cameras and lidars sharing an OVRTX engine previously advanced its clock independently, using rendering intervals or sensor update periods. This counted physics time more than once and omitted other lidar products from timed steps.

The engine now advances by the physics time elapsed since its last accepted submission. Every timed step includes all camera and lidar products and refreshes their native poses. Later camera reads in the same physics step use zero elapsed time. Rejected submissions preserve the time for retry; wait or readback failures after submission do not count it twice.

This supports configured rolling-shutter cameras and rotary lidars with instant_lidar=False. It does not enable either mode or change defaults. Completed exposures and scans are retained when a subsequent step returns no frame or an intermediate capture. Camera products split across unequal tiled resolutions can complete on different steps, and each product retains its native output owner until replacement. Missing point clouds and mapping failures on complete scans still propagate.

Internal names now identify their roles explicitly: last_physics_step_count and prepare_pose. Runtime changes stay in the OVRTX renderer and its lidar registration; there are no core sensor API changes or GPU-mask conversions.

Supersedes #9320. Configurable lidar scan rates remain a separate change from this fix.

Type of change

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

Validation

Local Windows validation on an RTX PRO 3000 Blackwell laptop GPU with OVRTX 0.7.0:

  • Renderer contract coverage: 117 passed, 1 skipped. The existing oversized-frame test requires at least 16 GB VRAM.
  • Visual material synchronization: 12 passed.
  • Lidar coverage: 14 passed, including native rolling-shutter and non-instant rotary lidar captures with synchronous, asynchronous, and unequal split-camera layouts. The test verifies initial capture delay, retention across partial steps, both sensor read orders, and completed scans following a moving mount.
  • Regression checks confirm that consuming time before enqueue, accepting intermediate camera frames, or accepting intermediate lidar scans makes the new focused tests fail.
  • Repository formatting/lint hooks and changelog validation passed.

The lidar file runs in a fresh process: running it after the OVStage contract cases in one pytest process encounters a native USD schema-registration ordering error. The focused files pass with that process isolation. Native deprecation/renderer warnings remain unchanged. Hosted CI is separate from these local results.

Checklist

  • I have read and understood the contribution guidelines
  • I have run the repository formatting and lint checks
  • I have made corresponding changes to the documentation
  • I have validated the changed behavior and applied the test-audit criteria
  • I have added a changelog fragment for every touched package
  • My name already exists in CONTRIBUTORS.md

@github-actions github-actions Bot added the isaac-lab Related to Isaac Lab team label Dec 2, 2026
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Dec 2, 2026
@temiroff temiroff changed the title Step each OVRTX engine once per physics step for all its sensors Fix shared OVRTX sensor timing and preserve complete captures Dec 2, 2026
@huidongc

huidongc commented Dec 2, 2026

Copy link
Copy Markdown
Collaborator

run-ci

@isaaclab-bot isaaclab-bot Bot added ci:run-docker Trigger the on-demand Docker and GPU CI workflow and removed ci:run-docker Trigger the on-demand Docker and GPU CI workflow labels Dec 2, 2026
frames = [
frame
for frame in frames
if round((frame.end_time - frame.start_time) * 1e9) == render_data.scan_duration_ns

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Not sure how robust this numeric approach will be, is it possible that the frame time can be rounded up to match the scan duration and then incorrectly considered as a complete scan? maybe also some frames have the frame time just slightly larger than the scan duration then incorrectly considered as incomplete?

The ovrtx lidar tests choose to capture the exact exception, like the code that follows this block. I feel that is more reliable.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation isaac-lab Related to Isaac Lab team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants