add scene info & scene config

This commit is contained in:
tianyang
2026-03-20 13:23:57 +00:00
parent b01fd230bf
commit 2a0a21f2c8
7 changed files with 49 additions and 2 deletions

View File

@@ -0,0 +1,22 @@
name: scene_arena
involved_scenes: living_room_scene_info
update_freq: 5000
fixtures:
# 001
-
name: table
path: home_scenes/tables/living_room/model_fd09d648b984fab892c78c317bf0934c_0.usd
target_class: GeometryObject
translation: [0, 0, 0.22]
scale: [0.01, 0.01, 0.01]
euler: [0.0, 0.0, 0.0]
apply_randomization: True
-
name: scene
path: home_scenes/rooms/living_room/MV7J6NIKTKJZ2AABAAAAADA8_usd_living_room_0.usd
target_class: GeometryObject
scale: [0.01, 0.01, 0.01]
translation: [2.79, -7.34, 0.0]
euler: [0.0, 0.0, 0.0]
apply_randomization: True

View File

@@ -0,0 +1,22 @@
name: scene_arena
involved_scenes: study_room_scene_info
update_freq: 5000
fixtures:
# 001
-
name: table
path: home_scenes/tables/study_room/model_d3745f1d28f11c7019c1b6b92a7a5b92_0.usd
target_class: GeometryObject
translation: [0, 0, 0.31]
scale: [0.01, 0.01, 0.01]
euler: [0.0, 0.0, 0.0]
apply_randomization: True
-
name: scene
path: home_scenes/rooms/study_room/MV7J6NIKTKJZ2AABAAAAADI8_usd_study_room_0.usd
target_class: GeometryObject
scale: [0.01, 0.01, 0.01]
translation: [0.37, -8.66, 0.0]
euler: [0.0, 0.0, 0.0]
apply_randomization: True

View File

@@ -80,8 +80,8 @@ class SimBoxDualWorkFlow(NimbusWorkFlow):
with open(arena_file_path, "r", encoding="utf-8") as arena_file:
arena = yaml.load(arena_file, Loader=Loader)
if "involved_scenes" in arena:
arena["involved_scenes"] = self.scene_info
# if "involved_scenes" in arena:
# arena["involved_scenes"] = self.scene_info
self.task_cfg["arena"] = arena