Repository navigation
[Backport] PR #8370 to release/3.0.0 #8445
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
99 changes: 99 additions & 0 deletions
99
docs/source/policy_deployment/06_so101_typing/so101_typing_policy.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,99 @@ | ||
| .. _so101_typing_policy: | ||
|
|
||
| SO-101 Keyboard Typing with Isaac Lab | ||
| ===================================== | ||
|
|
||
| The `SO-101 typing project <https://github.com/NVIDIA/so101-typing-task>`_ 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 <https://github.com/isaac-sim/IsaacLab/commit/6f991d4becf764b151e0a1c775561ddd9c406f72>`_. | ||
| 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 <https://github.com/NVIDIA/so101-typing-task/blob/main/runtime/README.md>`_ | ||
| 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 <https://github.com/NVIDIA/so101-typing-task/blob/main/docs/release/HARDWARE_PREPARATION.md>`_ | ||
| 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 <https://github.com/NVIDIA/so101-typing-task/blob/main/docs/release/TRAINING.md>`_ | ||
| 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 <https://github.com/NVIDIA/so101-typing-task/blob/main/docs/release/REAL2SIM.md>`_ | ||
| and `alignment checks <https://github.com/NVIDIA/so101-typing-task/blob/main/docs/release/ALIGNMENT.md>`_ | ||
| 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 <https://github.com/NVIDIA/so101-typing-task/blob/main/docs/release/QUICKSTART.md>`_, | ||
| `fixture setup <https://github.com/NVIDIA/so101-typing-task/blob/main/FIXTURE_SETUP.md>`_, | ||
| and `configuration guide <https://github.com/NVIDIA/so101-typing-task/blob/main/docs/release/TASK_CONFIGURATION.md>`_. | ||
| Use those guides for training, debugging, evaluation and deployment instructions. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🟡 Warning · Style Consistency — Guide calls private repository public
This page says "Clone the public repository", but the link-check exclusion added in this diff states NVIDIA/so101-typing-task is not yet public, so the clone and every linked file fail. Drop "public" or note pending availability.