18
18
19
19
from rclpy .impl .rcutils_logger import RcutilsLogger
20
20
21
- from rai_bench .manipulation_o3de .benchmark import Benchmark , Scenario
21
+ from rai_bench .manipulation_o3de .benchmark import ManipulationO3DEBenchmark , Scenario
22
22
from rai_bench .manipulation_o3de .interfaces import Task
23
23
from rai_bench .manipulation_o3de .tasks import (
24
24
BuildCubeTowerTask ,
@@ -86,7 +86,7 @@ def trivial_scenarios(
86
86
place_object_tasks .append (
87
87
PlaceObjectAtCoordTask (obj , coord , disp , logger = logger )
88
88
)
89
- easy_place_objects_scenarios = Benchmark .create_scenarios (
89
+ easy_place_objects_scenarios = ManipulationO3DEBenchmark .create_scenarios (
90
90
tasks = place_object_tasks ,
91
91
simulation_configs = simulations_configs ,
92
92
simulation_configs_paths = simulation_configs_paths ,
@@ -99,7 +99,7 @@ def trivial_scenarios(
99
99
for objects in object_groups
100
100
]
101
101
102
- easy_move_to_left_scenarios = Benchmark .create_scenarios (
102
+ easy_move_to_left_scenarios = ManipulationO3DEBenchmark .create_scenarios (
103
103
tasks = move_to_left_tasks ,
104
104
simulation_configs = simulations_configs ,
105
105
simulation_configs_paths = simulation_configs_paths ,
@@ -168,7 +168,7 @@ def easy_scenarios(
168
168
place_object_tasks .append (
169
169
PlaceObjectAtCoordTask (obj , coord , disp , logger = logger )
170
170
)
171
- easy_place_objects_scenarios = Benchmark .create_scenarios (
171
+ easy_place_objects_scenarios = ManipulationO3DEBenchmark .create_scenarios (
172
172
tasks = place_object_tasks ,
173
173
simulation_configs = simulations_configs ,
174
174
simulation_configs_paths = simulation_configs_paths ,
@@ -188,15 +188,15 @@ def easy_scenarios(
188
188
for objects in object_groups
189
189
]
190
190
191
- easy_move_to_left_scenarios = Benchmark .create_scenarios (
191
+ easy_move_to_left_scenarios = ManipulationO3DEBenchmark .create_scenarios (
192
192
tasks = move_to_left_tasks ,
193
193
simulation_configs = simulations_configs ,
194
194
simulation_configs_paths = simulation_configs_paths ,
195
195
)
196
196
197
197
# place cubes
198
198
task = PlaceCubesTask (threshold_distance = 0.2 , logger = logger )
199
- easy_place_cubes_scenarios = Benchmark .create_scenarios (
199
+ easy_place_cubes_scenarios = ManipulationO3DEBenchmark .create_scenarios (
200
200
tasks = [task ],
201
201
simulation_configs = simulations_configs ,
202
202
simulation_configs_paths = simulation_configs_paths ,
@@ -284,7 +284,7 @@ def medium_scenarios(
284
284
for objects in object_groups
285
285
]
286
286
287
- move_to_left_scenarios = Benchmark .create_scenarios (
287
+ move_to_left_scenarios = ManipulationO3DEBenchmark .create_scenarios (
288
288
tasks = move_to_left_tasks ,
289
289
simulation_configs = medium_simulations_configs ,
290
290
simulation_configs_paths = medium_simulation_configs_paths ,
@@ -293,7 +293,7 @@ def medium_scenarios(
293
293
294
294
# place cubes
295
295
task = PlaceCubesTask (threshold_distance = 0.1 , logger = logger )
296
- easy_place_cubes_scenarios = Benchmark .create_scenarios (
296
+ easy_place_cubes_scenarios = ManipulationO3DEBenchmark .create_scenarios (
297
297
tasks = [task ],
298
298
simulation_configs = medium_simulations_configs ,
299
299
simulation_configs_paths = medium_simulation_configs_paths ,
@@ -310,7 +310,7 @@ def medium_scenarios(
310
310
for objects in object_groups
311
311
]
312
312
313
- build_tower_scenarios = Benchmark .create_scenarios (
313
+ build_tower_scenarios = ManipulationO3DEBenchmark .create_scenarios (
314
314
tasks = build_tower_tasks ,
315
315
simulation_configs = easy_simulations_configs ,
316
316
simulation_configs_paths = easy_simulation_configs_paths ,
@@ -330,7 +330,7 @@ def medium_scenarios(
330
330
GroupObjectsTask (obj_types = objects , logger = logger ) for objects in object_groups
331
331
]
332
332
333
- group_object_scenarios = Benchmark .create_scenarios (
333
+ group_object_scenarios = ManipulationO3DEBenchmark .create_scenarios (
334
334
tasks = group_object_tasks ,
335
335
simulation_configs = easy_simulations_configs ,
336
336
simulation_configs_paths = easy_simulation_configs_paths ,
@@ -418,15 +418,15 @@ def hard_scenarios(
418
418
for objects in object_groups
419
419
]
420
420
421
- move_to_left_scenarios = Benchmark .create_scenarios (
421
+ move_to_left_scenarios = ManipulationO3DEBenchmark .create_scenarios (
422
422
tasks = move_to_left_tasks ,
423
423
simulation_configs = hard_simulations_configs ,
424
424
simulation_configs_paths = hard_simulation_configs_paths ,
425
425
)
426
426
427
427
# place cubes
428
428
task = PlaceCubesTask (threshold_distance = 0.1 , logger = logger )
429
- easy_place_cubes_scenarios = Benchmark .create_scenarios (
429
+ easy_place_cubes_scenarios = ManipulationO3DEBenchmark .create_scenarios (
430
430
tasks = [task ],
431
431
simulation_configs = hard_simulations_configs ,
432
432
simulation_configs_paths = hard_simulation_configs_paths ,
@@ -442,7 +442,7 @@ def hard_scenarios(
442
442
for objects in object_groups
443
443
]
444
444
445
- build_tower_scenarios = Benchmark .create_scenarios (
445
+ build_tower_scenarios = ManipulationO3DEBenchmark .create_scenarios (
446
446
tasks = build_tower_tasks ,
447
447
simulation_configs = medium_simulations_configs ,
448
448
simulation_configs_paths = medium_simulation_configs_paths ,
@@ -464,7 +464,7 @@ def hard_scenarios(
464
464
GroupObjectsTask (obj_types = objects , logger = logger ) for objects in object_groups
465
465
]
466
466
467
- group_object_scenarios = Benchmark .create_scenarios (
467
+ group_object_scenarios = ManipulationO3DEBenchmark .create_scenarios (
468
468
tasks = group_object_tasks ,
469
469
simulation_configs = medium_simulations_configs ,
470
470
simulation_configs_paths = medium_simulation_configs_paths ,
@@ -534,7 +534,7 @@ def very_hard_scenarios(
534
534
for objects in object_groups
535
535
]
536
536
537
- build_tower_scenarios = Benchmark .create_scenarios (
537
+ build_tower_scenarios = ManipulationO3DEBenchmark .create_scenarios (
538
538
tasks = build_tower_tasks ,
539
539
simulation_configs = hard_simulations_configs ,
540
540
simulation_configs_paths = hard_simulation_configs_paths ,
@@ -555,7 +555,7 @@ def very_hard_scenarios(
555
555
GroupObjectsTask (obj_types = objects , logger = logger ) for objects in object_groups
556
556
]
557
557
558
- group_object_scenarios = Benchmark .create_scenarios (
558
+ group_object_scenarios = ManipulationO3DEBenchmark .create_scenarios (
559
559
tasks = group_object_tasks ,
560
560
simulation_configs = hard_simulations_configs ,
561
561
simulation_configs_paths = hard_simulation_configs_paths ,
0 commit comments