maximellerbach HF Staff commited on
Commit
9ecab1e
·
verified ·
1 Parent(s): 523118c

README: drive the environment as a sim robot, in-process or served

Browse files
Files changed (1) hide show
  1. README.md +5 -3
README.md CHANGED
@@ -47,14 +47,16 @@ From a LeRobot checkout, start the server (the image installs `requirements.txt`
47
  lerobot-env-server --docker --envhub=maximellerbach/omx-multicubes-mujoco
48
  ```
49
 
50
- Then run a policy trained on one of the datasets, selecting its task:
51
 
52
  ```bash
53
- lerobot-rollout --robot.type=remote --robot.endpoint=tcp/127.0.0.1:7448 \
54
- --robot.deployment=envhub --robot.task=omx_multicubes \
55
  --policy.path=maximellerbach/omx_multicubes_act --fps=30
56
  ```
57
 
 
 
58
  ## In-process
59
 
60
  ```python
 
47
  lerobot-env-server --docker --envhub=maximellerbach/omx-multicubes-mujoco
48
  ```
49
 
50
+ Then drive it as a robot, here with a policy:
51
 
52
  ```bash
53
+ lerobot-rollout --robot.type=sim --robot.endpoint=tcp/127.0.0.1:7448 \
54
+ --robot.env.type=envhub --robot.env.hub_path=maximellerbach/omx-multicubes-mujoco --robot.env.task=omx_multicubes \
55
  --policy.path=maximellerbach/omx_multicubes_act --fps=30
56
  ```
57
 
58
+ Without `--robot.endpoint`, the same command runs the environment in-process (with `--robot.env.trust_remote_code=true` and the requirements installed next to LeRobot). `lerobot-eval` takes the same options as `--env.*`, e.g. `--env.type=envhub --env.hub_path=maximellerbach/omx-multicubes-mujoco --env.task=omx_multicubes`.
59
+
60
  ## In-process
61
 
62
  ```python