From 88afba9aa457f157027a1c3a1af2024bd8da6b74 Mon Sep 17 00:00:00 2001 From: hong-nvidia <116205477+hong-nvidia@users.noreply.github.com> Date: Fri, 9 Oct 2026 18:37:32 -0700 Subject: [PATCH] [Documentation] Add SO-101 keyboard typing deployment guide (#8370) Add an SO-101 keyboard typing project overview to the Sim2Real deployment guide. Describe what the project does, its components and intended users, supported Isaac Lab runtime and platforms, and quick commands to build the runtime and play a released checkpoint. Link to the project's documentation for calibration, training, debugging, evaluation and hardware deployment. The page identifies the pinned, patched Isaac Lab 3.0.0-based runtime and Linux x86-64 support, without claiming compatibility with an unmodified 3.0 GA installation. Link the overview from the deployment index and add the author to CONTRIBUTORS.md. No runtime dependencies or source packages are changed. No linked issue. - Documentation update - [x] Backport this pull request to the active release branch after it merges into `develop` - Full repository formatting/lint checks passed: `ISAACLAB_CHANGELOG_BASE_REF=upstream/develop uv run --extra dev isaaclab --format` (Git LFS supplied on PATH). - Clean documentation build passed without warnings: `uv run --extra dev isaaclab --docs`. - Both Bash examples passed syntax checks; linked documentation paths were checked against the task repository. - `git diff --check` passed. No training or physical hardware execution was performed. - [x] I have read and understood the contribution guidelines - [x] I have run the pre-commit checks - [x] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [x] I have validated the changed behavior with focused coverage; no tests changed - [x] Package changelog fragments are not applicable: no source package changes - [x] I have added my name to CONTRIBUTORS.md --------- Signed-off-by: Hong Wang Signed-off-by: hong-nvidia <116205477+hong-nvidia@users.noreply.github.com> Co-authored-by: Antoine RICHARD (cherry picked from commit c3626b11a97cff21d26ff2ec4d75354a729cd3fd) --- .github/workflows/check-links.yml | 2 + CONTRIBUTORS.md | 1 + .../06_so101_typing/so101_typing_policy.rst | 99 +++++++++++++++++++ docs/source/policy_deployment/index.rst | 1 + 4 files changed, 103 insertions(+) create mode 100644 docs/source/policy_deployment/06_so101_typing/so101_typing_policy.rst diff --git a/.github/workflows/check-links.yml b/.github/workflows/check-links.yml index 5165690f7643..c0c303c89a1e 100644 --- a/.github/workflows/check-links.yml +++ b/.github/workflows/check-links.yml @@ -72,6 +72,7 @@ jobs: with: # Check all markdown files and documentation # Excluded are known crawl blockers + # Remove the SO-101 exclusion once NVIDIA/so101-typing-task is public. args: >- --verbose --no-progress @@ -84,6 +85,7 @@ jobs: --exclude-loopback --exclude '^file://' --exclude '^mailto:' + --exclude '^https://github\.com/NVIDIA/so101-typing-task(?:\.git)?(?:[/?#]|$)' --exclude 'localhost' --exclude 'www\.tensorflow\.org/tensorboard' --exclude '127\.0\.0\.1' diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index ce229f4e2994..d38c63e64587 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -106,6 +106,7 @@ Guidelines for modifications: * Harsh Patel * Henry Hu * HoJin Jeon +* Hong Wang * Hongwei Xiong * Hongyu Li * Hougant Chen diff --git a/docs/source/policy_deployment/06_so101_typing/so101_typing_policy.rst b/docs/source/policy_deployment/06_so101_typing/so101_typing_policy.rst new file mode 100644 index 000000000000..d297c9f1b4c5 --- /dev/null +++ b/docs/source/policy_deployment/06_so101_typing/so101_typing_policy.rst @@ -0,0 +1,99 @@ +.. _so101_typing_policy: + +SO-101 Keyboard Typing with Isaac Lab +===================================== + +The `SO-101 typing project `_ trains +an SO-101 follower to press letters on a fixed Logitech MX Keys keyboard with +its typing jaw, then runs the learned policy on hardware through LeRobot. +Use it to explore sim-to-real typing, play a released policy in simulation, +or calibrate and train a policy for your own robot and keyboard setup. + +.. note:: + + **Isaac Lab version.** This project uses a pinned, patched Isaac Lab 3.0.0-based + runtime built from source revision + `6f991d4becf7 `_. + Use the project's Docker image rather than an existing Isaac Lab installation. + Compatibility with unmodified 3.0 GA or later versions has not been validated. + See the `runtime provenance `_ + for the source patch and dependency pins. + +What the project includes +------------------------- + +* An Isaac Lab typing environment using Newton's MJWarp solver and configurable + actuator models, with PPO training and evaluation through RSL-RL. +* Tools to measure the fixture and fit the simulated keyboard pose and joint-angle + calibration from recorded real key presses. +* Released checkpoints, simulation playback, and a separate CPU deployment runner + using LeRobot for motor control and Linux keyboard events for press/release feedback. + +The policy uses a fixed A-Z key-position map without camera input; it cannot +adjust to a moved keyboard. Physical deployment requires calibration and checks +that the real robot reaches and releases the intended keys in the trained scene. + +Supported platform and requirements +----------------------------------- + +The documented workflow supports **Linux x86-64 only**. Windows and ARM have not +been validated for this project. + +Simulation and training require an NVIDIA GPU, Docker with NVIDIA Container +Toolkit, host Python 3.10 or later, and ``curl`` or ``wget``. Build the project's +Docker image with ``./so101 build`` before running simulation commands. Allow +**at least 70 GB of available disk space** for Docker layers, caches and runs; +the built image is approximately 32.6 GB. Adjust parallel environments to fit +your GPU's memory; this also changes the number of samples per training update. + +Hardware deployment additionally requires an SO-101 follower with the supported +typing jaw, a Logitech MX Keys keyboard, and ``uv`` for the separate LeRobot +environment. Hardware inference does not require Isaac Sim or a GPU. See the +`hardware preparation guide `_ +for calibration, device access and operator procedures. + +Get started in simulation +------------------------- + +Clone the public repository and build its pinned runtime: + +.. code-block:: bash + + git clone https://github.com/NVIDIA/so101-typing-task.git + cd so101-typing-task + ./so101 build + +Download the released September checkpoint and generate a typing rollout; +no physical robot is needed: + +.. code-block:: bash + + ./so101 download + bundle=.artifacts/so101-keyboard-typing-benchmark/releases/calibrated-20260917 + ./so101 video --actuator anchorbench --stage transit15 \ + --checkpoint "$bundle/model_2498.pt" \ + --env-config "$bundle/params/env.yaml" --target NEWTON + +Keep the checkpoint's complete ``params/`` directory for playback, evaluation +and deployment. The first simulation launch compiles Warp kernels. + +Training and physical deployment +-------------------------------- + +Follow the repository's `training guide `_ +for the two-letter P1A and six-letter Transit15 stages. Its demonstrated starting +budget is 500 P1A plus 2,000 Transit15 updates with 4,096 environments. Evaluate +between stages and increase the budget if needed; this is not a guaranteed minimum. +The example seeds make experiments reproducible and are not required values for success. + +Before hardware execution, follow the +`scene calibration `_ +and `alignment checks `_ +for your robot. The released joint-angle offsets map encoder readings to model +coordinates for the original setup; they do not calibrate another robot. + +The repository maintains the detailed +`simulation quickstart `_, +`fixture setup `_, +and `configuration guide `_. +Use those guides for training, debugging, evaluation and deployment instructions. diff --git a/docs/source/policy_deployment/index.rst b/docs/source/policy_deployment/index.rst index 149aef8b90d4..95be33635e49 100644 --- a/docs/source/policy_deployment/index.rst +++ b/docs/source/policy_deployment/index.rst @@ -13,3 +13,4 @@ Below, you'll find detailed examples of various policies for training and deploy 03_compass_with_NuRec/compass_navigation_policy_with_NuRec 04_reach/reach_policy 05_leapp/exporting_policies_with_leapp + 06_so101_typing/so101_typing_policy