Episode class
Base class for episode specification that includes initial position and rotation of agent, scene id, episode.
This information is provided by a Dataset instance.
Special methods
- def __format__(self, format_spec, /)
- Default object formatter.
- def __getstate__(self)
- def __init__(self, *, episode_id: str = None, scene_id: str = None, scene_dataset_config: str = 'default', additional_obj_config_paths: typing.List[str] = [], start_position: typing.List[float] = None, start_rotation: typing.List[float] = None, info: typing.Optional[typing.Dict[str, typing.Any]] = None) -> None
- Method generated by attrs for class Episode.
- def __ne__(self, other)
- Check equality and either forward a NotImplemented or return the result negated.
- def __setstate__(self, state)
Properties
- 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
- list of length 3 for cartesian coordinates
- start_rotation: typing.List[float] get set del
- list of length 4 for 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, typing.Any]] get set del
- episode_id: str get set del
- scene_id: str get set del
Method documentation
def habitat. core. dataset. Episode. __format__(self, format_spec, /)
Default object formatter.
Return str(self) if format_spec is empty. Raise TypeError otherwise.