habitat.core.dataset.Episode class

Base class for episode specification that includes initial position and rotation of agent, scene id, episode.

Contents

This information is provided by a Dataset instance.

Special methods

def __getstate__(self)
def __init__(self, *, episode_id: typing.Optional[str] = None, scene_id: typing.Optional[str] = None, start_position: typing.Optional[typing.List[float]] = None, start_rotation: typing.Optional[typing.List[float]] = None, info: typing.Optional[typing.Dict[str, str]] = None) -> None
def __setstate__(self, state)

Properties

episode_id: str get set del
id of episode in the dataset, usually episode number.
scene_id: str get set del
id of scene in dataset.
start_position: typing.List[float] get set del
list of length 3 for cartesian coordinates (x, y, z).
start_rotation: typing.List[float] get set del
list of length 4 for (x, y, z, w) elements of unit quaternion (versor) representing 3D agent orientation (https://en.wikipedia.org/wiki/Versor). The rotation specifying the agent’s orientation is relative to the world coordinate axes.
info: typing.Optional[typing.Dict[str, str]] get set del