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