diff --git a/habitat/tasks/nav/nav_task.py b/habitat/tasks/nav/nav_task.py index 2498939ffdfe83a6211bc663a342aa0b503dd554..e1b19731f51cfcedad7848eb52a01f312a53e415 100644 --- a/habitat/tasks/nav/nav_task.py +++ b/habitat/tasks/nav/nav_task.py @@ -282,12 +282,12 @@ class StaticPointGoalSensor(habitat.Sensor): class HeadingSensor(habitat.Sensor): """ - Sensor for observing the agent's heading in the global coordinate frame. + Sensor for observing the agent's heading in the global coordinate frame. - Args: - sim: reference to the simulator for calculating task observations. - config: config for the sensor. - """ + Args: + sim: reference to the simulator for calculating task observations. + config: config for the sensor. + """ def __init__(self, sim: Simulator, config: Config): self._sim = sim @@ -318,12 +318,12 @@ class HeadingSensor(habitat.Sensor): class ProximitySensor(habitat.Sensor): """ - Sensor for observing the distance to the closest obstacle + Sensor for observing the distance to the closest obstacle - Args: - sim: reference to the simulator for calculating task observations. - config: config for the sensor. - """ + Args: + sim: reference to the simulator for calculating task observations. + config: config for the sensor. + """ def __init__(self, sim, config): self._sim = sim