Skip to content

Fix visualizer none sentinel handling - #5802

Merged
kellyguo11 merged 2 commits into
isaac-sim:developfrom
AntoineRichard:antoiner/fix-viz-none
May 27, 2026
Merged

kellyguo11 merged 2 commits into
isaac-sim:developfrom
AntoineRichard:antoiner/fix-viz-none

Conversation

@AntoineRichard

@AntoineRichard AntoineRichard commented May 27, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Fixes --viz none / --visualizer None handling so the CLI parser maps the disable-all sentinel to internal None instead of preserving "none" as a requested visualizer backend. This keeps the documented behavior where --viz none disables config-defined visualizers without later failing visualizer backend resolution.

The PR also restores the prior documentation that describes --viz none as intentional behavior.

Fixes: N/A

Type of change

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

Screenshots

N/A

Checklist

  • I have read and understood the contribution guidelines
  • I have run the pre-commit checks with ./isaaclab.sh --format
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • I have added a changelog fragment under source/<pkg>/changelog.d/ for every touched package (do not edit CHANGELOG.rst or bump extension.toml — CI handles that)
  • I have added my name to the CONTRIBUTORS.md or my name already exists there

Test Plan

  • ./isaaclab.sh -f
  • PYTHONPATH=/home/antoiner/Documents/IsaacLab_Newton/.worktrees/fix-viz-none/source/isaaclab_tasks:$PYTHONPATH ./isaaclab.sh -p -m pytest source/isaaclab/test/app/test_argparser_launch.py source/isaaclab/test/app/test_kwarg_launch.py source/isaaclab_tasks/test/test_sim_launcher_visualizer_intent.py

@github-actions github-actions Bot added bug Something isn't working documentation Improvements or additions to documentation labels May 27, 2026
@AntoineRichard

Copy link
Copy Markdown
Collaborator Author

@matthewtrepte for viz.

@greptile-apps

greptile-apps Bot commented May 27, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR removes documentation that incorrectly guided users to pass --viz none / --visualizer None to run headless, replacing it with the correct approach of simply omitting --viz.

  • Four documentation files are updated consistently: the migration guide, the core visualization reference, the COMPASS policy deployment tutorial, and the create_empty tutorial.
  • The visualization.rst common-modes table drops the --viz none row, and the inline explanation is expanded to clarify that omitting --viz leaves the CLI value as None internally before falling back to SimulationCfg.visualizer_cfgs.

Confidence Score: 5/5

Documentation-only change that removes a stale CLI option; no code paths are modified.

All four files receive targeted, consistent removals of the unsupported --viz none / --visualizer None guidance. The remaining docs accurately reflect the actual resolution behavior shown in the common-modes table, and the tutorial's headless example correctly relies on the default empty visualizer_cfgs.

No files require special attention.

Important Files Changed

Filename Overview
docs/source/tutorials/00_sim/create_empty.rst Headless run command simplified from --viz none to omitting the flag entirely; correct for the default empty visualizer_cfgs.
docs/source/overview/core-concepts/visualization.rst Removed unsupported --viz none row from the common-modes table and expanded the "omitted" bullet to mention the internal None default; changes are accurate and consistent.
docs/source/migration/migrating_to_isaaclab_3-0.rst Removed single bullet documenting --viz none as an explicit disable mechanism; aligns migration guide with updated behavior.
docs/source/policy_deployment/03_compass_with_NuRec/compass_navigation_policy_with_NuRec.rst Two identical notes updated to drop --visualizer None as a headless alternative; notes now correctly instruct users to omit --visualizer kit.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[User launches script] --> B{viz flag provided?}
    B -->|yes viz kit,newton| C[Use named visualizers]
    B -->|yes headless| D[Run headless plus deprecation warning]
    B -->|omitted| E{visualizer_cfgs empty?}
    E -->|yes empty list| F[Run headless]
    E -->|no has configs| G[Launch visualizers from config]
Loading

Reviews (1): Last reviewed commit: "docs: Remove unsupported visualizer none..." | Re-trigger Greptile

@github-actions github-actions Bot added the isaac-lab Related to Isaac Lab team label May 27, 2026
@AntoineRichard AntoineRichard changed the title Remove unsupported visualizer none docs guidance Fix visualizer none sentinel handling May 27, 2026
@kellyguo11
kellyguo11 merged commit 1526774 into isaac-sim:develop May 27, 2026
37 checks passed
kellyguo11 added a commit that referenced this pull request May 28, 2026
… locomanip quaternion, deformable demo, IK, benchmark scripts (#5816)

# Description

Cherry pick following PRs from develop:

- #5779 
- #5760
- #5791
- #5810 
- #5811
- #5812 
- #5754 
- #5802 
- #5803 
- #5782
- #5804 
- #5744 
- #5775 
- #5784

---------

Signed-off-by: Kelly Guo <[email protected]>
Co-authored-by: John <[email protected]>
Co-authored-by: myurasov-nv <[email protected]>
Co-authored-by: Antoine RICHARD <[email protected]>
Co-authored-by: Mike Yan Michelis <[email protected]>
Co-authored-by: hujc <[email protected]>
AntoineRichard added a commit to AntoineRichard/IsaacLab that referenced this pull request Dec 3, 2026
Let custom configs declare only their field-to-USD translation. Remove
the Lab registry and lifecycle framework; query Newton's component
registry and preserve existing backend setup/reset behavior.

Pin the additive compatibility commit from Newton PR isaac-sim#5802 so this
does not require migrating to newer actuator component APIs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working 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