baz1boy commited on
Commit
639e07e
·
verified ·
1 Parent(s): a1373f9

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +109 -5
README.md CHANGED
@@ -13,13 +13,115 @@ configs:
13
 
14
  This dataset was created using [LeRobot](https://github.com/huggingface/lerobot).
15
 
16
- ## Dataset Description
17
 
 
 
18
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
 
20
- - **Homepage:** [More Information Needed]
21
- - **Paper:** [More Information Needed]
22
- - **License:** apache-2.0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
 
24
  ## Dataset Structure
25
 
@@ -248,4 +350,6 @@ This dataset was created using [LeRobot](https://github.com/huggingface/lerobot)
248
  "data_files_size_in_mb": 100,
249
  "video_files_size_in_mb": 500
250
  }
251
- ```
 
 
 
13
 
14
  This dataset was created using [LeRobot](https://github.com/huggingface/lerobot).
15
 
16
+ # 1 Dataset Description
17
 
18
+ This dataset includes Lightwheel-Libero-Tasks and Lightwheel-Robocasa-Tasks, collected using the x7s robot in environments provided by LW-BenchHub.
19
+ The robot configuration used during data collection is **`X7s-Abs`**.
20
 
21
+ ---
22
+
23
+ ## 1.1 Robot State
24
+
25
+ The robot state recorded in the environment is stored in: **observation.state**
26
+ - **Dimension**: 25
27
+ - **Description**: Joint positions of the robot
28
+ - **Joint mapping**: The exact joint ordering and semantics can be found in the **Dataset Structure** section below.
29
+
30
+ ---
31
+
32
+ ## 1.2 Robot Action
33
+
34
+ The robot actions are recorded in: **action**
35
+ - **Dimension**: 21
36
+ The action is ordered as: base (3), body (2), left arm (7), right arm (7), left gripper (1), right gripper (1).
37
+ | Component | Dimension | Description |
38
+ |:----------------|:---------:|:------------------------------------|
39
+ | Base action | 3 | Planar base motion |
40
+ | Body action | 2 | Vertical and pitch motion |
41
+ | Arm action | 14 | 7-DOF left arm + 7-DOF right arm |
42
+ | Gripper action | 2 | Binary gripper control |
43
+
44
+
45
+ ## 1.2.1 Base Action
46
+
47
+ The base action is implemented using `RelativeJointPositionActionCfg`.
48
+
49
+ - **Controlled joints**:
50
+ - `base_x_joint`
51
+ - `base_y_joint`
52
+ - `base_yaw_link`
53
+ - **Scale**: `0.01`
54
+
55
+ ```python
56
+ self.action_config.base_action = mdp.RelativeJointPositionActionCfg(
57
+ asset_name="robot",
58
+ joint_names=["base.*"],
59
+ scale=0.01,
60
+ use_zero_offset=True,
61
+ )
62
+ ```
63
+
64
+ ## 1.2.2 Body Action
65
 
66
+ The body action controls the torso motion and is implemented using `RelativeJointPositionActionCfg`.
67
+
68
+ - **Controlled joints**:
69
+ - `body_z_joint`
70
+ - `body_y_joint`
71
+ - **Scale**: `0.025`
72
+
73
+ ```python
74
+ self.action_config.body_action = mdp.RelativeJointPositionActionCfg(
75
+ asset_name="robot",
76
+ joint_names=["body.*"],
77
+ scale=0.025,
78
+ use_zero_offset=True,
79
+ )
80
+ ```
81
+
82
+ ## 1.2.3 Gripper Action
83
+
84
+ Grippers are controlled using `BinaryJointPositionActionCfg`. In the action data, `-1` indicates closing the gripper, `+1` indicates opening the gripper.
85
+ The action commands for opening and closing the left and right grippers are defined as follows:
86
+
87
+ - **Action cmd**:
88
+ - `-1`: close gripper
89
+ - `+1`: open gripper
90
+ - Each gripper is actuated by two joints together, and the open/close commands are mapped explicitly to joint positions.
91
+
92
+ ```python
93
+ # left gripper
94
+ self.action_config.left_gripper_action = mdp.BinaryJointPositionActionCfg(
95
+ asset_name="robot",
96
+ joint_names=["left_gripper.*"],
97
+ open_command_expr={
98
+ "left_gripper1": 0.044,
99
+ "left_gripper2": 0.044,
100
+ },
101
+ close_command_expr={
102
+ "left_gripper1": 0.0,
103
+ "left_gripper2": 0.0,
104
+ },
105
+ )
106
+ ```
107
+
108
+ ```python
109
+ # right gripper
110
+ self.action_config.right_gripper_action = mdp.BinaryJointPositionActionCfg(
111
+ asset_name="robot",
112
+ joint_names=["right_gripper.*"],
113
+ open_command_expr={
114
+ "right_gripper1": 0.0,
115
+ "right_gripper2": 0.0,
116
+ },
117
+ close_command_expr={
118
+ "right_gripper1": -0.04,
119
+ "right_gripper2": -0.04,
120
+ },
121
+ )
122
+ ```
123
+
124
+ ---
125
 
126
  ## Dataset Structure
127
 
 
350
  "data_files_size_in_mb": 100,
351
  "video_files_size_in_mb": 500
352
  }
353
+ ```
354
+ ## Homepage: [[Lightwheel-BenchHub](https://docs.lightwheel.net/lw_benchhub/)]
355
+ ## License: [[Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0)]