This repository provides a set of reinforcement learning tasks for Booster robots using Isaac Lab. Currently it includes the fabulous BeyondMimic motion tracking framework adapted to Booster K1 robots. This repository follows the standard Isaac Lab project structure, and is tested with IsaacLab 2.2 and Isaac Sim 5.0.
Install Isaac Lab by following the installation guide. We recommend using the conda installation as it simplifies calling Python scripts from the terminal.
Clone or copy this project/repository separately from the Isaac Lab installation (i.e. outside the IsaacLab directory):
bash
git clone https://github.com/BoosterRobotics/booster_train.git
Download and install booster_assets:
Install booster_assets python helper following the instructions in the repository.
Using a python interpreter that has Isaac Lab installed, install the library in editable mode using:
```bash
python -m pip install -e source/booster_train ```
Prepare BeyondMimic motion data:
bash
# use 'FULL_PATH_TO_isaaclab.sh|bat -p' instead of 'python' if Isaac Lab is not installed in Python venv or conda
python scripts/csv_to_npz.py --headless --input_file=<PATH_TO_BOOSTER_ASSETS>/motions/K1/<MOTION>.csv --input_fps=<FPS> --output_name=<PATH_TO_BOOSTER_ASSETS>/motions/K1/<MOTION>.npz
Listing the available tasks:
```bash
python scripts/list_envs.py ```
Running a task:
```bash
python scripts/rsl_rl/train.py --task= --headless --device cuda:N ```
Play a trained policy and export it for deployment:
```bash
python scripts/rsl_rl/play.py --task= --checkpoint= ```
This script also exports the trained policy to a TorchScript/ONNX file for deployment on real robots in logs/rsl_rl/<EXPERIMENT>/<RUN>/exported/.
After a model has been trained and exported, you can deploy the trained policy in MuJoCo or on real Booster robots using the booster_deploy repository. For more details, please refer to the instructions in the booster_deploy repository.
$ claude mcp add booster_train \
-- python -m otcore.mcp_server <graph>