You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> If MuJoCo runs slowly (low simulation frequency), append `-e LD_LIBRARY_PATH="/opt/host-libs:$LD_LIBRARY_PATH" \` to the previous command to improve performance:
42
43
>
43
44
> ```
@@ -141,7 +142,7 @@ If you choose this option but still want to use the VR teleoperation application
141
142
First add reachy2 and reachy2_teleoperator to the imports of the record script. Then you can use the following command:
@@ -212,59 +216,71 @@ Must be set to true if a compliant Reachy 2 is used to control another one.
212
216
From our initial tests, recording **all** joints when only some are moving can reduce model quality with certain policies.
213
217
To avoid this, you can exclude specific parts from recording and replay using:
214
218
215
-
````
219
+
```bash
216
220
--robot.with_<part>=false
217
-
```,
221
+
```
222
+
218
223
with `<part>` being one of : `mobile_base`, `l_arm`, `r_arm", `neck`, `antennas`.
219
224
It determine whether the corresponding part is recorded in the observations. True if not set.
220
225
221
226
By default, **all parts are recorded**.
222
227
223
228
The same per-part mechanism is available in `reachy2_teleoperator` as well.
224
229
225
-
````
226
-
230
+
```bash
227
231
--teleop.with\_<part>
228
-
229
232
```
233
+
230
234
with `<part>` being one of : `mobile_base`, `l_arm`, `r_arm", `neck`, `antennas`.
231
235
Determine whether the corresponding part is recorded in the actions. True if not set.
232
236
233
237
> **Important:** In a given session, the **enabled parts must match** on both the robot and the teleoperator.
234
-
For example, if the robot runs with `--robot.with_mobile_base=false`, the teleoperator must disable the same part `--teleoperator.with_mobile_base=false`.
238
+
> For example, if the robot runs with `--robot.with_mobile_base=false`, the teleoperator must disable the same part `--teleoperator.with_mobile_base=false`.
235
239
236
240
##### Use the relevant cameras
237
241
238
-
You can do the same for **cameras**. By default, only the **teleoperation cameras** are recorded (both `left_teleop_camera` and `right_teleop_camera`). Enable or disable each camera with:
242
+
You can do the same for **cameras**. Enable or disable each camera with default parameters using:
243
+
244
+
```bash
245
+
--robot.with_left_teleop_camera=<true|false> \
246
+
--robot.with_right_teleop_camera=<true|false> \
247
+
--robot.with_torso_camera=<true|false>
248
+
```
249
+
250
+
By default, no camera is recorded, all camera arguments are set to `false`.
251
+
If you want to, you can use custom `width` and `height` parameters for Reachy 2's cameras using the `--robot.camera_width` & `--robot.camera_height` argument:
239
252
253
+
```bash
254
+
--robot.camera_width=1920 \
255
+
--robot.camera_height=1080
240
256
```
241
257
242
-
--robot.with_left_teleop_camera=<true|false>
243
-
--robot.with_right_teleop_camera=<true|false>
244
-
--robot.with_torso_camera=<true|false>
258
+
This will change the resolution of all 3 default robot cameras (enabled by the above bool arguments).
245
259
246
-
````
260
+
If you want, you can add additional cameras other than the ones in the robot as usual with:
0 commit comments