baz1boy commited on
Commit
f4a7a0d
·
verified ·
1 Parent(s): 3f85730

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +117 -5
README.md CHANGED
@@ -12,13 +12,123 @@ configs:
12
 
13
  This dataset was created using [LeRobot](https://github.com/huggingface/lerobot).
14
 
15
- ## Dataset Description
16
 
 
 
17
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
 
19
- - **Homepage:** [More Information Needed]
20
- - **Paper:** [More Information Needed]
21
- - **License:** apache-2.0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
 
23
  ## Dataset Structure
24
 
@@ -257,4 +367,6 @@ This dataset was created using [LeRobot](https://github.com/huggingface/lerobot)
257
  "data_files_size_in_mb": 100,
258
  "video_files_size_in_mb": 500
259
  }
260
- ```
 
 
 
12
 
13
  This dataset was created using [LeRobot](https://github.com/huggingface/lerobot).
14
 
15
+ # 1 Dataset Description
16
 
17
+ This dataset includes 62 Lightwheel-Robocasa-Tasks, collected using the g1-controller robot in environments provided by LW-BenchHub.
18
+ The robot configuration used during data collection is **`G1-Controller`**, using `UnitreeG1ControllerEnvCfg` inherits from `UnitreeG1EnvCfg`.
19
 
20
+ ---
21
+
22
+ ## 1.1 Robot State
23
+
24
+ The robot state recorded in the environment is stored in: **observation.state**
25
+ - **Dimension**: 31
26
+ - **Description**: Joint positions of the robot
27
+ - **Joint mapping**: The exact joint ordering and semantics can be found in the **Dataset Structure** section below.
28
+
29
+ ---
30
+
31
+ ## 1.2 Robot Action
32
+
33
+ The robot actions are recorded in: **action**
34
+ - **Dimension**: 19
35
+ The action is ordered as: base (3), left arm (7), right arm (7), left hand (1), right hand (1).
36
+
37
+ | Component | Dimension | Description |
38
+ |:----------------|:---------:|:------------------------------------|
39
+ | Base action | 3 | Planar base motion in world frame |
40
+ | Arm action | 14 | 7-DOF left arm + 7-DOF right arm (end-effector poses) |
41
+ | Hand action | 2 | Continuous gripper control |
42
+
43
+ ```python
44
+ @configclass
45
+ class G1PinkActionsCfg(PinkActionsCfg):
46
+ base_action: mdp.RelativeJointPositionActionCfg = mdp.RelativeJointPositionActionCfg(
47
+ asset_name="robot",
48
+ joint_names=["base_.*"],
49
+ scale={
50
+ "base_x_joint": 0.01,
51
+ "base_y_joint": 0.01,
52
+ "base_yaw_joint": 0.02,
53
+ },
54
+ use_zero_offset=True,
55
+ )
56
+
57
+ arms_action: G1ActionCfg = G1ActionCfg(asset_name="robot", joint_names=[
58
+ "left_shoulder_pitch_joint",
59
+ "left_shoulder_roll_joint",
60
+ "left_shoulder_yaw_joint",
61
+ "left_elbow_joint",
62
+ "left_wrist_roll_joint",
63
+ "left_wrist_pitch_joint",
64
+ "left_wrist_yaw_joint",
65
+ "right_shoulder_pitch_joint",
66
+ "right_shoulder_roll_joint",
67
+ "right_shoulder_yaw_joint",
68
+ "right_elbow_joint",
69
+ "right_wrist_roll_joint",
70
+ "right_wrist_pitch_joint",
71
+ "right_wrist_yaw_joint"
72
+ ])
73
+ ```
74
+
75
+ ## 1.2.1 Base Action
76
+
77
+ The base action is implemented using `RelativeJointPositionActionCfg`, you can refer to the `G1PinkActionsCfg` above.
78
 
79
+ - **Controlled dimensions**:
80
+ - `base_x_joint` (index 0): Forward/backward movement in world frame
81
+ - `base_y_joint` (index 1): Left/right movement in world frame
82
+ - `base_yaw_joint` (index 2): Yaw rotation
83
+ - **Scale**:
84
+ - `base_x_joint`: 0.01
85
+ - `base_y_joint`: 0.01
86
+ - `base_yaw_joint`: 0.02
87
+
88
+ ## 1.2.2 Arm Action
89
+
90
+ The arm actions control the end-effector poses (position and orientation) in the robot root frame.
91
+ The 14-dimensional arm action is passed to `G1ActionCfg`, where it is interpreted as a pose vector: [left_arm_pos (3), left_arm_quat (4), right_arm_pos (3), right_arm_quat (4)]
92
+ This pose representation is then converted into a 14-dimensional joint-space command via inverse kinematics.
93
+
94
+ - **Left arm action** (indices 3-9):
95
+ - `left_arm_pos_x` (index 3): X position in robot root frame
96
+ - `left_arm_pos_y` (index 4): Y position in robot root frame
97
+ - `left_arm_pos_z` (index 5): Z position in robot root frame
98
+ - `left_arm_quat_w` (index 6): Quaternion w component
99
+ - `left_arm_quat_x` (index 7): Quaternion x component
100
+ - `left_arm_quat_y` (index 8): Quaternion y component
101
+ - `left_arm_quat_z` (index 9): Quaternion z component
102
+
103
+ - **Right arm action** (indices 10-16):
104
+ - `right_arm_pos_x` (index 10): X position in robot root frame
105
+ - `right_arm_pos_y` (index 11): Y position in robot root frame
106
+ - `right_arm_pos_z` (index 12): Z position in robot root frame
107
+ - `right_arm_quat_w` (index 13): Quaternion w component
108
+ - `right_arm_quat_x` (index 14): Quaternion x component
109
+ - `right_arm_quat_y` (index 15): Quaternion y component
110
+ - `right_arm_quat_z` (index 16): Quaternion z component
111
+
112
+ - **Coordinate frame**: Robot root frame
113
+
114
+
115
+ ## 1.2.3 Gripper Action
116
+
117
+ Grippers are controlled using continuous values. In the action data, `-1.0` indicates fully open, `+1.0` indicates fully closed.
118
+
119
+ - **Action values**:
120
+ - `-1.0`: fully open gripper
121
+ - `+1.0`: fully closed gripper
122
+ - Continuous values in between represent partial opening/closing
123
+
124
+ - **Left gripper** (index 17): Continuous value from -1.0 (open) to 1.0 (closed)
125
+ - **Right gripper** (index 18): Continuous value from -1.0 (open) to 1.0 (closed)
126
+
127
+ - **Source**: VR trigger mapping
128
+ - `trigger=0.0` (not pressed) → `-1.0` (open)
129
+ - `trigger=1.0` (fully pressed) → `1.0` (closed)
130
+
131
+ ---
132
 
133
  ## Dataset Structure
134
 
 
367
  "data_files_size_in_mb": 100,
368
  "video_files_size_in_mb": 500
369
  }
370
+ ```
371
+ ## Homepage: [[Lightwheel-BenchHub](https://docs.lightwheel.net/lw_benchhub/)]
372
+ ## License: [[Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0)]