Skip to content

Commit a59b33e

Browse files
authored
Experimental function update and bug fixes. (#15)
* Add interactive generation code, config, doc, and update dataset bug for random text partial drop.
1 parent 2f9506b commit a59b33e

18 files changed

Lines changed: 3428 additions & 59 deletions

configs/experimental/multi_datasets/ctsd_35_xs_p6_tirda_bm_nwao.json

Lines changed: 1063 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 276 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,276 @@
1+
{
2+
"world_settings": {
3+
"synchronous_mode": true,
4+
"fixed_delta_seconds": 0.1
5+
},
6+
"total_steps": 65536,
7+
"seed": 0,
8+
"actor_configs": [
9+
{
10+
"id": "vehicle.lincoln.mkz_2017",
11+
"attributes": {
12+
"role_name": "hero"
13+
},
14+
"spawn_index": 1,
15+
"state_machine": "dwm.utils.carla_actor_state_machines.BevSpectator",
16+
"report_actor_id": true,
17+
"child_configs": [
18+
{
19+
"id": "sensor.camera.rgb",
20+
"attributes": {
21+
"image_size_x": "640",
22+
"image_size_y": "360",
23+
"fov": "64.895",
24+
"role_name": "CAM_FRONT_LEFT"
25+
},
26+
"spawn_transform": {
27+
"location": [
28+
0.02387798135,
29+
-0.494631336551,
30+
1.50932822144
31+
],
32+
"rotation": [
33+
0.652698,
34+
-55.34048,
35+
0.404783
36+
]
37+
},
38+
"report_actor_id": true
39+
},
40+
{
41+
"id": "sensor.camera.semantic_segmentation",
42+
"attributes": {
43+
"image_size_x": "640",
44+
"image_size_y": "360",
45+
"fov": "64.895",
46+
"role_name": "CAM_FRONT_LEFT"
47+
},
48+
"spawn_transform": {
49+
"location": [
50+
0.02387798135,
51+
-0.494631336551,
52+
1.50932822144
53+
],
54+
"rotation": [
55+
0.652698,
56+
-55.34048,
57+
0.404783
58+
]
59+
},
60+
"report_actor_id": true
61+
},
62+
{
63+
"id": "sensor.camera.rgb",
64+
"attributes": {
65+
"image_size_x": "640",
66+
"image_size_y": "360",
67+
"fov": "65.105",
68+
"role_name": "CAM_FRONT"
69+
},
70+
"spawn_transform": {
71+
"location": [
72+
0.22200568478,
73+
0.00475453292289,
74+
1.49491291905
75+
],
76+
"rotation": [
77+
0.483232,
78+
-0.587877,
79+
0.700754
80+
]
81+
},
82+
"report_actor_id": true
83+
},
84+
{
85+
"id": "sensor.camera.semantic_segmentation",
86+
"attributes": {
87+
"image_size_x": "640",
88+
"image_size_y": "360",
89+
"fov": "65.105",
90+
"role_name": "CAM_FRONT"
91+
},
92+
"spawn_transform": {
93+
"location": [
94+
0.22200568478,
95+
0.00475453292289,
96+
1.49491291905
97+
],
98+
"rotation": [
99+
0.483232,
100+
-0.587877,
101+
0.700754
102+
]
103+
},
104+
"report_actor_id": true
105+
},
106+
{
107+
"id": "sensor.camera.rgb",
108+
"attributes": {
109+
"image_size_x": "640",
110+
"image_size_y": "360",
111+
"fov": "64.951",
112+
"role_name": "CAM_FRONT_RIGHT"
113+
},
114+
"spawn_transform": {
115+
"location": [
116+
0.0508477543,
117+
0.493404796419,
118+
1.49574800619
119+
],
120+
"rotation": [
121+
1.75806,
122+
57.562786,
123+
1.6914
124+
]
125+
},
126+
"report_actor_id": true
127+
},
128+
{
129+
"id": "sensor.camera.semantic_segmentation",
130+
"attributes": {
131+
"image_size_x": "640",
132+
"image_size_y": "360",
133+
"fov": "64.951",
134+
"role_name": "CAM_FRONT_RIGHT"
135+
},
136+
"spawn_transform": {
137+
"location": [
138+
0.0508477543,
139+
0.493404796419,
140+
1.49574800619
141+
],
142+
"rotation": [
143+
1.75806,
144+
57.562786,
145+
1.6914
146+
]
147+
},
148+
"report_actor_id": true
149+
}
150+
]
151+
},
152+
{
153+
"pattern": "vehicle.audi.*",
154+
"spawn_index": 0
155+
},
156+
{
157+
"pattern": "vehicle.tesla.*",
158+
"spawn_index": 51
159+
},
160+
{
161+
"pattern": "vehicle.tesla.*",
162+
"spawn_index": 52
163+
},
164+
{
165+
"pattern": "vehicle.nissan.*",
166+
"spawn_index": 99
167+
},
168+
{
169+
"pattern": "vehicle.audi.*",
170+
"spawn_index": 102
171+
},
172+
{
173+
"pattern": "vehicle.mercedes.*",
174+
"spawn_index": 79
175+
},
176+
{
177+
"pattern": "vehicle.tesla.*",
178+
"spawn_index": 108
179+
},
180+
{
181+
"pattern": "vehicle.mercedes.*",
182+
"spawn_index": 53
183+
},
184+
{
185+
"pattern": "vehicle.nissan.*",
186+
"spawn_index": 94
187+
},
188+
{
189+
"pattern": "walker.pedestrian.*",
190+
"attributes": {
191+
"is_invincible": "false",
192+
"speed": "1.7"
193+
},
194+
"spawn_transform": {
195+
"location": [
196+
-69,
197+
36,
198+
1
199+
]
200+
},
201+
"child_configs": [
202+
{
203+
"id": "controller.ai.walker",
204+
"spawn_transform": {},
205+
"state_machine": "dwm.utils.carla_actor_state_machines.ClassicPedestrian"
206+
}
207+
]
208+
},
209+
{
210+
"pattern": "walker.pedestrian.*",
211+
"attributes": {
212+
"is_invincible": "false",
213+
"speed": "1.7"
214+
},
215+
"spawn_transform": {
216+
"location": [
217+
-52,
218+
36,
219+
1
220+
]
221+
},
222+
"child_configs": [
223+
{
224+
"id": "controller.ai.walker",
225+
"spawn_transform": {},
226+
"state_machine": "dwm.utils.carla_actor_state_machines.ClassicPedestrian"
227+
}
228+
]
229+
},
230+
{
231+
"pattern": "walker.pedestrian.*",
232+
"attributes": {
233+
"is_invincible": "false",
234+
"speed": "1.7"
235+
},
236+
"spawn_transform": {
237+
"location": [
238+
-32,
239+
4,
240+
1
241+
]
242+
},
243+
"child_configs": [
244+
{
245+
"id": "controller.ai.walker",
246+
"spawn_transform": {},
247+
"state_machine": "dwm.utils.carla_actor_state_machines.ClassicPedestrian"
248+
}
249+
]
250+
},
251+
{
252+
"pattern": "walker.pedestrian.*",
253+
"attributes": {
254+
"is_invincible": "false",
255+
"speed": "1.7"
256+
},
257+
"spawn_transform": {
258+
"location": [
259+
-49,
260+
25,
261+
1
262+
]
263+
},
264+
"child_configs": [
265+
{
266+
"id": "controller.ai.walker",
267+
"spawn_transform": {},
268+
"state_machine": "dwm.utils.carla_actor_state_machines.ClassicPedestrian"
269+
}
270+
]
271+
}
272+
],
273+
"traffic_manager_settings":{
274+
"set_global_distance_to_leading_vehicle": 20
275+
}
276+
}

0 commit comments

Comments
 (0)