README_TRAIN.md
May 13, 2026 ยท View on GitHub
Installation Train
-
Install Isaac Lab by following the installation guide. We recommend using the conda installation as it simplifies calling Python scripts from the terminal.
-
Install git for very large file
sudo apt install git-lfs
-
Clone the repository separately from the Isaac Lab installation (i.e. outside the
IsaacLabdirectory) -
Using a python interpreter that has Isaac Lab installed, install the library
python -m pip install -e source/get_up_isaaclab
- If you want to play with Morphologycal Symmetries, install the repo morphosymm-rl
Run a train/play in IsaacLab
- To train:
python scripts/rsl_rl/train.py --task=GetUp-Go2-Flat --num_envs=4096 --headless
python scripts/rsl_rl/train.py --task=GetUp-Go2-Rough-Blind --num_envs=4096 --headless
- To test the policy, you can press:
python scripts/rsl_rl/play.py --task=GetUp-Go2-Flat --num_envs=16
python scripts/rsl_rl/play.py --task=GetUp-Go2-Rough-Blind --num_envs=16
- If you have speed problem in training, may be due to cylinder collision. Then add
--kit_args="--/physics/collisionApproximateCylinders=true"
Run Hyperparameter Search
echo "import ray; ray.init(); import time; [time.sleep(10) for _ in iter(int, 1)]" | python3 (TERMINAL 1)
python3 ../get_up_isaaclab/exts/get_up_isaaclab/get_up_isaaclab/hyperparameter_tuning/tuner.py --run_mode local --cfg_file ../get_up_isaaclab/exts/get_up_isaaclab/get_up_isaaclab/hyperparameter_tuning/locomotion_aliengo_cfg.py --cfg_class LocomotionAliengoFlatTuner (TERMINAL 2)
Convert XML to USD
We use model from gym-quadruped.
./isaaclab.sh -p scripts/tools/convert_mjcf.py ../get_up_isaaclab/scripts/sim_to_sim_mujoco/gym-quadruped/gym_quadruped/robot_model/aliengo/aliengo.xml ../aliengo.usd --import-sites --make-instanceable
Remember to set in the application above, "set as default prim" to the root of the robot. Furthermore, for now, add the following lines in the xml of your robots to make the feet seen as body
<body name="FL_foot" pos="0 0 -0.25">
<!-- FL_foot only collision -->
<geom name="FL" class="collision" size="0.0265" pos="0 0 0" />
</body>