Skip to content

Update Visualizer CLI usage in doc to align with 3.0 behavior - #5277

Merged
kellyguo11 merged 2 commits into
isaac-sim:developfrom
uebian:develop
Apr 16, 2026
Merged

kellyguo11 merged 2 commits into
isaac-sim:developfrom
uebian:develop

Conversation

@uebian

@uebian uebian commented Apr 15, 2026

Copy link
Copy Markdown
Contributor

Description

According to https://isaac-sim.github.io/IsaacLab/develop/source/migration/migrating_to_isaaclab_3-0.html, IsaacLab 3.0 has deprecated the --headless parameter, and requires explicit --viz parameter to enable visualization.

This update the command in the installation document to add --viz so that it can align with the later description

The above command should launch the simulator and display a window with a black viewport.

Type of change

  • Documentation update

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 updated the changelog and the corresponding version in the extension's config/extension.toml file
  • I have added my name to the CONTRIBUTORS.md or my name already exists there

@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Apr 15, 2026
@greptile-apps

greptile-apps Bot commented Apr 15, 2026 •

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR updates CLI examples in two documentation files (src_verify_isaaclab.rst and create_empty.rst) to add --viz kit when running the create_empty.py script, aligning with IsaacLab 3.0's behavior where visualization is now opt-in rather than opt-out. The contributor's name was also added to CONTRIBUTORS.md.

Confidence Score: 5/5

Safe to merge — documentation-only change with a clear and correct fix.

All findings are P2 or lower. The core fix (adding --viz kit to the verification and tutorial commands) is correct. The one remaining note about --headless in the training section is a pre-existing, non-blocking style issue.

The training commands in docs/source/setup/installation/include/src_verify_isaaclab.rst (lines 58–94) still use the deprecated --headless flag, but this is a pre-existing issue beyond the direct scope of this PR.

Important Files Changed

Filename Overview
docs/source/setup/installation/include/src_verify_isaaclab.rst Adds --viz kit to the installation verification commands; the "Train a robot!" section still recommends the deprecated --headless flag on line 58.
docs/source/tutorials/00_sim/create_empty.rst Adds --viz kit to the run command on line 142; headless invocation on line 159 correctly omits --viz.
CONTRIBUTORS.md Contributor's name added to the alphabetical list.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[Run create_empty.py] --> B{--viz flag present?}
    B -->|--viz kit| C[Launch with Kit GUI window\n'display a black viewport']
    B -->|no flag| D[Run headless\nno window]
    
    style C fill:#90EE90
    style D fill:#ADD8E6
Loading

Comments Outside Diff (1)

  1. docs/source/setup/installation/include/src_verify_isaaclab.rst, line 58 (link)

    P2 Deprecated --headless flag still recommended for training

    The line We recommend adding ``--headless`` for faster training. and the training commands on lines 68, 76, 87, and 94 still use --headless, which is deprecated in IsaacLab 3.0. Since the PR motivation is to align with 3.0 behavior where visualization is opt-in (no --viz = headless), the --headless flag is now redundant and should be dropped from the training examples too.

Reviews (1): Last reviewed commit: "Update Visualizer CLI usage in doc to al..." | Re-trigger Greptile

@isaaclab-review-bot isaaclab-review-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 Isaac Lab Review Bot

Summary

This PR updates CLI examples in the installation verification and tutorial documentation to use the new --viz kit flag, aligning with Isaac Lab 3.0's deprecation of --headless. The CONTRIBUTORS.md update is correctly placed. The --viz kit additions are correct, but the headless example needs attention.

Design Assessment

Approach is sound — the 3.0 migration guide explicitly calls for --viz instead of --headless, so updating docs is necessary and well-motivated.

Findings

🟡 Warning: Headless example may not actually be headless — docs/source/tutorials/00_sim/create_empty.rst:159

The PR removes --headless from the headless example command, leaving just:

./isaaclab.sh -p scripts/tutorials/00_sim/create_empty.py

However, the surrounding text (line 154-155) still says:

"To run the script headless, you can execute the following:"

Per the migration guide, when --viz is omitted, visualizers are resolved from SimulationCfg.visualizer_cfgs (config defaults), which may launch a visualizer — not headless at all.

The correct 3.0 equivalent of --headless is --viz none. Consider updating to:

./isaaclab.sh -p scripts/tutorials/00_sim/create_empty.py --viz none

Alternatively, if the intent is that running without --viz is now the "no visualizer" default, the surrounding text should be updated to reflect that behavior rather than calling it "headless."

🔵 Suggestion: Remaining --headless references in the same file — docs/source/setup/installation/include/src_verify_isaaclab.rst

The training commands later in the installation verification doc (around line 60+) still use --headless:

./isaaclab.sh -p scripts/reinforcement_learning/rsl_rl/train.py --task=Isaac-Ant-v0 --headless

These are outside this PR's scope but worth noting for a follow-up, since the same deprecation applies.

Test Coverage

No tests needed — this is a pure documentation change with no runtime impact. ✅

CI Status

All checks passing. ✅

Verdict

Minor fixes needed

The --viz kit additions are correct and well-aligned with the 3.0 migration guide. The one concern is the headless example in create_empty.rst — removing --headless without replacing it with --viz none may leave that example misleading, since the text promises headless behavior that the bare command may not deliver. A small fix to use --viz none (or update the surrounding text) would make this solid.

Co-authored-by: isaaclab-review-bot[bot] <270793704+isaaclab-review-bot[bot]@users.noreply.github.com>
Signed-off-by: Bocheng Zou <[email protected]>
@kellyguo11
kellyguo11 merged commit 730fec3 into isaac-sim:develop Apr 16, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants