From 3753daef38075dd8a38e976be2730625bfe2c53a Mon Sep 17 00:00:00 2001 From: JX <65676392+jingxiangmo@users.noreply.github.com> Date: Thu, 24 Oct 2024 23:48:55 -0700 Subject: [PATCH] Update isaac.mdx --- pages/software/simulation/isaac.mdx | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/pages/software/simulation/isaac.mdx b/pages/software/simulation/isaac.mdx index 4122719..f968acc 100644 --- a/pages/software/simulation/isaac.mdx +++ b/pages/software/simulation/isaac.mdx @@ -73,6 +73,24 @@ python sim/play.py --task stompymini --sim_device cpu See [this doc](https://docs.google.com/document/d/1YZzBqIXO7oq7vIKu-BZr5ssNsi3nKtxpRPnfSnTXojA/edit?usp=sharing) for more beginner tips. +### Sim2Sim Evaluation + +You have to create a xml for your robot and then: + +1. export paths +``` bash +export PYTHONPATH="$(dirname $(pwd)):$PYTHONPATH" +export MODEL_DIR="sim/resources" +``` + +2. run sim/sim2sim.py. Examples: +```bash +python sim/play.py --task mini_ppo --sim_device cpu +python sim/sim2sim.py --load_model examples/standing_pro.pt --embodiment stompypro +python sim/sim2sim.py --load_model examples/standing_micro.pt --embodiment stompymicro +```` + + ### Adding a new robot Creating a new embodiment is quite straightforward. The best way is to copy an existing robot and modify it.