zianrahmad commited on
Commit
6d598d2
·
verified ·
1 Parent(s): 263da2d

Create config json

Browse files
Files changed (1) hide show
  1. config json +266 -0
config json ADDED
@@ -0,0 +1,266 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "robot": {
3
+ "name": "AdvancedHumanoidBot",
4
+ "type": "humanoid",
5
+ "mass": 75.0,
6
+ "dimensions": {
7
+ "height": 1.8,
8
+ "width": 0.5,
9
+ "depth": 0.3
10
+ },
11
+ "inertia": {
12
+ "ixx": 10.0,
13
+ "iyy": 10.0,
14
+ "izz": 10.0
15
+ },
16
+ "links": [
17
+ {
18
+ "name": "base_link",
19
+ "parent": "world",
20
+ "pose": [0, 0, 0, 0, 0, 0],
21
+ "size": [0.3, 0.3, 0.1],
22
+ "mass": 5.0,
23
+ "collision": true,
24
+ "visual": true
25
+ },
26
+ {
27
+ "name": "left_leg",
28
+ "parent": "base_link",
29
+ "joint": {
30
+ "type": "revolute",
31
+ "axis": [0, 0, 1],
32
+ "limit": [-1.57, 1.57],
33
+ "damping": 0.1,
34
+ "friction": 0.01
35
+ },
36
+ "size": [0.05, 0.4, 0.05],
37
+ "mass": 3.0
38
+ },
39
+ {
40
+ "name": "right_leg",
41
+ "parent": "base_link",
42
+ "joint": {
43
+ "type": "revolute",
44
+ "axis": [0, 0, 1],
45
+ "limit": [-1.57, 1.57],
46
+ "damping": 0.1,
47
+ "friction": 0.01
48
+ },
49
+ "size": [0.05, 0.4, 0.05],
50
+ "mass": 3.0
51
+ },
52
+ {
53
+ "name": "left_arm",
54
+ "parent": "base_link",
55
+ "joint": {
56
+ "type": "revolute",
57
+ "axis": [1, 0, 0],
58
+ "limit": [-2.0, 2.0]
59
+ },
60
+ "size": [0.05, 0.6, 0.05],
61
+ "mass": 2.0,
62
+ "manipulator": true
63
+ },
64
+ {
65
+ "name": "right_arm",
66
+ "parent": "base_link",
67
+ "joint": {
68
+ "type": "revolute",
69
+ "axis": [1, 0, 0],
70
+ "limit": [-2.0, 2.0]
71
+ },
72
+ "size": [0.05, 0.6, 0.05],
73
+ "mass": 2.0,
74
+ "end_effector": {
75
+ "gripper": {
76
+ "max_force": 50.0,
77
+ "range": 0.1
78
+ }
79
+ }
80
+ },
81
+ {
82
+ "name": "head",
83
+ "parent": "base_link",
84
+ "joint": {
85
+ "type": "spherical",
86
+ "limit": [0.5, 0.5, 1.57]
87
+ },
88
+ "size": [0.2, 0.2, 0.25],
89
+ "mass": 1.5
90
+ }
91
+ ],
92
+ "dof": 28
93
+ },
94
+ "sensors": [
95
+ {
96
+ "name": "lidar_top",
97
+ "type": "lidar",
98
+ "parent": "head",
99
+ "pose": [0, 0, 0.2, 0, 0, 0],
100
+ "range": [0.1, 50.0],
101
+ "resolution": 0.01,
102
+ "fov": 360.0,
103
+ "layers": 32,
104
+ "update_rate": 10.0,
105
+ "noise": 0.01
106
+ },
107
+ {
108
+ "name": "rgb_camera",
109
+ "type": "camera",
110
+ "parent": "head",
111
+ "pose": [0, 0.1, 0.15, 0, 0, 0],
112
+ "resolution": [640, 480],
113
+ "fov": 90.0,
114
+ "update_rate": 30.0,
115
+ "depth": true,
116
+ "topics": ["/camera/rgb/image_raw", "/camera/depth/image_raw"]
117
+ },
118
+ {
119
+ "name": "imu",
120
+ "type": "imu",
121
+ "parent": "base_link",
122
+ "noise_gyro": 0.01,
123
+ "noise_accel": 0.01,
124
+ "update_rate": 100.0
125
+ },
126
+ {
127
+ "name": "force_torque_left",
128
+ "type": "force_torque",
129
+ "parent": "left_arm",
130
+ "update_rate": 100.0
131
+ },
132
+ {
133
+ "name": "gps",
134
+ "type": "gps",
135
+ "parent": "base_link",
136
+ "accuracy": 0.1,
137
+ "update_rate": 10.0
138
+ },
139
+ {
140
+ "name": "microphone_array",
141
+ "type": "microphone",
142
+ "parent": "head",
143
+ "channels": 8,
144
+ "sample_rate": 16000
145
+ },
146
+ {
147
+ "name": "touch_sensors",
148
+ "type": "tactile",
149
+ "parent": "right_arm",
150
+ "resolution": 100,
151
+ "sensitivity": 1.0
152
+ }
153
+ ],
154
+ "actuators": [
155
+ {
156
+ "name": "left_hip_motor",
157
+ "parent": "left_leg",
158
+ "type": "dc_motor",
159
+ "max_torque": 100.0,
160
+ "max_velocity": 10.0,
161
+ "pid": {
162
+ "p": 100.0,
163
+ "i": 1.0,
164
+ "d": 10.0
165
+ }
166
+ },
167
+ {
168
+ "name": "right_knee_servo",
169
+ "parent": "right_leg",
170
+ "type": "servo",
171
+ "max_torque": 50.0,
172
+ "range": [-90, 90],
173
+ "pid": { "p": 200.0, "i": 2.0, "d": 20.0 }
174
+ },
175
+ {
176
+ "name": "gripper_motor",
177
+ "parent": "right_arm",
178
+ "type": "servo",
179
+ "max_force": 30.0
180
+ }
181
+ ],
182
+ "control": {
183
+ "joint_controllers": "effort",
184
+ "gait_generator": {
185
+ "type": "cpg",
186
+ "frequency": 1.0,
187
+ "amplitude": 0.5
188
+ },
189
+ "trajectory_planner": {
190
+ "type": "moveit",
191
+ "planning_time": 0.5
192
+ },
193
+ "stabilization": {
194
+ "type": "mpc",
195
+ "horizon": 20
196
+ },
197
+ "safety_limits": {
198
+ "velocity_max": 2.0,
199
+ "collision_avoidance": true
200
+ }
201
+ },
202
+ "navigation": {
203
+ "planner": {
204
+ "type": "dwa",
205
+ "goal_tolerance": 0.1,
206
+ "max_vel": 1.5
207
+ },
208
+ "localization": {
209
+ "type": "ekf",
210
+ "use_odom": true,
211
+ "use_imu": true,
212
+ "use_gps": true
213
+ },
214
+ "map": {
215
+ "resolution": 0.05,
216
+ "size": [100, 100]
217
+ },
218
+ "fleet_mode": true,
219
+ "formation": "leader_follower"
220
+ },
221
+ "ai": {
222
+ "perception": {
223
+ "object_detector": {
224
+ "model": "yolov8",
225
+ "classes": ["person", "object", "obstacle"]
226
+ },
227
+ "slam": {
228
+ "type": "orb_slam3"
229
+ }
230
+ },
231
+ "planning": {
232
+ "type": "rl",
233
+ "model_path": "ppo_humanoid.pt"
234
+ },
235
+ "nlp": {
236
+ "model": "whisper",
237
+ "intent_classifier": "bert"
238
+ },
239
+ "compute": {
240
+ "gpu": true,
241
+ "batch_size": 1
242
+ }
243
+ },
244
+ "world": {
245
+ "gravity": [0, 0, -9.81],
246
+ "timestep": 0.001,
247
+ "real_time_factor": 1.0,
248
+ "terrain": {
249
+ "type": "rough",
250
+ "friction": 0.8
251
+ },
252
+ "obstacles": [
253
+ {
254
+ "type": "box",
255
+ "pose": [2, 0, 0.5, 0, 0, 0],
256
+ "size": [1, 1, 1]
257
+ }
258
+ ]
259
+ },
260
+ "simulation": {
261
+ "engine": "gazebo",
262
+ "plugins": ["gazebo_ros_pkgs"],
263
+ "record": true,
264
+ "visualize": true
265
+ }
266
+ }