Repository navigation
Update Visualizer CLI usage in doc to align with 3.0 behavior - #5277
Conversation
Greptile SummaryThis PR updates CLI examples in two documentation files ( Confidence Score: 5/5Safe to merge — documentation-only change with a clear and correct fix. All findings are P2 or lower. The core fix (adding The training commands in Important Files Changed
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
|
There was a problem hiding this comment.
🤖 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.pyHowever, 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]>
Description
According to https://isaac-sim.github.io/IsaacLab/develop/source/migration/migrating_to_isaaclab_3-0.html, IsaacLab 3.0 has deprecated the
--headlessparameter, and requires explicit--vizparameter to enable visualization.This update the command in the installation document to add
--vizso that it can align with the later descriptionType of change
Checklist
pre-commitchecks with./isaaclab.sh --formatconfig/extension.tomlfileCONTRIBUTORS.mdor my name already exists there