Update README.md
Browse files
README.md
CHANGED
|
@@ -190,8 +190,6 @@ as summarized below.
|
|
| 190 |
| Gripper control | gripper_width | (1,) | Actual gripper width measurement in meter. |
|
| 191 |
| Pose control | ee_positions | (7,) | End effector pose (tx, ty, tz, rx, ry, rz, rw), where (tx, ty, tz) is relative position from the arm base coordinate , (rx, ry, rz, rw) is quaternion rotation. |
|
| 192 |
| Joint effort | efforts | (7,) | Effort of 6 joints and gripper. (Provided by official API, precision not guaranteed. |
|
| 193 |
-
| Master Joint effort | master_efforts | (7,) | Effort of 6 master joints and gripper. (Provided by official API, precision not guaranteed. |
|
| 194 |
-
| Master joint control | master_qpos | (6,) | Master joint angle (in radians) from the base to the end effector. |
|
| 195 |
| Time stamp | timestamp | (1,) | Floating point timestamp (in mileseconds) of each frame. |
|
| 196 |
|
| 197 |
## Convert to LeRobot
|
|
@@ -206,14 +204,14 @@ robot embodiments (UR5, ALOHA, DOS-W1), you can adapt the script accordingly.
|
|
| 206 |
### Prerequisites
|
| 207 |
|
| 208 |
- Python 3.9+ with the following packages:
|
| 209 |
-
- `lerobot
|
| 210 |
- `opencv-python`
|
| 211 |
- `numpy`
|
| 212 |
-
- Configure `$
|
| 213 |
|
| 214 |
```bash
|
| 215 |
-
pip install
|
| 216 |
-
export
|
| 217 |
```
|
| 218 |
|
| 219 |
### Usage
|
|
@@ -229,6 +227,6 @@ python convert_to_lerobot.py \
|
|
| 229 |
|
| 230 |
### Output
|
| 231 |
|
| 232 |
-
- Frames and metadata are saved to `$
|
| 233 |
- At the end, the script calls `dataset.consolidate(run_compute_stats=False)`. If you require aggregated statistics, run
|
| 234 |
it with `run_compute_stats=True` or execute a separate stats job.
|
|
|
|
| 190 |
| Gripper control | gripper_width | (1,) | Actual gripper width measurement in meter. |
|
| 191 |
| Pose control | ee_positions | (7,) | End effector pose (tx, ty, tz, rx, ry, rz, rw), where (tx, ty, tz) is relative position from the arm base coordinate , (rx, ry, rz, rw) is quaternion rotation. |
|
| 192 |
| Joint effort | efforts | (7,) | Effort of 6 joints and gripper. (Provided by official API, precision not guaranteed. |
|
|
|
|
|
|
|
| 193 |
| Time stamp | timestamp | (1,) | Floating point timestamp (in mileseconds) of each frame. |
|
| 194 |
|
| 195 |
## Convert to LeRobot
|
|
|
|
| 204 |
### Prerequisites
|
| 205 |
|
| 206 |
- Python 3.9+ with the following packages:
|
| 207 |
+
- `lerobot@0cf864870cf29f4738d3ade893e6fd13fbd7cdb5`
|
| 208 |
- `opencv-python`
|
| 209 |
- `numpy`
|
| 210 |
+
- Configure `$HF_LEROBOT_HOME` (defaults to `~/.cache/huggingface/lerobot` if unset).
|
| 211 |
|
| 212 |
```bash
|
| 213 |
+
pip install git+https://github.com/huggingface/lerobot@0cf864870cf29f4738d3ade893e6fd13fbd7cdb5 opencv-python numpy
|
| 214 |
+
export HF_LEROBOT_HOME="/path/to/lerobot_home"
|
| 215 |
```
|
| 216 |
|
| 217 |
### Usage
|
|
|
|
| 227 |
|
| 228 |
### Output
|
| 229 |
|
| 230 |
+
- Frames and metadata are saved to `$HF_LEROBOT_HOME/<repo-name>`.
|
| 231 |
- At the end, the script calls `dataset.consolidate(run_compute_stats=False)`. If you require aggregated statistics, run
|
| 232 |
it with `run_compute_stats=True` or execute a separate stats job.
|