diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index d84ad8963c3..5f0996c2f3a 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -67,6 +67,7 @@ Guidelines for modifications: * Johnson Sun * Kaixi Bao * Kourosh Darvish +* Kousheek Chakraborty * Lionel Gulich * Louis Le Lay * Lorenz Wellhausen diff --git a/source/isaaclab/isaaclab/envs/manager_based_env.py b/source/isaaclab/isaaclab/envs/manager_based_env.py index 9f1b9087491..43836b58875 100644 --- a/source/isaaclab/isaaclab/envs/manager_based_env.py +++ b/source/isaaclab/isaaclab/envs/manager_based_env.py @@ -122,6 +122,9 @@ def __init__(self, cfg: ManagerBasedEnvCfg): # counter for simulation steps self._sim_step_counter = 0 + # allocate dictionary to store metrics + self.extras = {} + # generate scene with Timer("[INFO]: Time taken for scene creation", "scene_creation"): self.scene = InteractiveScene(self.cfg.scene) @@ -170,9 +173,6 @@ def __init__(self, cfg: ManagerBasedEnvCfg): # if no window, then we don't need to store the window self._window = None - # allocate dictionary to store metrics - self.extras = {} - # initialize observation buffers self.obs_buf = {}