2.3 KiB
go2_rl_robotlab
Overview
Train Unitree Go2 with MoE-CTS.
This is a reproduction version of go2_rl_gym on RobotLab/IsaacLab.
Installation Guide
1. Install IsaacLab
Install Isaac Lab by following the installation guide.
Notice that we use certain version of IsaacLab packages, make sure:
isaacsim <= 5.1.0.0 # tested on 5.1.0.0
isaaclab <= 0.53.1 # tested on 0.53.1
isaaclab-rl <= 0.4.7 # tested on 0.4.7
2. Install customized RSL-RL and RobotLab
We uses a customized version of rsl_rl and robot_lab. To install it, run the following commands:
python -m pip install -e source/robot_lab
python -m pip install -e source/rsl_rl
Try examples
Use the following commands to train and play:
# Train
python scripts/reinforcement_learning/rsl_rl/train.py --task=RobotLab-Go2-v0 --headless
# Play
python scripts/reinforcement_learning/rsl_rl/play.py --task=RobotLab-Go2-v0
Configuration
-
Modify
source/robot_lab/robot_lab/tasks/go2/env_cfg.pyfor environment config. -
Modify
source/robot_lab/robot_lab/tasks/go2/rsl_rl_cfg.pyfor algorithm config. -
Modify
source/robot_lab/robot_lab/tasks/go2/__init__.pyto add your own task with new config. -
Add args in commands to override above configs, for example:
--experiment_name=moe_cts --run_name=v1 --num_envs=16384 --resume --checkpoint=path/to/your/checkpointfor more usage, see robot_lab.
Differences with go2_rl_gym
- Terrain's composition are different(see code).
- tracking reward are different (fixed sigma vs. dynamic sigma).
Acknowledgements
This repository would not exist without the following open-source projects:
- isaac_lab: Unified framework for robot learning built on NVIDIA Isaac Sim.
- rsl_rl: Reinforcement learning algorithms.
- robot_lab: RL Extension Library for Robots, Based on IsaacLab.
Related publications implemented in this repo: