Skip to content

Software

robot_lab

From github.com/fan-ziqi/robot_lab (opens in a new tab)

  • Humanoids and robot learning
  • Framework
  • Apache-2.0

An extension library for Isaac Lab that trains reinforcement learning locomotion policies for many legged, wheeled and humanoid robots in an isolated repository.

  • Closed core. It needs closed parts: NVIDIA Isaac Sim.

Facts

GitHub stars
1,993read on 29 Nov 2026
Last update
20 Oct 2026Newest commit on main
Maintenance
Activea commit in the last 90 days
Difficulty
Advanced

Checked on GitHub on 29 Nov 2026.

Licenses

Code
Apache-2.0 (opens in a new tab)

Read by Robotheca from LICENSE (opens in a new tab) (Apache-2.0) at commit 26acb22 (opens in a new tab), on 24 Oct 2026.

Commercial use
Unknown

It needs closed parts under their own terms: read them before any commercial use.

One part it needs is closed

  • Needs NVIDIA Isaac Sim: robot_lab, an extension of Isaac Lab, runs on NVIDIA Isaac Sim, whose Omniverse components are under NVIDIA's own terms.

At a glance

What it is
  • Provides ready-made Isaac Lab environments for quadruped, wheeled and humanoid robots, such as Anymal D, Unitree Go2 and G1.
  • Installs as a Python package on top of an existing Isaac Lab installation and can be listed with a helper script.
  • Supports training and playback with the RSL-RL library and an experimental CusRL backend.
  • Includes a motion-tracking workflow for Unitree G1 that converts retargeted motion CSV files into NPZ format and replays them.
  • Offers experimental AMP dance and handstand tasks, plus symmetry augmentation and teacher-student distillation for Anymal D.
  • Can run training across multiple GPUs and nodes, and provides a Docker setup built on a locally built Isaac Lab base image.

Robotheca's summary of the project's documents, not the creator's words.

Robots on Robotheca
No robot on Robotheca uses it yet.
Licence
Apache-2.0. Commercial use: Unknown. Where it was read
Install
In the creator's words: The project's README (opens in a new tab)
Maintenance
Active, last commit on 20 Oct 2026.

Use it

How to install it, in the creator's words: The project's README (opens in a new tab)

Robotheca doesn't review code. Read it before running it.

Files and versions

Facts read at commit 26acb22

Robotheca read the repository at two versions: the summary at 500399e and the facts and the README at 26acb22 (read on 29 Nov 2026).

Robotheca never hosts the code: each link goes to the creator's own page.

The README

The creator's own README, copied as written: README.md by @fan-ziqi, at commit 26acb22, under Apache-2.0 (opens in a new tab). The original on GitHub (opens in a new tab).

Read the README here

robot_lab

(opens in a new tab) (opens in a new tab) (opens in a new tab) (opens in a new tab) (opens in a new tab) (opens in a new tab) (opens in a new tab)

Overview

robot_lab is a RL extension library for robots, based on IsaacLab. It allows you to develop in an isolated environment, outside of the core Isaac Lab repository.

The table below lists representative environments. Use isaaclab list_envs for all task IDs and agent configurations:

CategoryRobot ModelEnvironment Name (<ENV_NAME>)Screenshot
QuadrupedAnymal D (opens in a new tab)Isaac-Velocity-Flat-Anymal-D-v0anymal_d
Unitree Go2 (opens in a new tab)RobotLab-Isaac-Velocity-Rough-Unitree-Go2-v0unitree_go2
Unitree B2 (opens in a new tab)RobotLab-Isaac-Velocity-Rough-Unitree-B2-v0unitree_b2
Unitree A1 (opens in a new tab)RobotLab-Isaac-Velocity-Rough-Unitree-A1-v0unitree_a1
Deeprobotics Lite3 (opens in a new tab)RobotLab-Isaac-Velocity-Rough-Deeprobotics-Lite3-v0Lite3
Zsibot ZSL1 (opens in a new tab)RobotLab-Isaac-Velocity-Rough-Zsibot-ZSL1-v0zsibot_zsl1
Magiclab MagicDog (opens in a new tab)RobotLab-Isaac-Velocity-Rough-MagicLab-Dog-v0magiclab_magicdog
Agibot D1 (opens in a new tab)RobotLab-Isaac-Velocity-Rough-Agibot-D1-v0magiclab_magicdog
WheeledUnitree Go2W (opens in a new tab)RobotLab-Isaac-Velocity-Rough-Unitree-Go2W-v0unitree_go2w
Unitree B2W (opens in a new tab)RobotLab-Isaac-Velocity-Rough-Unitree-B2W-v0unitree_b2w
Deeprobotics M20 (opens in a new tab)RobotLab-Isaac-Velocity-Rough-Deeprobotics-M20-v0deeprobotics_m20
DDTRobot Tita (opens in a new tab)RobotLab-Isaac-Velocity-Rough-DDTRobot-Tita-v0ddtrobot_tita
Zsibot ZSL1W (opens in a new tab)RobotLab-Isaac-Velocity-Rough-Zsibot-ZSL1W-v0zsibot_zsl1w
Magiclab MagicDog-W (opens in a new tab)RobotLab-Isaac-Velocity-Rough-MagicLab-Dog-W-v0magiclab_magicdog_w
HumanoidUnitree G1 (opens in a new tab)RobotLab-Isaac-Velocity-Rough-Unitree-G1-v0unitree_g1
Unitree H1 (opens in a new tab)RobotLab-Isaac-Velocity-Rough-Unitree-H1-v0unitree_h1
FFTAI GR1T1 (opens in a new tab)RobotLab-Isaac-Velocity-Rough-FFTAI-GR1T1-v0fftai_gr1t1
FFTAI GR1T2 (opens in a new tab)RobotLab-Isaac-Velocity-Rough-FFTAI-GR1T2-v0fftai_gr1t2
Booster T1 (opens in a new tab)RobotLab-Isaac-Velocity-Rough-Booster-T1-v0booster_t1
RobotEra Xbot (opens in a new tab)RobotLab-Isaac-Velocity-Rough-RobotEra-Xbot-v0robotera_xbot
Openloong Loong (opens in a new tab)RobotLab-Isaac-Velocity-Rough-Openloong-Loong-v0openloong_loong
RoboParty ATOM01 (opens in a new tab)RobotLab-Isaac-Velocity-Rough-RoboParty-ATOM01-v0roboparty_atom01
Magiclab MagicBot-Gen1 (opens in a new tab)RobotLab-Isaac-Velocity-Rough-MagicLab-Bot-Gen1-v0magiclab_magicbot_gen1
Magiclab MagicBot-Z1 (opens in a new tab)RobotLab-Isaac-Velocity-Rough-MagicLab-Bot-Z1-v0magiclab_magicbot_z1

[!NOTE] If you want to run policy in gazebo or real robot, please use rl_sar (opens in a new tab) project.

Discuss in Github Discussion (opens in a new tab) or Discord (opens in a new tab).

Version Dependency
robot_lab VersionIsaac Lab VersionIsaac Sim Version
main branchv3.0.0Isaac Sim 6.2 (optional for Newton)
v2.3.2v2.3.2Isaac Sim 4.5 / 5.0 / 5.1
v2.2.2v2.2.1Isaac Sim 4.5 / 5.0
v2.1.1v2.1.1Isaac Sim 4.5
v1.1v1.4.1Isaac Sim 4.2
Installation

Use Python 3.12 and uv (opens in a new tab). This source project follows Isaac Lab's external-project template and expects an Isaac Lab v3.0.0 checkout beside it:

workspaces/
├── IsaacLab/     # v3.0.0
└── robot_lab/

For a new workspace:

git clone --branch v3.0.0 --depth 1 https://github.com/isaac-sim/IsaacLab.git
git clone https://github.com/fan-ziqi/robot_lab.git
cd robot_lab
uv sync --extra importers
uv run --extra importers isaaclab list_envs --show_presets

If the checkouts already exist, verify the Isaac Lab version and run uv sync --extra importers from this repository. Relative source paths are declared in pyproject.toml; update them if the Isaac Lab directory moves. Commit uv.lock with dependency changes.

For an existing, fully provisioned Isaac Lab environment, install only this extension:

uv pip install --no-deps -e .
uv run --active --no-project isaaclab list_envs
Newton without Isaac Sim

Velocity tasks use Isaac Lab's RoughPhysicsCfg and default to Newton MJWarp. The importers extra provides URDF/MJCF conversion without installing the full Isaac Sim runtime or Kit.

uv run --extra importers isaaclab zero_agent --task RobotLab-Isaac-Velocity-Flat-Unitree-Go2-v0 --num_envs 4 --max_steps 100 --viz none physics=newton_mjwarp
uv run --extra importers isaaclab train --rl_library rsl_rl --task RobotLab-Isaac-Velocity-Flat-Unitree-Go2-v0 --viz none physics=newton_mjwarp
uv run --extra importers isaaclab play --rl_library rsl_rl --task RobotLab-Isaac-Velocity-Flat-Unitree-Go2-v0 --checkpoint latest --num_envs 4 --viz newton_gl physics=newton_mjwarp

The standalone importer retains the namespace isaacsim.asset.importer. It converts assets and registers USD schemas without SimulationApp. Project initialization imports it before the first USD stage is created when standalone importers are available.

Isaac Sim PhysX

Use a separate environment for Isaac Sim. Its regular isaacsim package shadows the standalone importer namespace, so URDF import in that environment requires Kit.

UV_PROJECT_ENVIRONMENT=.venv-isaacsim uv sync --extra isaacsim
UV_PROJECT_ENVIRONMENT=.venv-isaacsim uv run --extra isaacsim isaaclab zero_agent --task RobotLab-Isaac-Velocity-Flat-Unitree-Go2-v0 --num_envs 4 --max_steps 100 --viz none physics=isaacsim_physx
UV_PROJECT_ENVIRONMENT=.venv-isaacsim uv run --extra isaacsim isaaclab train --rl_library rsl_rl --task RobotLab-Isaac-Velocity-Flat-Unitree-Go2-v0 --viz none physics=isaacsim_physx
UV_PROJECT_ENVIRONMENT=.venv-isaacsim uv run --extra isaacsim isaaclab play --rl_library rsl_rl --task RobotLab-Isaac-Velocity-Flat-Unitree-Go2-v0 --checkpoint latest --num_envs 4 --viz kit physics=isaacsim_physx

When Newton runs in the full Isaac Sim environment, add --viz kit for URDF import. USD assets can run without Kit unless another selected component requires it. The AMP and BeyondMimic tasks currently configure Isaac Sim PhysX directly.

Train, play and record

Use the upstream CLI and select the RL library with --rl_library. RSL-RL is included; install --extra skrl for tasks with a skrl agent configuration. Select a task and its available libraries with isaaclab list_envs.

# Zero or random actions
uv run --extra importers isaaclab random_agent --task RobotLab-Isaac-Velocity-Flat-Unitree-Go2-v0 --num_envs 4 --max_steps 100 --viz none physics=newton_mjwarp

# Choose a checkpoint explicitly, or use latest/best
uv run --extra importers isaaclab play --rl_library rsl_rl --task RobotLab-Isaac-Velocity-Flat-Unitree-Go2-v0 --checkpoint /path/to/model.pt --viz newton_gl physics=newton_mjwarp

# Resume training
uv run --extra importers isaaclab train --rl_library rsl_rl --task RobotLab-Isaac-Velocity-Flat-Unitree-Go2-v0 --checkpoint /path/to/model.pt --viz none physics=newton_mjwarp

# Record a bounded playback through the selected visualizer
uv run --extra importers --extra video isaaclab play --rl_library rsl_rl --task RobotLab-Isaac-Velocity-Flat-Unitree-Go2-v0 --checkpoint latest --video --video_length 200 --viz newton_gl physics=newton_mjwarp

# Multiple GPUs
uv run --extra importers isaaclab train_multigpu --rl_library rsl_rl --task RobotLab-Isaac-Velocity-Flat-Unitree-Go2-v0 --num_gpus 2 --viz none physics=newton_mjwarp

# Training logs
uv run tensorboard --logdir logs

The scripts under scripts/reinforcement_learning/train.py, play.py, and the existing rsl_rl and skrl directories delegate to upstream entry points. The compatibility scripts still accept --headless; new commands use --viz none.

CusRL

CusRL is a project integration and uses its own scripts. Select its extra together with the runtime:

uv run --extra importers --extra cusrl python scripts/reinforcement_learning/cusrl/train.py --task RobotLab-Isaac-Velocity-Flat-Unitree-Go2-v0 --viz none physics=newton_mjwarp
uv run --extra importers --extra cusrl python scripts/reinforcement_learning/cusrl/play.py --task RobotLab-Isaac-Velocity-Flat-Unitree-Go2-v0 --checkpoint /path/to/model.pt --viz newton_gl physics=newton_mjwarp
Motion tracking and AMP

Acquire the motion data under its original license. Convert retargeted G1 CSV files for BeyondMimic with the repository tool, then set the resulting archive in the environment configuration:

UV_PROJECT_ENVIRONMENT=.venv-isaacsim uv run --extra isaacsim python scripts/tools/beyondmimic/csv_to_npz.py -f /path/to/motion.csv --input_fps 60 --viz none --exit_after_save
UV_PROJECT_ENVIRONMENT=.venv-isaacsim uv run --extra isaacsim python scripts/tools/beyondmimic/replay_npz.py -f /path/to/motion.npz --viz kit
UV_PROJECT_ENVIRONMENT=.venv-isaacsim uv run --extra isaacsim isaaclab train --rl_library rsl_rl --task RobotLab-Isaac-BeyondMimic-Flat-Unitree-G1-v0 --viz none env.commands.motion.motion_file=/path/to/motion.npz

For G1 AMP, use a motion archive containing joint names, body names, positions, rotations and velocities. See the motion format and conversion tools (opens in a new tab).

UV_PROJECT_ENVIRONMENT=.venv-isaacsim uv run --extra isaacsim --extra skrl isaaclab train --rl_library skrl --task RobotLab-Isaac-G1-AMP-Dance-Direct-v0 --algorithm AMP --viz none
UV_PROJECT_ENVIRONMENT=.venv-isaacsim uv run --extra isaacsim --extra skrl isaaclab play --rl_library skrl --task RobotLab-Isaac-G1-AMP-Dance-Direct-v0 --algorithm AMP --checkpoint latest --num_envs 4 --viz kit
Symmetry, distillation and handstand

ANYmal-D registers separate RSL-RL agent configurations for symmetry and distillation:

uv run --extra importers isaaclab train --rl_library rsl_rl --task Isaac-Velocity-Flat-Anymal-D-v0 --agent rsl_rl_with_symmetry_cfg_entry_point --viz none physics=newton_mjwarp agent.algorithm.symmetry_cfg.use_data_augmentation=true
uv run --extra importers isaaclab train --rl_library rsl_rl --task Isaac-Velocity-Flat-Anymal-D-v0 --agent rsl_rl_distillation_cfg_entry_point --checkpoint /path/to/teacher/model.pt --viz none physics=newton_mjwarp
uv run --extra importers isaaclab train --rl_library rsl_rl --task RobotLab-Isaac-Velocity-Flat-HandStand-Unitree-A1-v0 --viz none physics=newton_mjwarp

For playback in a custom scene, use scripts/reinforcement_learning/rsl_rl/play_cs.py with --map /path/to/scene.usd, the task, checkpoint and backend arguments.

Add a robot or task

Tasks follow the Gymnasium API. Common velocity configuration and MDP terms belong to the task family; robot-specific scenes, registrations and agent configurations belong to config:

source/robot_lab/robot_lab/
├── assets/
│   ├── data/Robots/               # Packaged project-owned URDFs, meshes and textures
│   └── unitree.py                # Asset configuration
└── tasks/manager_based/locomotion/velocity/
    ├── velocity_env_cfg.py        # Shared task and upstream physics presets
    ├── mdp/                      # Project-specific terms and upstream lazy exports
    └── config/quadruped/unitree_a1/
        ├── __init__.py           # Gymnasium registrations
        ├── rough_env_cfg.py
        ├── flat_env_cfg.py
        └── agents/

Use ROBOT_LAB_ASSETS_DIR from robot_lab.assets for asset paths. It resolves correctly in an editable checkout and an installed wheel. Register new tasks in their package's __init__.py with module-path environment and agent entry points, following the existing registrations. The isaaclab.tasks package entry point discovers them without copying launchers.

Use one mechanical asset for both backends and composable upstream schema configurations for backend-specific properties. Keep run_asset_transformer=True and run_multi_physics_conversion=True for URDF/MJCF import. Set solver capacities directly in the task's self.sim.physics.newton_mjwarp.solver_cfg. Follow the official asset preparation guide (opens in a new tab) and 2.x to 3.0 migration guide (opens in a new tab).

Assets use each backend's native public joint/body ordering by default. For checkpoint transfer, configure ArticulationCfg.joint_ordering and body_ordering through the upstream ordering API. Checkpoints trained with the previous explicit ordering profiles or unmerged body layouts require their original conventions. A1 velocity tasks randomize physical trunk/link masses while preserving the foot bodies. G1 uses its physical pelvis as the root; velocity tasks merge fixed sensor frames. New BeyondMimic archives store joint/body names and resolve motion data by name. Reconvert legacy archives if their body layout differs, using an output FPS matching the task control rate.

Validate initial states, contacts, observations, rewards and repeated resets in both backends before training. Smoke tests and short training do not establish policy convergence or transfer quality.

Development
uv run pytest
uv run pre-commit run --all-files
uv run --extra importers isaaclab --editor

The editor command selects the active interpreter and writes the local Pyright configuration. The setup_python_env VS Code task invokes it. Select that interpreter in VS Code or Cursor; see the upstream editor setup (opens in a new tab). If ROS injects incompatible pytest plugins into the environment, run tests with PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 uv run pytest.

The optional robot_lab.ui_extension_example module is a Kit UI example; task discovery and training do not load it.

Docker

Build an Isaac Lab v3.0.0 base image using its Docker workflow, then set ISAACLAB_BASE_IMAGE in docker/.env.base to that image. The extension image installs this project into the base image's provisioned environment:

cd docker
docker compose --env-file .env.base --file docker-compose.yaml build robot-lab
docker compose --env-file .env.base --file docker-compose.yaml run --rm robot-lab
# Inside the container, use the existing environment:
uv run --active --no-project isaaclab list_envs
Citation

Please cite the following if you use this code or parts of it:

@software{fan-ziqi2024robot_lab,
  author = {Ziqi Fan},
  title = {robot_lab: RL Extension Library for Robots, Based on IsaacLab.},
  url = {https://github.com/fan-ziqi/robot_lab},
  year = {2024}
}
Acknowledgements

The project uses some code from the following open-source code repositories:

Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.