hello..I have followed installation procedure from point 1 to 5 as mentioned in Installation Instructions but when i run python examples/example.py mentioned in point 6 to start(test) habitat simulator,Errors related to pointnav.yaml file occurs.I have changed this file as given below:
ENVIRONMENT:
MAX_EPISODE_STEPS: 500
SIMULATOR:
AGENT_0:
SENSORS:
- TYPE: 'RGB'
WIDTH: 256
HEIGHT: 256
HABITAT_SIM_V0:
GPU_DEVICE_ID: 0
DEPTH_SENSOR:
WIDTH: 256
HEIGHT: 256
TASK:
TYPE: Nav-v0
SUCCESS_DISTANCE: 0.2
SENSORS: ['POINTGOAL_WITH_GPS_COMPASS_SENSOR']
POINTGOAL_WITH_GPS_COMPASS_SENSOR:
GOAL_FORMAT: "POLAR"
DIMENSIONALITY: 2
GOAL_SENSOR_UUID: pointgoal_with_gps_compass
MEASUREMENTS: ['DISTANCE_TO_GOAL', 'SUCCESS', 'SPL']
SUCCESS:
SUCCESS_DISTANCE: 0.2
but errors related to sensor_name is coming.Following are the errors:
2024-05-09 23:20:05,289 Initializing dataset PointNav-v1
2024-05-09 23:20:05,581 initializing sim Sim-v0
Sensor name: {'TYPE': 'RGB', 'WIDTH': 256, 'HEIGHT': 256}
Traceback (most recent call last):
File "examples/example.py", line 29, in
example()
File "examples/example.py", line 14, in example
config=habitat.get_config("configs/tasks/pointnav.yaml")
File "/home/oem/Habitat-PixelEDL/examples/habitat/core/env.py", line 110, in init
id_sim=self._config.SIMULATOR.TYPE, config=self._config.SIMULATOR
File "/home/oem/Habitat-PixelEDL/examples/habitat/sims/registration.py", line 19, in make_sim
return _sim(**kwargs)
File "/home/oem/Habitat-PixelEDL/examples/habitat/sims/habitat_simulator/habitat_simulator.py", line 213, in init
sensor_cfg = getattr(self.habitat_config, sensor_name)
TypeError: getattr(): attribute name must be string
Segmentation fault (core dumped)
Kindly guide me what changes need to be made to run habitat simulator successfully.Thanks.