HuangRi commited on
Commit
52292a3
·
1 Parent(s): 213eed3

Use local files over remote

Browse files
Files changed (2) hide show
  1. README.md +149 -51
  2. README_CN.md +146 -49
README.md CHANGED
@@ -186,64 +186,162 @@ LET dataset statistics are as follows:
186
  ## 📦 Dataset
187
  <hr style="margin-top: -10px;margin-bottom: 6px">
188
  <a id="dataset-directory-structure"></a>
 
189
  ### Dataset Directory Structure
190
 
191
  ```text
192
  .
193
- ├── real
194
- │   ├── Labelled
195
- │   │   ├── customer_check_in-P4-dex_hand
196
- │   │   ├── deliver_room_card-P4-dex_hand
197
- │   │   ├── deliver_water_bottle-P4-dex_hand
198
- │   │   ├── loading_of_large_tooling-P4-dex_hand
199
- │   │   ├── loading_of_small_tooling-P4-dex_hand
200
- │   │   ├── more_coil_sorting-P4-dex_hand
201
- │   │   ├── more_FMCG_loading-P4-dex_hand
202
- │   │   ├── more_goods_orders-P4-dex_hand
203
- │   │   ├── more_scan_code_for_weighing-P4-dex_hand
204
- │   │   ├── parts_offline-P4-dex_hand
205
- │   │   ├── quick_sort-P4-leju_claw
206
- │   │   ├── single_coil_sorting-P4-dex_hand
207
- │   │   ├── single_FMCG_loading-P4-dex_hand
208
- │   │   ├── single_goods_orders-P4-dex_hand
209
- │   │   ├── single_scan_code_for_weighing-P4-dex_hand
210
- │   │   ├── SPS_parts_grab-P4-leju_claw
211
- │   │   ├── SPS_parts_sorting-P4-dex_hand
212
- │   │   └── task_mass_check-P4-leju_claw
213
- │   └── Unlabelled
214
-    ├── assembly_line_sorting-P4-leju_claw
215
-    ├── deliver_room_card-P4-dex_hand
216
-    ├── Express_delivery_sorting-P4-leju_claw
217
- │   ├── loading_of_large_tooling-P4-dex_hand
218
- │   ├── loading_of_small_tooling-P4-dex_hand
219
- │   ├── loading_of_small_tooling-P4-leju_claw
220
- │   ├── more_coil_sorting-P4-dex_hand
221
- │   ├── more_FMCG_loading-P4-dex_hand
222
- │   ├── more_goods_orders-P4-dex_hand
223
- │   ├── more_scan_code_for_weighing-P4-dex_hand
224
- │   ├── parts_offline-P4-dex_hand
225
- │   ├── Parts_off_line-P4-leju_claw
226
- │   ├── quick_sort-P4-leju_claw
227
- │   ├── single_coil_sorting-P4-dex_hand
228
- │   ├── single_FMCG_loading-P4-leju_claw
229
- │   ├── single_goods_orders-P4-dex_hand
230
- │   ├── SMT_tray_rack_blanking-P4-leju_claw
231
- │   ├── SPS_parts_grab-P4-leju_claw
232
- │   ├── SPS_parts_sorting-P4-dex_hand
233
- │   ├── SPS_parts_sorting-P4-leju_claw
234
- │   ├── Standardized_feeding_for_FMCG-P4-dex_hand
235
- │   └── task_mass_check-P4-leju_claw
236
- └── sim
237
- ├── BottleFlip-P4-claw(Rq2f85)
238
- ├── PackageWeighing-P4-claw(Rq2f85)
239
- ├── SPS_parts_sorting-P4-claw(Rq2f85)
240
- └── TargetPlacement-P4-claw(Rq2f85)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
241
  ```
242
 
243
  <a id="data-format"></a>
244
  ### Data Format
245
 
246
- Below is a detailed description of common directories and files in the dataset (cameras, joints, parameters, metadata, etc.).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
247
 
248
  ```text
249
  <task_root>
@@ -296,9 +394,9 @@ Below is a detailed description of common directories and files in the dataset (
296
  └── metadata.json # Collection metadata: device, end effector type, camera frame rate, joint info, etc.
297
  ```
298
  <a id="annotation-format"></a>
299
- ### Annotation Format
300
 
301
- Annotation information is stored in a JSON file with the same name as the data file. Example:
302
 
303
  ```json
304
  {
 
186
  ## 📦 Dataset
187
  <hr style="margin-top: -10px;margin-bottom: 6px">
188
  <a id="dataset-directory-structure"></a>
189
+
190
  ### Dataset Directory Structure
191
 
192
  ```text
193
  .
194
+ ├── hdf5
195
+ │   ├── real
196
+ │   │   ├── Labelled
197
+ │   │   │   ├── customer_check_in-P4-dex_hand
198
+ │   │   │   ├── deliver_room_card-P4-dex_hand
199
+ │   │   │   ├── deliver_water_bottle-P4-dex_hand
200
+ │   │   │   ├── loading_of_large_tooling-P4-dex_hand
201
+ │   │   │   ├── loading_of_small_tooling-P4-dex_hand
202
+ │   │   │   ├── more_coil_sorting-P4-dex_hand
203
+ │   │   │   ├── more_FMCG_loading-P4-dex_hand
204
+ │   │   │   ├── more_goods_orders-P4-dex_hand
205
+ │   │   │   ├── more_scan_code_for_weighing-P4-dex_hand
206
+ │   │   │   ├── parts_offline-P4-dex_hand
207
+ │   │   │   ├── quick_sort-P4-leju_claw
208
+ │   │   │   ├── rubbish_sorting-P4-leju_claw
209
+ │   │   │   ├── shop_oversale-P4-leju_claw
210
+ │   │   │   ├── single_coil_sorting-P4-dex_hand
211
+ │   │   │   ├── single_FMCG_loading-P4-dex_hand
212
+ │   │   │   ├── single_goods_orders-P4-dex_hand
213
+ │   │   │   ├── single_scan_code_for_weighing-P4-dex_hand
214
+ │   │   │   ├── SPS_parts_grab-P4-leju_claw
215
+    │   │   ├── SPS_parts_sorting-P4-dex_hand
216
+    │   │   └── task_mass_check-P4-leju_claw
217
+    │   └── Unlabelled
218
+    │   ├── assembly_line_sorting-P4-leju_claw
219
+    │   ├── clothing_storage-P4-leju_claw
220
+    │   ├── countertop_cleaning-P4-leju_claw
221
+    │   ├── deliver_room_card-P4-dex_hand
222
+    │   ├── desktop_decluttering-P4-leju_claw
223
+    │   ├── drug_finishing-P4-leju_claw
224
+    │   ├── express_delivery_sorting-P4-leju_claw
225
+    │   ├── express_logistics_scenario-P4-leju_claw
226
+    │   ├── loading_of_large_tooling-P4-dex_hand
227
+    │   ├── loading_of_small_tooling-P4-dex_hand
228
+    │   ├── loading_of_small_tooling-P4-leju_claw
229
+    │   ├── more_coil_sorting-P4-dex_hand
230
+    │   ├── more_FMCG_loading-P4-dex_hand
231
+    │   ├── more_goods_orders-P4-dex_hand
232
+    │   ├── more_goods_orders-P4-leju_claw
233
+    │   ├── more_scan_code_for_weighing-P4-dex_hand
234
+    │   ├── parts_offline-P4-dex_hand
235
+    │   ├── parts_off_line-P4-leju_claw
236
+    │   ├── quick_sort-P4-leju_claw
237
+ │   │   ├── rubbish_sorting-P4-leju_claw
238
+ │   │   ├── shop_oversale-P4-leju_claw
239
+ │   │   ├── single_coil_sorting-P4-dex_hand
240
+ │   │   ├── single_FMCG_loading-P4-leju_claw
241
+ │   │   ├── single_goods_orders-P4-dex_hand
242
+ │   │   ├── SMT_tray_rack_blanking-P4-leju_claw
243
+ │   │   ├── SPS_parts_grab-P4-leju_claw
244
+ │   │   ├── SPS_parts_sorting-P4-dex_hand
245
+ │   │   ├── SPS_parts_sorting-P4-leju_claw
246
+ │   │   ├── standardized_feeding_for_FMCG-P4-dex_hand
247
+ │   │   └── task_mass_check-P4-leju_claw
248
+ │   └── sim
249
+ │   └── Unlabelled
250
+ │   ├── bottle_flip-P4-claw(Rq2f85)
251
+ │   ├── package_weighing-P4-claw(Rq2f85)
252
+ │   ├── SPS_parts_sorting-P4-claw(Rq2f85)
253
+ │   └── target_placement-P4-claw(Rq2f85)
254
+ └── rosbag
255
+ ├── real
256
+ │   ├── Labelled // Same task structure as HDF5.
257
+ │   └── Unlabelled // Same task structure as HDF5.
258
+ └── sim
259
+ └── Unlabelled // Same task structure as HDF5.
260
  ```
261
 
262
  <a id="data-format"></a>
263
  ### Data Format
264
 
265
+ #### ROSbag Data Format
266
+
267
+ | Topic Type | Topic Name | Message Type | Main Fields / Description |
268
+ |--------------------|------------------------------------------------|---------------------------------|--------------------------------------------------------------------------------------------------|
269
+ | <b>Camera RGB Image</b> | <span style="color:#1890FF">/cam_x/color/image_raw/compressed</span> | <span style="color:#000000">sensor_msgs/CompressedImage</span> | x is h/l/r, for head/left wrist/right wrist camera respectively;<br>header (message header with timestamp, sequence, frame, etc.),<br>format (image encoding format),<br>data (image data)|
270
+ | <b>Camera Depth Image</b> | <span style="color:#1890FF">/cam_x/depth/image_rect_raw/compressed</span> | <span style="color:#000000">sensor_msgs/CompressedImage</span> | x is h/l/r, for head/left wrist/right wrist camera respectively;<br>header (message header), format (encoding format), data (image data)|
271
+ | <b>Arm Trajectory Control</b> | <span style="color:#1890FF">/kuavo_arm_traj</span> | <span style="color:#000000">sensor_msgs/JointState</span> | header (message header),<br>name (joint name list, 14 joints, arm_joint_1~arm_joint_14),<br>position (desired joint position, structure same as raw sensor data items 12-25)|
272
+ | <b>Raw Sensor Data</b> | <span style="color:#1890FF">/sensors_data_raw</span> | <span style="color:#000000">kuavo_msgs/sensorsData</span> | sensor_time (timestamp),<br>joint_data (joint data: position, velocity, acceleration, current),<br>imu_data (IMU data: gyroscope, accelerometer, quaternion),<br>end_effector_data (end effector data, currently unused)|
273
+ | <b>Dexterous Hand Position (Real Robot)</b> | <span style="color:#1890FF">/control_robot_hand_position</span> | <span style="color:#000000">kuavo_msgs/robotHandPosition</span> | left_hand_position (left hand 6D, 0 open, 100 closed),<br>right_hand_position (right hand 6D, 0 open, 100 closed)|
274
+ | <b>Dexterous Hand State (Real Robot)</b> | <span style="color:#1890FF">/dexhand/state</span> | <span style="color:#000000">sensor_msgs/JointState</span> | name (12 joint names),<br>position (12 joint positions, first 6 for left hand, last 6 for right hand),<br>velocity (12 joint velocities),<br>effort (12 joint currents)|
275
+ | <b>Gripper Control (Real Robot)</b> | <span style="color:#1890FF">/control_robot_leju_claw</span> | <span style="color:#000000">kuavo_msgs/controlLejuClaw</span> | name (length 2, left_claw/right_claw),<br>position (length 2, 0 open, 100 closed),<br>velocity (length 2, target velocity, default 50),<br>effort (length 2, target current in A, default 1)|
276
+ | <b>Gripper State (Real Robot)</b> | <span style="color:#1890FF">/leju_claw_state</span> | <span style="color:#000000">kuavo_msgs/lejuClawState</span> | state (int8[2], left/right gripper state, see details below),<br>data (kuavo_msgs/endEffectorData, contains gripper position, velocity, current)|
277
+ | <b>Simulation Gripper Control</b> | <span style="color:#1890FF">/gripper/command</span> | <span style="color:#000000">sensor_msgs/JointState</span> | header (message header),<br>position (length 2, 0 open, 255 closed)|
278
+ | <b>Simulation Gripper State</b> | <span style="color:#1890FF">/gripper/state</span> | <span style="color:#000000">sensor_msgs/JointState</span> | header (message header),<br>position (length 2, 0 open, 0.8 closed)|
279
+ | <b>Robot Position Command</b> | <span style="color:#1890FF">/cmd_pose_world</span> | <span style="color:#000000">geometry_msgs/Twist</span> | linear.x/y/z (translation in world frame in m),<br>angular.x/y/z (rotation in world frame in radians)|
280
+
281
+ <details>
282
+ <summary>Detailed Field Descriptions</summary>
283
+
284
+ - <b><span style="color:#000000">/cam_x/color/image_raw/compressed</span></b>、<b>/cam_x/depth/image_rect_raw/compressed</b>:
285
+ - header(std_msgs/Header):Message header with timestamp, sequence number, frame information
286
+ - format(string):Image encoding format
287
+ - data(uint8[]):Image data
288
+
289
+ - <b><span style="color:#000000">/kuavo_arm_traj</span></b>:
290
+ - header:Message header
291
+ - name:Joint name list, 14 joints named arm_joint_1~arm_joint_14
292
+ - position:Desired joint position, structure same as raw sensor data items 12-25
293
+
294
+ - <b><span style="color:#000000">/sensors_data_raw</span></b>:
295
+ - sensor_time(time):Timestamp
296
+ - joint_data(kuavo_msgs/jointData):Joint data including position, velocity, acceleration, current
297
+ - Data order:
298
+ - First 12 items are lower limb motor data: 0~5 left leg (l_leg_roll, l_leg_yaw, l_leg_pitch, l_knee, l_foot_pitch, l_foot_roll), 6~11 right leg (r_leg_roll, r_leg_yaw, r_leg_pitch, r_knee, r_foot_pitch, r_foot_roll)
299
+ - Next 14 items are arm motor data: 12~18 left arm (l_arm_pitch, l_arm_roll, l_arm_yaw, l_forearm_pitch, l_hand_yaw, l_hand_pitch, l_hand_roll), 19~25 right arm (r_arm_pitch, r_arm_roll, r_arm_yaw, r_forearm_pitch, r_hand_yaw, r_hand_pitch, r_hand_roll)
300
+ - Last 2 items are head motor data: head_yaw, head_pitch
301
+ - Units: position in radians, velocity in radian/s, acceleration in radian/s², current in Amperes (A)
302
+ - imu_data(kuavo_msgs/imuData):IMU data including gyroscope (gyro, unit rad/s), accelerometer (acc, unit m/s²), quat (IMU orientation)
303
+ - end_effector_data(kuavo_msgs/endEffectorData):End effector data, currently unused
304
+
305
+ - <b><span style="color:#000000">/control_robot_hand_position</span></b>:
306
+ - left_hand_position(float[6]):Left hand 6D, each element [0,100], 0 fully open, 100 fully closed
307
+ - right_hand_position(float[6]):Right hand 6D, same meaning as above
308
+
309
+ - <b><span style="color:#000000">/dexhand/state</span></b>:
310
+ - name(string[12]):12 joint names
311
+ - position(float[12]):12 joint positions, first 6 for left hand, last 6 for right hand
312
+ - velocity(float[12]):12 joint velocities, first 6 for left hand, last 6 for right hand
313
+ - effort(float[12]):12 joint currents, first 6 for left hand, last 6 for right hand
314
+
315
+ - <b><span style="color:#000000">/control_robot_leju_claw</span></b>:
316
+ - name(string[2]):left_claw, right_claw
317
+ - position(float[2]):Left/right gripper target position, [0,100], 0 open, 100 closed
318
+ - velocity(float[2]):Target velocity, [0,100], default 50
319
+ - effort(float[2]):Target current in A, default 1
320
+
321
+ - <b><span style="color:#000000">/leju_claw_state</span></b>:
322
+ - state(int8[2]):Left/right gripper state, meanings as follows:
323
+ - -1:Error (execution anomaly)
324
+ - 0:Unknown (default initialization state)
325
+ - 1:Moving
326
+ - 2:Reached target position
327
+ - 3:Object grasped
328
+ - data(kuavo_msgs/endEffectorData):Contains gripper position, velocity, current, structure same as /control_robot_leju_claw
329
+
330
+ - <b><span style="color:#000000">/gripper/command</span></b>(Simulation):
331
+ - header:Message header
332
+ - position(float[2]):Left/right gripper target position, [0,255], 0 open, 255 closed
333
+
334
+ - <b><span style="color:#000000">/gripper/state</span></b>(Simulation):
335
+ - header:Message header
336
+ - position(float[2]):Left/right gripper current position, [0,0.8], 0 open, 0.8 closed
337
+
338
+ - <b><span style="color:#000000">/cmd_pose_world(Simulation Task 4 only)</span></b>:
339
+ - linear.x/y/z(float):Translation in world frame in meters
340
+ - angular.x/y/z(float):Rotation in world frame in radians
341
+
342
+ </details>
343
+
344
+ #### HDF5 Data Format
345
 
346
  ```text
347
  <task_root>
 
394
  └── metadata.json # Collection metadata: device, end effector type, camera frame rate, joint info, etc.
395
  ```
396
  <a id="annotation-format"></a>
397
+ ### Label Format
398
 
399
+ Label information is stored in a JSON file with the same name as the data file. Example:
400
 
401
  ```json
402
  {
README_CN.md CHANGED
@@ -195,61 +195,158 @@ LET数据集统计信息如下:
195
 
196
  ```text
197
  .
198
- ├── real
199
- │   ├── Labelled
200
- │   │   ├── customer_check_in-P4-dex_hand
201
- │   │   ├── deliver_room_card-P4-dex_hand
202
- │   │   ├── deliver_water_bottle-P4-dex_hand
203
- │   │   ├── loading_of_large_tooling-P4-dex_hand
204
- │   │   ├── loading_of_small_tooling-P4-dex_hand
205
- │   │   ├── more_coil_sorting-P4-dex_hand
206
- │   │   ├── more_FMCG_loading-P4-dex_hand
207
- │   │   ├── more_goods_orders-P4-dex_hand
208
- │   │   ├── more_scan_code_for_weighing-P4-dex_hand
209
- │   │   ├── parts_offline-P4-dex_hand
210
- │   │   ├── quick_sort-P4-leju_claw
211
- │   │   ├── single_coil_sorting-P4-dex_hand
212
- │   │   ├── single_FMCG_loading-P4-dex_hand
213
- │   │   ├── single_goods_orders-P4-dex_hand
214
- │   │   ├── single_scan_code_for_weighing-P4-dex_hand
215
- │   │   ├── SPS_parts_grab-P4-leju_claw
216
- │   │   ├── SPS_parts_sorting-P4-dex_hand
217
- │   │   └── task_mass_check-P4-leju_claw
218
- │   └── Unlabelled
219
-    ├── assembly_line_sorting-P4-leju_claw
220
-    ├── deliver_room_card-P4-dex_hand
221
-    ├── Express_delivery_sorting-P4-leju_claw
222
- │   ├── loading_of_large_tooling-P4-dex_hand
223
- │   ├── loading_of_small_tooling-P4-dex_hand
224
- │   ├── loading_of_small_tooling-P4-leju_claw
225
- │   ├── more_coil_sorting-P4-dex_hand
226
- │   ├── more_FMCG_loading-P4-dex_hand
227
- │   ├── more_goods_orders-P4-dex_hand
228
- │   ├── more_scan_code_for_weighing-P4-dex_hand
229
- │   ├── parts_offline-P4-dex_hand
230
- │   ├── Parts_off_line-P4-leju_claw
231
- │   ├── quick_sort-P4-leju_claw
232
- │   ├── single_coil_sorting-P4-dex_hand
233
- │   ├── single_FMCG_loading-P4-leju_claw
234
- │   ├── single_goods_orders-P4-dex_hand
235
- │   ├── SMT_tray_rack_blanking-P4-leju_claw
236
- │   ├── SPS_parts_grab-P4-leju_claw
237
- │   ├── SPS_parts_sorting-P4-dex_hand
238
- │   ├── SPS_parts_sorting-P4-leju_claw
239
- │   ├── Standardized_feeding_for_FMCG-P4-dex_hand
240
- │   └── task_mass_check-P4-leju_claw
241
- └── sim
242
- ├── BottleFlip-P4-claw(Rq2f85)
243
- ├── PackageWeighing-P4-claw(Rq2f85)
244
- ├── SPS_parts_sorting-P4-claw(Rq2f85)
245
- └── TargetPlacement-P4-claw(Rq2f85)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
246
  ```
247
 
248
 
249
  <a id="数据格式"></a>
250
  ### 数据格式
251
 
252
- 下面给出数据集中常见目录与文件的详细说明(相机、关节、参数与元数据等)。
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
253
 
254
  ```text
255
  <task_root>
 
195
 
196
  ```text
197
  .
198
+ ├── hdf5
199
+ │   ├── real
200
+ │   │   ├── Labelled
201
+ │   │   │   ├── customer_check_in-P4-dex_hand
202
+ │   │   │   ├── deliver_room_card-P4-dex_hand
203
+ │   │   │   ├── deliver_water_bottle-P4-dex_hand
204
+ │   │   │   ├── loading_of_large_tooling-P4-dex_hand
205
+ │   │   │   ├── loading_of_small_tooling-P4-dex_hand
206
+ │   │   │   ├── more_coil_sorting-P4-dex_hand
207
+ │   │   │   ├── more_FMCG_loading-P4-dex_hand
208
+ │   │   │   ├── more_goods_orders-P4-dex_hand
209
+ │   │   │   ├── more_scan_code_for_weighing-P4-dex_hand
210
+ │   │   │   ├── parts_offline-P4-dex_hand
211
+ │   │   │   ├── quick_sort-P4-leju_claw
212
+ │   │   │   ├── rubbish_sorting-P4-leju_claw
213
+ │   │   │   ├── shop_oversale-P4-leju_claw
214
+ │   │   │   ├── single_coil_sorting-P4-dex_hand
215
+ │   │   │   ├── single_FMCG_loading-P4-dex_hand
216
+ │   │   │   ├── single_goods_orders-P4-dex_hand
217
+ │   │   │   ├── single_scan_code_for_weighing-P4-dex_hand
218
+ │   │   │   ├── SPS_parts_grab-P4-leju_claw
219
+    │   │   ├── SPS_parts_sorting-P4-dex_hand
220
+    │   │   └── task_mass_check-P4-leju_claw
221
+    │   └── Unlabelled
222
+    │   ├── assembly_line_sorting-P4-leju_claw
223
+    │   ├── clothing_storage-P4-leju_claw
224
+    │   ├── countertop_cleaning-P4-leju_claw
225
+    │   ├── deliver_room_card-P4-dex_hand
226
+    │   ├── desktop_decluttering-P4-leju_claw
227
+    │   ├── drug_finishing-P4-leju_claw
228
+    │   ├── express_delivery_sorting-P4-leju_claw
229
+    │   ├── express_logistics_scenario-P4-leju_claw
230
+    │   ├── loading_of_large_tooling-P4-dex_hand
231
+    │   ├── loading_of_small_tooling-P4-dex_hand
232
+    │   ├── loading_of_small_tooling-P4-leju_claw
233
+    │   ├── more_coil_sorting-P4-dex_hand
234
+    │   ├── more_FMCG_loading-P4-dex_hand
235
+    │   ├── more_goods_orders-P4-dex_hand
236
+    │   ├── more_goods_orders-P4-leju_claw
237
+    │   ├── more_scan_code_for_weighing-P4-dex_hand
238
+    │   ├── parts_offline-P4-dex_hand
239
+    │   ├── parts_off_line-P4-leju_claw
240
+    │   ├── quick_sort-P4-leju_claw
241
+ │   │   ├── rubbish_sorting-P4-leju_claw
242
+ │   │   ├── shop_oversale-P4-leju_claw
243
+ │   │   ├── single_coil_sorting-P4-dex_hand
244
+ │   │   ├── single_FMCG_loading-P4-leju_claw
245
+ │   │   ├── single_goods_orders-P4-dex_hand
246
+ │   │   ├── SMT_tray_rack_blanking-P4-leju_claw
247
+ │   │   ├── SPS_parts_grab-P4-leju_claw
248
+ │   │   ├── SPS_parts_sorting-P4-dex_hand
249
+ │   │   ├── SPS_parts_sorting-P4-leju_claw
250
+ │   │   ├── standardized_feeding_for_FMCG-P4-dex_hand
251
+ │   │   └── task_mass_check-P4-leju_claw
252
+ │   └── sim
253
+ │   └── Unlabelled
254
+ │   ├── bottle_flip-P4-claw(Rq2f85)
255
+ │   ├── package_weighing-P4-claw(Rq2f85)
256
+ │   ├── SPS_parts_sorting-P4-claw(Rq2f85)
257
+ │   └── target_placement-P4-claw(Rq2f85)
258
+ └── rosbag
259
+ ├── real
260
+ │   ├── Labelled // 同HDF5任务结构
261
+ │   └── Unlabelled // 同HDF5任务结构
262
+ └── sim
263
+ └── Unlabelled // 同HDF5任务结构
264
  ```
265
 
266
 
267
  <a id="数据格式"></a>
268
  ### 数据格式
269
 
270
+ #### ROSbag数据格式
271
+
272
+ | 主题名称 | Topic 名称 | 消息类型 | 主要字段/说明 |
273
+ |--------------------|------------------------------------------------|---------------------------------|--------------------------------------------------------------------------------------------------|
274
+ | <b>相机 RGB 图像</b> | <span style="color:#1890FF">/cam_x/color/image_raw/compressed</span> | <span style="color:#000000">sensor_msgs/CompressedImage</span> | x为h/l/r,分别为头/左腕/右腕相机;<br>header(消息头,含时间戳、序号、坐标系等),<br>format(图像编码格式),<br>data(图像数据)|
275
+ | <b>相机深度图像</b> | <span style="color:#1890FF">/cam_x/depth/image_rect_raw/compressed</span> | <span style="color:#000000">sensor_msgs/CompressedImage</span> | x为h/l/r,分别为头/左腕/右腕相机;<br>header(消息头),format(编码格式),data(图像数据)|
276
+ | <b>手臂轨迹控制</b> | <span style="color:#1890FF">/kuavo_arm_traj</span> | <span style="color:#000000">sensor_msgs/JointState</span> | header(消息头),<br>name(关节名称列表,14个关节,arm_joint_1~arm_joint_14),<br>position(关节目标位置,结构同下方原始传感器数据第12-25项)|
277
+ | <b>原始传感器数据</b> | <span style="color:#1890FF">/sensors_data_raw</span> | <span style="color:#000000">kuavo_msgs/sensorsData</span> | sensor_time(时间戳),<br>joint_data(关节数据:位置、速度、加速度、电流),<br>imu_data(IMU数据:陀螺仪、加速度计、四元数),<br>end_effector_data(末端执行器数据,当前未用)|
278
+ | <b>灵巧手位置(真机)</b> | <span style="color:#1890FF">/control_robot_hand_position</span> | <span style="color:#000000">kuavo_msgs/robotHandPosition</span> | left_hand_position(左手6维,0张开,100闭合),<br>right_hand_position(右手6维,0张开,100闭合)|
279
+ | <b>灵巧手状态(真机)</b> | <span style="color:#1890FF">/dexhand/state</span> | <span style="color:#000000">sensor_msgs/JointState</span> | name(12个关节名),<br>position(12个关节位置,前6为左手,后6为右手),<br>velocity(12个关节速度),<br>effort(12个关节电流)|
280
+ | <b>夹爪控制(真机)</b> | <span style="color:#1890FF">/control_robot_leju_claw</span> | <span style="color:#000000">kuavo_msgs/controlLejuClaw</span> | name(长度2,left_claw/right_claw),<br>position(长度2,0张开,100闭合),<br>velocity(长度2,目标速度,默认50),<br>effort(长度2,目标电流,单位A,默认1)|
281
+ | <b>夹爪状态(真机)</b> | <span style="color:#1890FF">/leju_claw_state</span> | <span style="color:#000000">kuavo_msgs/lejuClawState</span> | state(int8[2],左/右爪状态,详见下方),<br>data(kuavo_msgs/endEffectorData,包含爪位置、速度、电流)|
282
+ | <b>仿真夹爪控制</b> | <span style="color:#1890FF">/gripper/command</span> | <span style="color:#000000">sensor_msgs/JointState</span> | header(消息头),<br>position(长度2��0张开,255闭合)|
283
+ | <b>仿真夹爪状态</b> | <span style="color:#1890FF">/gripper/state</span> | <span style="color:#000000">sensor_msgs/JointState</span> | header(消息头),<br>position(长度2,0张开,0.8闭合)|
284
+ | <b>机器人位置命令</b> | <span style="color:#1890FF">/cmd_pose_world</span> | <span style="color:#000000">geometry_msgs/Twist</span> | linear.x/y/z(世界坐标系下的平移,单位m),<br>angular.x/y/z(世界坐标系下的旋转,单位弧度)|
285
+
286
+ <details>
287
+ <summary>详细字段说明</summary>
288
+
289
+ - <b><span style="color:#000000">/cam_x/color/image_raw/compressed</span></b>、<b>/cam_x/depth/image_rect_raw/compressed</b>:
290
+ - header(std_msgs/Header):消息头,包含时间戳、序号、坐标系等信息
291
+ - format(string):图像编码格式
292
+ - data(uint8[]):图像数据
293
+
294
+ - <b><span style="color:#000000">/kuavo_arm_traj</span></b>:
295
+ - header:消息头
296
+ - name:关节名称列表,14个关节,命名为arm_joint_1~arm_joint_14
297
+ - position:关节目标位置,结构同下方原始传感器数据第12-25项
298
+
299
+ - <b><span style="color:#000000">/sensors_data_raw</span></b>:
300
+ - sensor_time(time):时间戳
301
+ - joint_data(kuavo_msgs/jointData):关节数据,包括位置、速度、加速度、电流
302
+ - 数据顺序:
303
+ - 前12项为下肢电机数据:0~5为左腿(l_leg_roll, l_leg_yaw, l_leg_pitch, l_knee, l_foot_pitch, l_foot_roll),6~11为右腿(r_leg_roll, r_leg_yaw, r_leg_pitch, r_knee, r_foot_pitch, r_foot_roll)
304
+ - 后14项为手臂电机数据:12~18为左臂(l_arm_pitch, l_arm_roll, l_arm_yaw, l_forearm_pitch, l_hand_yaw, l_hand_pitch, l_hand_roll),19~25为右臂(r_arm_pitch, r_arm_roll, r_arm_yaw, r_forearm_pitch, r_hand_yaw, r_hand_pitch, r_hand_roll)
305
+ - 最后2项为头部电机数据:head_yaw, head_pitch
306
+ - 单位:位置为弧度,速度为弧度每秒 (radian/s),弧度每平方秒 (radian/s²),电流为安培(A)
307
+ - imu_data(kuavo_msgs/imuData):IMU数据,包括陀螺仪(gyro,单位rad/s)、加速度计(acc,单位m/s²)、quat(IMU 方向)
308
+ - end_effector_data(kuavo_msgs/endEffectorData):末端执行器数据,当前未用
309
+
310
+ - <b><span style="color:#000000">/control_robot_hand_position</span></b>:
311
+ - left_hand_position(float[6]):左手6维,每个元素[0,100],0为完全张开,100为完全闭合
312
+ - right_hand_position(float[6]):右手6维,含义同上
313
+
314
+ - <b><span style="color:#000000">/dexhand/state</span></b>:
315
+ - name(string[12]):12个关节名
316
+ - position(float[12]):12个关节位置,前6为左手,后6为右手
317
+ - velocity(float[12]):12个关节速度,前6为左手,后6为右手
318
+ - effort(float[12]):12个关节电流,前6为左手,后6为右手
319
+
320
+ - <b><span style="color:#000000">/control_robot_leju_claw</span></b>:
321
+ - name(string[2]):left_claw, right_claw
322
+ - position(float[2]):左右爪目标位置,[0,100],0张开,100闭合
323
+ - velocity(float[2]):目标速度,[0,100],默认50
324
+ - effort(float[2]):目标电流,单位A,默认1
325
+
326
+ - <b><span style="color:#000000">/leju_claw_state</span></b>:
327
+ - state(int8[2]):左/右爪状态,取值含义如下:
328
+ - -1:错误(执行异常)
329
+ - 0:未知(初始化默认状态)
330
+ - 1:移动中
331
+ - 2:到达目标位置
332
+ - 3:已抓取物体
333
+ - data(kuavo_msgs/endEffectorData):包含爪的位置、速度、电流,结构同/control_robot_leju_claw
334
+
335
+ - <b><span style="color:#000000">/gripper/command</span></b>(仿真):
336
+ - header:消息头
337
+ - position(float[2]):左右夹爪目标位置,[0,255],0张开,255闭合
338
+
339
+ - <b><span style="color:#000000">/gripper/state</span></b>(仿真):
340
+ - header:消息头
341
+ - position(float[2]):左右夹爪当前位置,[0,0.8],0张开,0.8闭合
342
+
343
+ - <b><span style="color:#000000">/cmd_pose_world(仅限模拟任务4)</span></b>:
344
+ - linear.x/y/z(float):世界坐标系下的平移,单位米
345
+ - angular.x/y/z(float):世界坐标系下的旋转,单位弧度
346
+
347
+ </details>
348
+
349
+ #### HDF5数据格式
350
 
351
  ```text
352
  <task_root>