habitat.tasks.nav.nav.ImageGoalSensor class

Sensor for ImageGoal observations which are used in ImageGoal Navigation.

RGBSensor needs to be one of the Simulator sensors. This sensor return the rgb image taken from the goal position to reach with random rotation.

sim: reference to the simulator for calculating task observations. config: config for the ImageGoal sensor.


def get_observation(self, *args: typing.Any, observations, episode: NavigationEpisode, **kwargs: typing.Any)

Special methods

def __init__(self, *args: typing.Any, sim: core.simulator.Simulator, config: DictConfig, **kwargs: typing.Any)


cls_uuid: str = 'imagegoal'