Fix simple_client docker flow and documentation
This commit is contained in:
committed by
uzhilinsky
parent
098d387c8e
commit
fc7b7bc694
@@ -2,10 +2,16 @@
|
||||
|
||||
A minimal client that sends observations to the server and prints the inference rate.
|
||||
|
||||
You can specifiy which runtime environment to use using the `--env` flag. You can see the available options by running:
|
||||
|
||||
```bash
|
||||
uv run examples/simple_client/main.py --help
|
||||
```
|
||||
|
||||
## With Docker
|
||||
|
||||
```bash
|
||||
export SERVER_ARGS="--example aloha"
|
||||
export SERVER_ARGS="--env ALOHA_SIM"
|
||||
docker compose -f examples/simple_client/compose.yml up --build
|
||||
```
|
||||
|
||||
@@ -14,11 +20,11 @@ docker compose -f examples/simple_client/compose.yml up --build
|
||||
Terminal window 1:
|
||||
|
||||
```bash
|
||||
uv run examples/simple_client/main.py
|
||||
uv run examples/simple_client/main.py --env DROID
|
||||
```
|
||||
|
||||
Terminal window 2:
|
||||
|
||||
```bash
|
||||
uv run scripts/serve_policy.py
|
||||
uv run scripts/serve_policy.py --env DROID
|
||||
```
|
||||
Reference in New Issue
Block a user