Skip to content

allenact_plugins.lighthouse_plugin.lighthouse_tasks#

[view_source]

LightHouseTask#

class LightHouseTask(Task[LightHouseEnvironment],  abc.ABC)

[view_source]

Defines an abstract embodied task in the light house gridworld.

Attributes

  • env: The light house environment.
  • sensor_suite: Collection of sensors formed from the sensors argument in the initializer.
  • task_info: Dictionary of (k, v) pairs defining task goals and other task information.
  • max_steps: The maximum number of steps an agent can take an in the task before it is considered failed.
  • observation_space: The observation space returned on each step from the sensors.

LightHouseTask.__init__#

 | __init__(env: LightHouseEnvironment, sensors: Union[SensorSuite, List[Sensor]], task_info: Dict[str, Any], max_steps: int, **kwargs, ,) -> None

[view_source]

Initializer.

See class documentation for parameter definitions.