Repository navigation
Fix shared OVRTX sensor timing and preserve complete captures #9336
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
temiroff
wants to merge
16
commits into
isaac-sim:main
Choose a base branch
from
temiroff:atemirov/ovrtx-shared-engine-step
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+606
−144
Draft
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
a28f501
Publish only a complete OVRTX lidar scan
huidongc 68d6412
frame rate docstring improvement
huidongc d8a7e72
Keep the previous lidar scan when OVRTX publishes no complete frame
huidongc cdfeec3
Expect the previous lidar scan to stay between completed scans
huidongc 7e51ca0
Reverted unnecessary changes
huidongc f33d46c
Updated the changelog fragments
huidongc 73972c5
Add more docstring for frame_rate config
huidongc 59ffbad
Improve docstring
huidongc 3c5a802
Step each OVRTX engine once per physics step for all its sensors
temiroff ad38653
Size the shared-step test's lidar outputs to the scan
temiroff 9bb40a3
Hold the lidar pose callback without a weak reference
temiroff 67e319c
Keep the local lidar list in render_lidar
temiroff af39cc7
Use instant lidars in the shared-step clock test
temiroff d8faf0a
Claim the OVRTX step time once the step is submitted
temiroff b480b25
Publish the simulated time from the render context to renderers
temiroff 1ce9de4
Compare stepped simulated time with a tolerance in renderer tests
temiroff File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
source/isaaclab/changelog.d/render-context-simulated-time.added.rst
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| * Added :attr:`~isaaclab.renderers.RenderContext.time` and :meth:`~isaaclab.renderers.BaseRenderer.update_time`. | ||
| :meth:`~isaaclab.renderers.RenderContext.update_scene_state` publishes the simulated time of the physics step to | ||
| every renderer, so renderers with temporal effects step their scene clocks without querying physics. Renderers | ||
| without a scene clock ignore it. |
Empty file.
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| * Added ``frame_rate`` to :class:`~isaaclab_ov.renderers.ovrtx_lidar_cfg.OVRTXLidarCfg` and authored it as ``omni:sensor:frameRate``. | ||
| The default is ``(10.0, 1.0)`` (10 Hz). The numerator and denominator must be finite and positive. |
7 changes: 7 additions & 0 deletions
7
source/isaaclab_ov/changelog.d/huidongc-lidar-scan.changed.rst
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| * **Breaking:** Changed ``instant_lidar`` to default to ``False``, so rays are spread across the lidar frame instead of emitted in one render step. | ||
| Set ``instant_lidar=True`` on the config passed to ``spawn_lidar`` to restore a complete scan per capture. | ||
| * Changed lidar capture to copy the newest complete scan. OVRTX 1.0 and newer copy that frame directly. | ||
| Older OVRTX skips one unmapped in-progress frame and copies the previous complete frame. | ||
| A second map failure is raised. When a step has no frames, or the only candidate frame is incomplete, the previous returns stay in place. | ||
| A partial or unmapped point cloud is no longer copied from a CPU fallback. | ||
| * Removed the authored ``cameraSensorType`` attribute from spawned OmniLidar prims. |
Empty file.
5 changes: 5 additions & 0 deletions
5
source/isaaclab_ov/changelog.d/ovrtx-shared-engine-step.fixed.rst
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| * Fixed OVRTX cameras and lidars on one engine each stepping its clock on their own reads, which counted the same | ||
| physics time more than once and left lidars out of each other's steps. A read now steps the engine only when the | ||
| render context published a later simulated time than its last step, by that time instead of the rendering time | ||
| step, with every camera and lidar product. The renderer no longer queries physics. Each lidar keeps its scan from | ||
| that step until its sensor reads it. |
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not: