@@ -51,13 +51,6 @@ def __init__(self, arena_env: IsaacLabArenaEnvironment, args: argparse.Namespace
5151 )
5252 self ._placement_event_cfg : EventTermCfg | None = None
5353
54- def orchestrate (self ) -> None :
55- """Orchestrate the environment member interaction"""
56- if self .arena_env .orchestrator is not None :
57- self .arena_env .orchestrator .orchestrate (
58- self .arena_env .embodiment , self .arena_env .scene , self .arena_env .task
59- )
60-
6154 def _solve_relations (self ) -> None :
6255 """Solve spatial relations for objects in the scene.
6356
@@ -181,19 +174,6 @@ def _modify_recorder_cfg_dataset_filename(self, recorder_cfg: RecorderManagerBas
181174 )
182175 return recorder_cfg
183176
184- # This method gives the arena environment a chance to modify the environment configuration.
185- # This is a workaround to allow user to gradually move to the new configuration system.
186- # THE ORDER MATTERS HERE.
187- # THIS WILL BE REMOVED IN THE FUTURE.
188- def modify_env_cfg (self , env_cfg : IsaacLabArenaManagerBasedRLEnvCfg ) -> IsaacLabArenaManagerBasedRLEnvCfg :
189- """Modify the environment configuration."""
190- if self .arena_env .task is not None :
191- env_cfg = self .arena_env .task .modify_env_cfg (env_cfg )
192- if self .arena_env .embodiment is not None :
193- env_cfg = self .arena_env .embodiment .modify_env_cfg (env_cfg )
194- env_cfg = self .arena_env .scene .modify_env_cfg (env_cfg )
195- return env_cfg
196-
197177 def compose_manager_cfg (self ) -> IsaacLabArenaManagerBasedRLEnvCfg :
198178 """Return base ManagerBased cfg (scene+events+terminations+xr), no registration."""
199179
@@ -351,7 +331,7 @@ def compose_manager_cfg(self) -> IsaacLabArenaManagerBasedRLEnvCfg:
351331 env_cfg .sim .physics = getattr (ArenaPhysicsCfg (), presets )
352332
353333 # Set replicate_physics for shared physics representations.
354- # For Newton, wihotut this flag, the simulation initialization
334+ # For Newton, without this flag, the simulation initialization
355335 # takes a very long time for large number of parallel environments.
356336 if presets == "newton" :
357337 env_cfg .scene .replicate_physics = True
@@ -374,12 +354,7 @@ def build_registered(
374354 ) -> tuple [str , IsaacLabArenaManagerBasedRLEnvCfg ]:
375355 """Register Gym env and parse runtime cfg."""
376356 name = self .arena_env .name
377- # orchestrate the environment member interaction
378- self .orchestrate ()
379357 cfg_entry = env_cfg if env_cfg is not None else self .compose_manager_cfg ()
380- # THIS IS A WORKAROUND TO ALLOW USER TO GRADUALLY MOVE TO THE NEW CONFIGURATION SYSTEM.
381- # THIS WILL BE REMOVED IN THE FUTURE.
382- cfg_entry = self .modify_env_cfg (cfg_entry )
383358 entry_point = self .get_entry_point ()
384359 # Register the environment with the Gym registry.
385360 kwargs = {
0 commit comments