Repository navigation
[Docs] Consolidate asset and Docker guides and repair tutorial examples - #7819
Conversation
StafaH
left a comment
There was a problem hiding this comment.
Let's remove the tutorials/ folder structure and move everything to how-to?
There was a problem hiding this comment.
Let's put images onto s3 instead of in the repo
| @@ -1,489 +0,0 @@ | |||
| .. _deployment-docker: | |||
There was a problem hiding this comment.
These files are being deleted because the are not being used right?
|
|
|
||
| .. code:: bash | ||
|
|
||
| ./docker/container.py start --files docker-compose.cloudxr-runtime.patch.yaml --env-file .env.cloudxr-runtime |
There was a problem hiding this comment.
The CloudXR example passes --env-file, but container.py only accepts the plural option --env-files. A user following this command will get an argparse error before the CloudXR services can start. Use --env-files .env.cloudxr-runtime instead.
| ./docker/container.py start --files docker-compose.cloudxr-runtime.patch.yaml --env-file .env.cloudxr-runtime | |
| ./docker/container.py start --files docker-compose.cloudxr-runtime.patch.yaml --env-files .env.cloudxr-runtime |
There was a problem hiding this comment.
Changed the example to the canonical --env-files spelling. I checked both spellings against build_parser(): they produce identical parsed arguments because argparse accepts the unambiguous abbreviation, so the original command did not fail during argument parsing.
Commit: 469731f.
| .. note:: | ||
|
|
||
| Video recording is not currently supported with ``--frontend warp``. | ||
| To record a rollout, replay the checkpoint with ``--frontend torch``; | ||
| see :ref:`how_to_record_video`. |
There was a problem hiding this comment.
Duplicate video limitation note
This note repeats the immediately preceding warning that the Warp frontend does not support --video and gives the same workaround. Keeping both makes the page unnecessarily repetitive; remove or consolidate the second note.
| .. note:: | |
| Video recording is not currently supported with ``--frontend warp``. | |
| To record a rollout, replay the checkpoint with ``--frontend torch``; | |
| see :ref:`how_to_record_video`. |
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
There was a problem hiding this comment.
Consolidated the duplicate video notes into one, retaining the train/play scope and the link to the recording guide. Historical benchmark figures are unchanged.
Commit: 469731f.
There was a problem hiding this comment.
Isaac Lab Review Bot
The documentation consolidation and CLI parser split are generally coherent, but four concrete documentation-generation defects remain: malformed reST inline markup, a prematurely truncated actuator example, incorrect OSC quaternion-order guidance, and missing Sphinx dependency tracking for the generated Docker CLI reference.
- Design and architecture: Generating Docker CLI tables from
build_parser()is a sound synchronization mechanism, but the directive must registerdocker/container.pywith Sphinx vianote_dependency()so incremental builds regenerate the tables when the parser changes. - API: The Docker CLI split preserves the existing parsing surface, and the URDF converter adds a concrete
--ros_package_path NAME PATHoption. The OSC tutorial, however, incorrectly documents(x, y, z, w)even though the corrected target tensor uses Isaac Lab's scalar-first(w, x, y, z)convention; the adjacent script comment should be corrected as well. - Implementation: In
write_articulation_cfg.rst, the unterminated inline literal absorbs class references, and:end-before: )stops the actuatorliteralincludeat the first actuator's closing parenthesis rather than the end of the mapping. These constructs need precise delimiters. The generated CLI directive also needs explicit source dependency registration.
Minor fixes needed. Posted 4 actionable findings inline.
Automated review; human maintainers own approval decisions.
| Use the shared :class:`~assets.ArticulationCfg` for the robot's initial state and actuators. | ||
| The simulation selects the physics backend separately. | ||
|
|
||
| For common USD properties, use classes from ``isaaclab.sim.schemas`, such as |
There was a problem hiding this comment.
🟡 Warning · Implementation — Unterminated inline literal swallows cross-references
``isaaclab.sim.schemas` opens a double-backtick literal but closes with a single backtick, so docutils runs to the next `` end-string and absorbs the RigidBodyBaseCfg and `ArticulationRootBaseCfg` class references into one literal, mangling this new guide's paragraph. Close the literal with two backticks.
There was a problem hiding this comment.
Closed the inline literal with two backticks. Verified the rendered guide keeps isaaclab.sim.schemas as a standalone literal and the adjacent class references outside it.
Commit: 469731f.
| :language: python | ||
| :lines: 39-49 | ||
| :start-at: actuators= | ||
| :end-before: ) |
There was a problem hiding this comment.
🟡 Warning · Implementation — end-before ')' truncates the actuators snippet
:end-before: ) stops at the first line containing a closing parenthesis, which is the line closing the first ImplicitActuatorCfg(...). The dropdown promising "separate actuator models" therefore renders an unterminated dict with only one actuator, unlike the previous :lines: 39-49. Use a terminator unique to the end of the actuators mapping, or add an explicit marker in cartpole.py.
There was a problem hiding this comment.
Replaced the ambiguous :end-before: ) with :end-at: },, which ends at the actuator mapping closure. Verified the rendered snippet contains both cart and pole actuators and the closing dictionary.
Commit: 469731f.
| @@ -22,6 +22,9 @@ In this tutorial, we will learn how to use an OSC to control the robot. | |||
| We will use the :class:`controllers.OperationalSpaceController` class to apply a constant force perpendicular to a | |||
| tilted wall surface while tracking a desired end-effector pose in all the other directions. | |||
|
|
|||
| This tutorial uses Isaac Sim PhysX and requires an Isaac Sim installation. | |||
| The target quaternions use ``(x, y, z, w)`` order and orient the end-effector toward the tilted wall. | |||
There was a problem hiding this comment.
🟡 Warning · Api — Documented quaternion order contradicts fixed targets
The script now stores targets as [0.6, 0.15, 0.3, 0.92387953, 0.0, 0.38268343, 0.0], i.e. Isaac Lab's scalar-first (w, x, y, z) order for a 45-degree tilt, matching the other pose APIs used in the script. This added line documents (x, y, z, w), so readers constructing their own targets reintroduce the orientation bug this PR fixes. Document (w, x, y, z) and update the stale qx,qy,qz,qw comment above the tensor.
There was a problem hiding this comment.
Keeping (x, y, z, w): this PR targets Isaac Lab 3.0, whose release notes explicitly document WXYZ → XYZW. OperationalSpaceController.set_command() expects xyzw, and matrix_from_quat() unpacks x, y, z, w. The target values are interpreted in that convention; their first component is not w. USD scalar-first conversion already occurs at the USD boundary. Changing this guide/comment to wxyz would introduce an error. See docs/source/refs/release_notes.rst (Quaternion Format), source/isaaclab/isaaclab/controllers/operational_space.py, and source/isaaclab/isaaclab/utils/math.py.
Commit: 469731f.
| if section not in ("commands", "options"): | ||
| raise self.error(f"Unknown section '{section}' for isaaclab-container-cli. Use 'commands' or 'options'.") | ||
|
|
||
| action = _subparsers_action(_container_parser(self.env.srcdir)) |
There was a problem hiding this comment.
🔵 Suggestion · Design Architecture — Generated CLI table is not a build dependency
The directive executes docker/container.py at build time but never calls self.env.note_dependency() for it. Sphinx re-reads a document only when its own source or a recorded dependency changes, so an incremental build after editing the parser republishes the old command/option tables, which is the drift this directive exists to prevent. Note the resolved container.py path inside run().
There was a problem hiding this comment.
Registered the resolved docker/container.py path with self.env.note_dependency(). Added a regression test that builds the guide, changes only parser help, and verifies an incremental build updates the HTML. It fails without the fix and passes with it.
Commit: 469731f.
|
run-ci |
Backports #7819 to `release/3.0.0`. ## Why this is manual The automatic backport workflow [run #421](https://github.com/isaac-sim/IsaacLab/actions/runs/35287389740) failed in its first step. `actions/checkout` refused to check out the trusted automation ref in a `pull_request_target` run because the source PR came from a fork, triggering its fork-checkout security safeguard. The workflow never read the checked backport marker or attempted the cherry-pick. This branch cleanly cherry-picks merged commit `93d7bef70bb2c24720a01342ab6ca58bdd906f8c` with `-x`. No conflict resolution or release-specific content changes were needed. ## Validation - `.github/scripts/backport.py validate-candidate --exact_patch`: passed; paths and edit digest match the merged PR. - `tools/test/test_doc_redirects.py`: 3 passed. - `docker/test/test_container_profiles.py`: 15 passed. - `tools/skills/cli.py check`: 23 skills validated. - `git diff --check upstream/release/3.0.0...HEAD`: passed. - Pre-commit: all formatting, reST, YAML/TOML, conflict, spelling, license, and source checks passed. The all-files run was blocked only by pre-existing release-branch changelog immutability findings and unavailable host `git-lfs`. - Full warning-as-error docs build: the repository lockfile excludes macOS, and a best-effort isolated docs environment could not provide Linux-only project packages such as `ovstage`/`isaaclab_ppisp`. The original PR's GitHub Docs workflow passed; release CI should provide the supported environment. ## Type of change - Documentation update and example bug fixes. - Exact release backport; no source-package changelog fragment is required. ## Checklist - [x] I have read and understood the contribution guidelines - [ ] I have run the complete pre-commit suite without environment/baseline limitations - [x] I have made corresponding documentation changes - [ ] The local unsupported-platform docs build generated no warnings - [x] I have run focused tests for the changed behavior - [x] No changed source package requires a changelog fragment - [x] The original contributor is already listed in `CONTRIBUTORS.md` Co-authored-by: hujc <[email protected]>
# Description Fix the scheduled multi-version documentation build after the guide redirects added by #7819. `sphinx-multiversion` uses the current `docs/conf.py` and extension configuration while rendering every historical ref. The current redirect table points to pages that do not exist in `v2.x`, the `v3.0` prerelease tags, `main`, or `release/3.0.0`, so the redirect handler aborted the first historical build at `v2.0.0`. Skip a redirect whose destination is absent only when Sphinx identifies the build as multiversion. Normal current-version builds remain strict and still fail on a missing redirect destination. Related to #7819 and the failing [scheduled docs job](https://github.com/isaac-sim/IsaacLab/actions/runs/35298788681/job/105456820968). ## Type of change - Bug fix (non-breaking change which fixes an issue) - Documentation build fix ## Release backport - [x] <!-- backport-active-release --> Backport this pull request to the active release branch after it merges into `develop` ## Screenshots Not applicable. ## Validation - Added a focused regression test that failed with `Documentation redirect target was not built: missing` before the fix. - `tools/test/test_doc_redirects.py`: 4 passed. - Verified all deployed historical tags plus `main` and `release/3.0.0` predate the 20 redirect destinations; `develop` contains them. - [Linux `Build Latest Docs`](https://github.com/isaac-sim/IsaacLab/actions/runs/35329395456/job/105549996799) passed with warnings treated as errors. - All applicable changed-file pre-commit hooks passed. - The repository's locked docs environment cannot resolve on this macOS host because it supports Linux and Windows. ## Checklist - [x] I have read and understood the contribution guidelines - [x] I have run the applicable pre-commit checks - [x] Documentation content changes are not required for this build-only fix - [x] My changes generate no new warnings - [x] I have added tests that prove the fix is effective - [x] No package changelog fragment is required because no `source/<package>/` code changed - [x] My name already exists in `CONTRIBUTORS.md`
…7904) ## Description Backports ten `develop` PRs to `release/3.0.0`, including the PyTorch 2.12/CUDA 13.0 upgrade, the near-singular OSC fix, and the complete cfg-first cloning and schema-fragment migrations. The audit covers September 17, 2026 00:00 UTC through `develop` commit `4269c29a39e463dd07c74a9704d890d7a5c01e08` (September 19, 23:55 UTC), against release base `970d21ef48057a2efc3d749c0f2abab8e7e0c30e`. | Source PR | Included change | | --- | --- | | #7777 | Refresh Newton solver transforms after fixed-root pose writes | | #7608 | Make direct cloning cfg-first, including assets, callers, templates, tests, and migration documentation | | #7895 | Apply the existing CI exclusion for Franka cable/cloth/soft kitless rendering tests | | #7872 | Load the CUDA runtime matching PyTorch for Newton graph capture | | #7831 | Check authored Newton mesh-collision schema tokens correctly | | #7834 | Build documentation with the extra that provides Sphinx | | #7838 | Migrate maintained consumers to physics schema fragments, including readers and overrides | | #7840 | Consistently name Isaac Lab 3.1 as the deprecation removal release | | #7903 | Handle near-singular operational-space control | | #7674 | Upgrade PyTorch to 2.12, TorchVision to 0.27, and the CUDA stack to 13.0, including installer, wheel, and cuRobo compatibility changes | All 305 changed non-lock files match the audited `develop` snapshot exactly. The remaining file, `uv.lock`, matches that snapshot after substituting the package versions from the release branch's existing manifests; all 418 package entries were checked. Existing release package versions, compiled changelogs, documentation routing, and OVRTX compatibility code remain intact, including the #7880 revert. Source commit hashes are recorded in the commit messages. ### Already present #7866, #7870, #7867, #7869, and #7868 were included in #7851; #7819 was backported by #7884; #7883, #7885, and #7887 were backported by #7889. #7874, #7888, #7773, #7886, and #7042 were also already present. The three automatic changelog/version compilation commits are excluded; the release branch compiles its own fragments and maintains its own versions. ## Type of change - Release integration/backport - Bug fixes and documentation updates - Breaking changes already accepted for the 3.0 cloning and schema migrations; their migration guidance and changelog fragments are included ## Validation - `uv run --no-sync isaaclab -f`: all checks passed using the existing shared environment and the release base for changelog validation. - Focused cloning, OSC feature, schema parity/shim, CLI, and task configuration suite: **283 passed**. - Newton fixed-root updates and CUDA runtime/capture regressions: **14 passed**. - Complete OSC simulation suite: **21 passed**. - Mesh-collision fragments: **17 passed**; cfg-first cloning integration: **16 passed**; scene construction/ownership: **7 passed**. - The above **358 tests passed with PyTorch 2.11**. - With **PyTorch 2.12/CUDA 13.0**: installer/metadata/Docker tests **91 passed**; CPU/GPU OSC feature tests **17 passed**; complete OSC simulation suite **21 passed**. - `uv lock --check`: passed; release package manifests match their lockfile entries. - Repository skill validation: **23 skills passed**. - File-by-file source audit, release-metadata preservation checks, and `git diff --check`: passed. Local simulation used RTX 5090 and Isaac Sim 6.0.1 with PyTorch 2.11 and 2.12. The full Docker image build and fresh installation matrix were not rerun locally for this backport. Release CI uses its pinned Isaac Sim 6.1 image and remains the authoritative full integration check. Kit-dependent suites run in separate processes to avoid loading standalone USD before Kit. ## Release backport Not applicable: this PR targets `release/3.0.0` directly. ## Checklist - [x] Ran the complete pre-commit command. - [x] Included the original migration documentation, regression tests, and changelog fragments for every changed package. - [x] Preserved source attribution and recorded every source commit. - [x] Preserved the release branch's versions and existing release-specific changes. --------- Co-authored-by: vidurv-nvidia <[email protected]> Co-authored-by: ooctipus <[email protected]>
## Summary The container images page gets one "Building an image" section: the same command builds every image, with the profile name as the only argument. It replaces the per-image build lines; the Kit-less one sat at the end of its section and was easy to miss. # Description Since #7819, the page has no `./docker/container.py build kitless` step. The only Kit-less build instruction left is an inline `docker build` sentence after "You do not have to build it locally." QA's user-build Kit-less test cases follow the `container.py` flow. That flow is still supported (`docker/utils/container_interface.py`), but no page shows it. Changes to `docs/source/workflows/docker/images.rst`: - Add a `Building an image` section after the profile table. It shows `./docker/container.py build <profile>` and the equivalent direct `docker build --file docker/Dockerfile.<profile>`. - Remove the base image's direct-build block and the Kit-less inline build sentence, which the new section replaces. - Add a `docker-ngc-images` label so the new section can link to the pre-built images. ## Type of change - Documentation update ## Release backport - [x] <!-- backport-active-release --> Backport this pull request to the active release branch after it merges into `develop` ## Checklist Docker and GPU tests run on demand. Push the commits you want tested, then comment `run-ci` on the pull request. - [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/) with `uv run isaaclab --format` - [x] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [ ] Tests are not applicable to this documentation-only change - [ ] A changelog fragment is not required because no source package changed - [x] I have added my name to the `CONTRIBUTORS.md` or my name already exists there
Description
Consolidate overlapping robot/articulation guidance into one worked guide and split Docker, image, cloud and cluster documentation into workflow pages. Move the 19 tutorial guides into
how-to/, retaining their Python examples and compatibility URLs.Update importer/backend guidance and repair the examples used by these pages: resolve ROS package meshes, correct OSC target quaternions, and place the warehouse height scanner below the roof. Retain MPC/OCS2, the historical Warp benchmarks, configuration/default-resolution tables, and original screenshots. No replacement media or Newton material-import fix is included.
Consolidation and preservation
/IsaacLab/source/...URL format.stop(down --volumes), restore copy-before-stop and permission prerequisites, and repair source/document links.Type of change
Documentation update and example bug fixes. No source-package changes requiring package changelog fragments.
Validation
Screenshots
Existing screenshots retained; replacement images deferred.
Checklist
Release backport
develop