@@ -113,27 +113,27 @@ The simulator API is implemented in [minos/lib/Simulator.py](lib/Simulator.py).
113
113
114
114
To specify a point as a goal (with radius r as a distance threshold):
115
115
```
116
- { 'position': [x, y, z], 'radius': r }
116
+ { 'type': 'position', ' position': [x, y, z], 'radius': r }
117
117
```
118
118
To specify object categories as goals and select a random instance of the category as the goal:
119
119
```
120
- { 'categories': ['arch', 'door'], 'select': 'random' }
120
+ { 'type': 'object', ' categories': ['arch', 'door'], 'select': 'random' }
121
121
```
122
- To specify room types as goals and select a random room of the category as the goal:
122
+ To specify room types as goals and select the random room of the category as the goal:
123
123
```
124
- { 'roomTypes': ['bedroom', 'bathroom'], 'select': 'random' }
124
+ { 'type': 'room', ' roomTypes': ['bedroom', 'bathroom'], 'select': 'random' }
125
125
```
126
126
To specify instances of a model id as a goal, and select the closest from start as the goal:
127
127
```
128
- { 'modelIds': ['3dw.abc...', '3dw.efg...'], 'select': 'closest' }
128
+ { 'type': 'object', ' modelIds': ['3dw.abc...', '3dw.efg...'], 'select': 'closest' }
129
129
```
130
130
To specify a specific object id as a goal:
131
131
```
132
- { 'objectIds': ['0_12'] }
132
+ { 'type': 'object', ' objectIds': ['0_12'] }
133
133
```
134
134
To specify a specific room id as the goal:
135
135
```
136
- { 'roomIds': ['0_1'] }
136
+ { 'type': 'room', ' roomIds': ['0_1'] }
137
137
```
138
138
139
139
#### Navigation map
0 commit comments