Repository navigation
[6Biv] Separate shared visualizer settings from backend options - #8704
Merged
ooctipus merged 14 commits intoOct 20, 2026
Merged
Conversation
3 tasks done
Collaborator
Author
|
run-ci |
ooctipus
force-pushed
the
refactor/pr6biv-visualizer-config
branch
from
October 17, 2026 06:28
fe01385 to
667dc84
Compare
Collaborator
Author
|
run-ci |
ooctipus
force-pushed
the
refactor/pr6biv-visualizer-config
branch
from
October 17, 2026 07:26
667dc84 to
ad5656c
Compare
Collaborator
Author
|
run-ci |
ooctipus
force-pushed
the
refactor/pr6biv-visualizer-config
branch
from
October 18, 2026 08:29
ad5656c to
5d70b92
Compare
Collaborator
Author
|
run-ci |
ooctipus
force-pushed
the
refactor/pr6biv-visualizer-config
branch
from
October 18, 2026 08:55
5d70b92 to
41108b4
Compare
Collaborator
Author
|
run-ci |
ooctipus
added a commit
that referenced
this pull request
Oct 18, 2026
Launch decisions were split between a `Scan` result, global settings, and simulation construction. This makes the configuration passed to `launch_simulation` the source of truth: task selection resolves first, `validate_launch` prepares consumers and rejects incompatible runtimes, and each required runtime starts once. Recording selects or reuses its producer without opening a window. Before and after: - `uv run isaaclab train --task Isaac-Cartpole-Direct --rl_library rsl_rl visualizer=newton_gl` now selects the viewer during task composition; `--viz newton_gl` is the equivalent spelling. Physics and renderer flags follow the same preset boundary. - A Python `SimulationCfg(visualizer_cfgs=[NewtonGLVisualizerCfg(...)])` previously needed `--viz newton_gl` to run that declared viewer. It now runs as configured. `--viz none` disables windows; an empty config remains windowless by default. - `--video viz:newton_gl:streaming_view` retains headless, on-demand capture and enables the requested sensor view. Multiple recorders sharing a view reuse one producer. Removed `Scan`, `scan`, duplicate selection helpers, and the settings-based viewer handoff. One traversal now collects and replaces runtime configs while preserving shared references; configuration tests call validation directly without mocking runtime startup. Standalone scripts pass the same simulation config to launch and construction. RTX perspective cameras remain ordinary scene cameras declared before construction. **Scope: 6Biii, 84 files, +1,125 / −1,369.** The shared `VisualizerCfg`/backend API and its task/example migration are now in #8704 (6Biv). This PR retains the existing backend config API. Validation: 308 focused tests passed across launch/runtime selection, device propagation, recording, simulation lifecycle, Kit arguments, task presets, and standalone configuration. An RTX particle-motion test passed on GPU0. `uv run isaaclab -f` passed. - [x] Updated behavior documentation and migration guidance - [x] Ran formatting/lint and focused tests - [x] Added changelog fragments for every touched package
ooctipus
force-pushed
the
refactor/pr6biv-visualizer-config
branch
from
October 18, 2026 23:39
41108b4 to
093650a
Compare
Collaborator
Author
|
run-ci |
Collaborator
Author
|
run-ci |
Collaborator
Author
|
run-ci |
hujc7
approved these changes
Oct 20, 2026
Collaborator
does this include old visualizer specific constructors, like NewtonVisualizerCfg? |
ooctipus
force-pushed
the
refactor/pr6biv-visualizer-config
branch
from
October 20, 2026 18:47
f20ce98 to
5599987
Compare
Collaborator
Author
|
run-ci |
matthewtrepte
approved these changes
Oct 20, 2026
Collaborator
Author
|
run-ci |
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.
Camera, window, and environment-visibility settings previously lived in each backend config and were merged again from
default_visualizer_cfg. This moves those settings intoVisualizerCfg;KitBackendCfg,NewtonGLBackendCfg,NewtonRTXBackendCfg,RerunBackendCfg, andViserBackendCfgcontain backend options only.For registered tasks,
--viz newton_gl,newton_rtxselects both backends with these settings. Two view declarations produce four windows, retaining each view's camera and resolution. Customize selectable options with task-ownedMultiBackendVisualizerCfg(newton_gl=NewtonGLBackendCfg(...)). Presets resolve during initial task/script configuration, before core launch. Concretebackendaccepts one config or a list;[]selects none.Old
*VisualizerCfg(...)constructors, includingNewtonVisualizerCfg, anddefault_visualizer_cfgremain accepted; their warnings explicitly mark them deprecated in Isaac Lab 3.2. A configuration-only translation preserves their options and feeds the same runtime implementation. Old Kit declarations retain 1280×720; new shared declarations default to 1920×1080. The migration guide includes both forms.SimulationContextdirectly, and kept direct construction from deprecated configs working.show_particles=Falsehides them without updating their display buffers.Validation: 153 launcher, preset, migration, recording, and visualizer tests passed after rebasing onto current
main, along with formatting/lint. Fourteen media configurations matched their prior settings. Negative controls covered headless rendering, live plots, and server ownership; migration and selection regressions failed without their fixes.GPU validation: GPU0 smoke runs opened two GL and two RTX windows, ran 1,605 steps, and closed cleanly. Granular MPM, two-way MPM, and the RTX surface-reconstruction tutorial each completed 10 steps. The optional standalone launch matrix and documentation build remain with CI.