Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sim2Sim Docs #18

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions pages/software/simulation/isaac.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down