Skip to content

Commit 39d75ed

Browse files
authored
Update HITL readmes. (facebookresearch#2139)
1 parent 9b0e85b commit 39d75ed

File tree

5 files changed

+12
-73
lines changed

5 files changed

+12
-73
lines changed

examples/hitl/basic_viewer/README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,10 @@ Inspect Habitat environments, episodes, and agent policy evaluation in real time
77
## Installing and using HITL apps
88
See [habitat-hitl/README.md](../../../habitat-hitl/README.md)
99

10-
## To run
11-
cd path/to/habitat-lab # Or wherever data/ is symlinked
12-
1310
## Example launch command
11+
Run the following command from the root `habitat-lab` directory:
1412

1513
```bash
16-
HABITAT_SIM_LOG=warning MAGNUM_LOG=warning \
1714
python examples/hitl/basic_viewer/basic_viewer.py habitat_hitl.episodes_filter='0 2 4 10:15 1000:4000:500'
1815
```
1916

examples/hitl/minimal/README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
# Minimal HITL application
22

3-
A minimal HITL app that loads and steps a Habitat environment, with a fixed overhead camera. See [`habitat_hitl/README.md`](../../../habitat-hitl/README.md#minimal-hitl-application)
3+
A minimal application that loads and steps a Habitat environment, with a fixed overhead camera. See [`habitat_hitl/README.md`](../../../habitat-hitl/README.md#minimal-hitl-application)
44

5-
# To run
5+
# Example launch command
66

7-
cd path/to/habitat-lab # Or wherever data/ is symlinked
7+
Run the following command from the root `habitat-lab` directory:
8+
9+
```bash
10+
python examples/hitl/minimal/minimal.py'
11+
```

examples/hitl/pick_throw_vr/README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ See [habitat-hitl/README.md](../../../habitat-hitl/README.md).
3838
## Example launch command (mouse/keyboard)
3939

4040
```bash
41-
HABITAT_SIM_LOG=warning MAGNUM_LOG=warning \
4241
python examples/hitl/pick_throw_vr/pick_throw_vr.py
4342
```
4443

@@ -80,9 +79,7 @@ The standard keyboard-mouse launch command-line arguments can be used with those
8079
* The `habitat_hitl.networking.enable=True` config override launches the Pick_throw_vr app as a server, allowing a remote client (e.g. VR headset) to connect and control the human avatar.
8180

8281
```bash
83-
HABITAT_SIM_LOG=warning MAGNUM_LOG=warning \
84-
python examples/hitl/pick_throw_vr/pick_throw_vr.py \
85-
habitat_hitl.networking.enable=True
82+
python examples/hitl/pick_throw_vr/pick_throw_vr.py habitat_hitl.networking.enable=True
8683
```
8784

8885
We also have an experimental headless server:

examples/hitl/rearrange/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ See [habitat-hitl/README.md](../../../habitat-hitl/README.md).
1212
## Example launch command
1313

1414
```bash
15-
HABITAT_SIM_LOG=warning MAGNUM_LOG=warning \
1615
python examples/hitl/rearrange/rearrange.py
1716
```
1817

examples/hitl/rearrange_v2/README.md

Lines changed: 3 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,6 @@
11
# Rearrange_v2 HITL application
22

3-
SIRo's 2024H1 data-collection app. Work in progress.
3+
Experimental application for evaluating rearrangement experiments using [partnr-planner](https://github.com/facebookresearch/partnr-planner).
4+
Supports single-user, multi-user and user-agent settings.
45

5-
## Installation
6-
See [habitat-hitl/README.md](../../../habitat-hitl/README.md).
7-
8-
In addition to the core HITL data above, you need the private [fphab](https://huggingface.co/datasets/fpss/fphab) repo. Reach out to the SIRo team for access.
9-
```
10-
cd path/to/habitat-lab/data
11-
git clone --branch articulated-scenes --single-branch --depth 1 https://huggingface.co/datasets/fpss/fphab
12-
mv fphab fpss
13-
```
14-
15-
To test the Habitat-LLM episodes in `rearrange_v2` you'll need to download and unzip the following [episode dataset](https://drive.google.com/file/d/1zFCBiWE_XFY0Ry9CZOV_NF_rfxBw1y-F/view?usp=sharing) in Habitat-Lab root directory. In addition, you'll need YCB, GSO, AI2THOR, and ABO object assets. To download these assets use the following commands:
16-
17-
```
18-
cd data
19-
git clone https://huggingface.co/datasets/ai-habitat/OVMM_objects objects --recursive
20-
cd objects
21-
git checkout 3893a735352b92d46505f35d759553f5fc82a39b
22-
```
23-
24-
## Data directory
25-
26-
Run `rearrange_v2` from the Habitat-lab root directory. It will expect `data/` for Habitat-lab data, and it will also look for `examples/hitl/rearrange_v2/app_data/demo.json.gz` (included alongside source files in our git repo).
27-
28-
## Example launch commands
29-
30-
Local testing (local display and keyboard control):
31-
```bash
32-
python examples/hitl/rearrange_v2/rearrange_v2.py
33-
```
34-
35-
Headed server (includes local display and keyboard control):
36-
```bash
37-
python examples/hitl/rearrange_v2/rearrange_v2.py habitat_hitl.networking.enable=True
38-
```
39-
40-
Headless server:
41-
```bash
42-
python examples/hitl/rearrange_v2/rearrange_v2.py +experiment=headless_server
43-
```
44-
45-
To test Habitat-LLM episodes using a user-controlled humanoid use:
46-
```bash
47-
python examples/hitl/rearrange_v2/rearrange_v2.py --config-name lang_rearrange_humanoid_only
48-
```
49-
50-
## Controls
51-
See on-screen help text. In addition, press `1` or `2` to select an episode.
52-
53-
## Configuration
54-
See `config/rearrange_v2.yaml` and `config/experiment/headless_server.yaml`.
55-
56-
## Browser client
57-
58-
`rearrange_v2` has additional requirements for the [Unity VR client](../pick_throw_vr/README.md#vr).
59-
* Beware these instructions are a work in progress!
60-
* It is designed for use with a desktop browser-based (not VR) version of the Unity client.
61-
* Use the [`webgl-demo`](https://github.com/eundersander/siro_hitl_unity_client/tree/webgl-demo) branch.
62-
* Download Unity data folder (`data.zip`) from: https://drive.google.com/drive/folders/12VLJGf5_ntr5nztZn1KjzyzBG_UKDPme
63-
* Extract `data.zip` to Unity client's `Assets/Resources/data`.
64-
* Open and run the `PlayerMouseKeyboard` scene.
6+
Work-in-progress. Please check back later for updates.

0 commit comments

Comments
 (0)