habitat.tasks.nav.nav.NavigationEpisode class

Class for episode specification that includes initial position and rotation of agent, scene name, goal and optional shortest paths. An episode is a description of one task instance for the agent.

Special methods

def __getstate__(self)
def __init__(self, *, episode_id: typing.Optional[str] = None, scene_id: typing.Optional[str] = None, scene_dataset_config: str = 'default', additional_obj_config_paths: typing.List[str] = [], start_position: typing.Optional[typing.List[float]] = None, start_rotation: typing.Optional[typing.List[float]] = None, info: typing.Optional[typing.Dict[str, typing.Any]] = None, goals: typing.Optional[typing.List[NavigationGoal]] = None, start_room: typing.Optional[str] = None, shortest_paths: typing.Optional[typing.List[typing.List[core.simulator.ShortestPathPoint]]] = None) -> None
Method generated by attrs for class NavigationEpisode.
def __setattr__(self, name, val)
Method generated by attrs for class NavigationEpisode.
def __setstate__(self, state)

Properties

goals: typing.List[NavigationGoal] get set del
start_room: typing.Optional[str] get set del
shortest_paths: typing.Optional[typing.List[typing.List[core.simulator.ShortestPathPoint]]] get set del
episode_id: str get set del
scene_id: str get set del
scene_dataset_config: str get set del
additional_obj_config_paths: typing.List[str] get set del
start_position: typing.List[float] get set del
start_rotation: typing.List[float] get set del
info: typing.Optional[typing.Dict[str, typing.Any]] get set del