Repository navigation
[Backport] PR #8577 to release/3.0.0 - #8581
Conversation
…8577) Restores the "Partial Visualization" section on the Visualization page. It was dropped when the page was rewritten in #7054, which left `max_visible_envs`, `visible_env_indices` and `randomly_sample_visible_envs` documented only in the `VisualizerCfg` API reference. This was reported against the 3.0 GA docs. Changes (documentation only): - Re-adds the section in its original shape: the three `VisualizerCfg` fields and the `--max_visible_envs` override. - Updates it to current behavior: `visible_env_indices` keeps the given order and is also capped by `max_visible_envs`. - Adds a short note that selected envs keep their simulated positions by default, so a random sample can fall outside the camera view. - Links the section from the Performance table. No code changes. - Documentation update - [x] <!-- backport-active-release --> Backport this pull request to the active release branch after it merges into `develop` Not applicable (text-only documentation change). - Checked the documented selection rules against `VisualizerBase.initialize`, then ran Cartpole on Newton GL with the default 50 envs, with `--max_visible_envs 4`, and with `visible_env_indices=[24, 31, 30, 23]`. The viewer drew all 50 envs, four randomly sampled envs, and the four envs nearest the origin. - `uvx pre-commit run --files docs/source/concepts/visualization.rst` — passed all hooks. - `uv run --no-project python tools/changelog/cli.py check develop --include-worktree` — passed; no source package changed. - `uv run --extra dev isaaclab --docs` (clean build with `-W`) — succeeded with no warnings. The built page contains the new section. - [x] I have read and understood the [contribution guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html) - [x] I have run the [`pre-commit` checks](https://pre-commit.com/) - [x] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [x] I have validated the changed behavior with focused coverage; no tests changed - [x] Changelog fragments are not applicable; no source package changed - [x] I have added my name to the `CONTRIBUTORS.md` or my name already exists there --------- Signed-off-by: matthewtrepte <[email protected]> Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> (cherry picked from commit 2a7092c)
|
run-ci |
|
run-ci |
[Low impact] This documentation-only backport appears safe to merge. SummaryAdds partial-visualization guidance to
Reviews (1) · Last reviewed commit: "Restore the Partial Visualization sectio..." · Reviewed by Greptile |
There was a problem hiding this comment.
Isaac Lab Review Bot
Needs attention: Style consistency (2). Other reviewed categories look good.
- PR description: The body explains backport mechanics but not the documentation change; name the three configuration fields, CLI override, and docs-build or link-check validation.
- Design and architecture: Architecture looks good.
- Scope and over-engineering: No over-engineering issues.
- API: API changes look good.
- Compatibility and deprecation: No breaking changes identified.
- Implementation: Implementation looks good.
- Style consistency: The new prose restates its heading, pads the CLI rule, and inconsistently abbreviates “environments”; delete the filler, state the override directly, and spell out “environments.”
- Test quality: Test quality looks good.
Minor fixes needed. Posted 2 inline findings.
Automated review; human maintainers own approval decisions.
| ~~~~~~~~~~~~~~~~~~~~~ | ||
|
|
||
| Visualizers can be configured to visualize just a subset of environments. | ||
| This is called partial visualization. |
There was a problem hiding this comment.
🟡 Warning · Style Consistency — Restated heading and padded CLI sentence
"This is called partial visualization." only restates the heading, and line 830's "Also, there is a CLI arg ..." is padded. Drop the first sentence and state directly that --max_visible_envs overrides VisualizerCfg.max_visible_envs for the run.
|
|
||
| There are 3 fields exposed in the ``VisualizerCfg`` for selecting environments for partial visualization: | ||
|
|
||
| - ``max_visible_envs`` caps how many envs are shown. |
There was a problem hiding this comment.
🟡 Warning · Style Consistency — "envs" abbreviation breaks document vocabulary
Adjacent prose in this file writes "environments" (lines 866, 870). The new bullets and note use "envs" throughout. Spell out "environments" in prose and keep the abbreviation only inside config field and CLI names.
Backports #8577 to
release/3.0.0.The original cherry-pick conflicted. An NVIDIA inference model proposed this resolution, and deterministic validation confirmed that it changes no paths outside the original PR. Because conflict resolution cannot be certified as an exact patch replay, this PR is intentionally a draft and requires release-maintainer review.
2a7092cf26f01265864a8c2fb32e4103a58226fc30884d253f2cabc93c7cf4e2da3eee441c6ea33ab9295c6956109de6d21cd412715b3617c688fdf6