Repository navigation
Conversation
Collaborator
|
run-ci |
huidongc
reviewed
Dec 2, 2026
huidongc
reviewed
Dec 2, 2026
| frames = [ | ||
| frame | ||
| for frame in frames | ||
| if round((frame.end_time - frame.start_time) * 1e9) == render_data.scan_duration_ns |
Collaborator
There was a problem hiding this comment.
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
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
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_countandprepare_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
Validation
Local Windows validation on an RTX PRO 3000 Blackwell laptop GPU with OVRTX 0.7.0:
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