From 74c88449ba67e22cbf38d1f7589fb3772a81e25a Mon Sep 17 00:00:00 2001 From: Tristan Slominski Date: Thu, 23 Jan 2025 10:38:12 -0600 Subject: [PATCH] refactor: environment_utils/habitat_utils.py -> simulators/habitat/environment_utils.py --- src/tbp/monty/frameworks/environments/embodied_data.py | 2 +- .../habitat/environment_utils.py} | 0 src/tbp/monty/simulators/habitat/simulator.py | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename src/tbp/monty/{frameworks/environment_utils/habitat_utils.py => simulators/habitat/environment_utils.py} (100%) diff --git a/src/tbp/monty/frameworks/environments/embodied_data.py b/src/tbp/monty/frameworks/environments/embodied_data.py index 2cf61b46..bc7d4019 100644 --- a/src/tbp/monty/frameworks/environments/embodied_data.py +++ b/src/tbp/monty/frameworks/environments/embodied_data.py @@ -23,11 +23,11 @@ SetAgentPose, SetSensorRotation, ) -from tbp.monty.frameworks.environment_utils.habitat_utils import get_bounding_corners from tbp.monty.frameworks.models.motor_policies import ( SurfacePolicy, SurfacePolicyCurvatureInformed, ) +from tbp.monty.simulators.habitat.environment_utils import get_bounding_corners from .embodied_environment import EmbodiedEnvironment diff --git a/src/tbp/monty/frameworks/environment_utils/habitat_utils.py b/src/tbp/monty/simulators/habitat/environment_utils.py similarity index 100% rename from src/tbp/monty/frameworks/environment_utils/habitat_utils.py rename to src/tbp/monty/simulators/habitat/environment_utils.py diff --git a/src/tbp/monty/simulators/habitat/simulator.py b/src/tbp/monty/simulators/habitat/simulator.py index c7bc9c44..338dab9e 100644 --- a/src/tbp/monty/simulators/habitat/simulator.py +++ b/src/tbp/monty/simulators/habitat/simulator.py @@ -26,8 +26,8 @@ import tbp.monty.simulators.resources as resources from tbp.monty.frameworks.actions.actions import Action -from tbp.monty.frameworks.environment_utils.habitat_utils import get_bounding_corners from tbp.monty.simulators.habitat.actuator import HabitatActuator +from tbp.monty.simulators.habitat.environment_utils import get_bounding_corners from .agents import HabitatAgent