class
AgentAbstract class for defining agents which act inside core.env.Env.
This abstract class standardizes agents to allow seamless benchmarking.
Methods
- def act(self, observations: simulator.Observations) -> typing.Union[int, str, typing.Dict[str, typing.Any]]
- Called to produce an action to perform in an environment.
- def reset(self) -> None
- Called before starting a new episode in environment.
Method documentation
def habitat. core. agent. Agent. act(self,
observations: simulator.Observations) -> typing.Union[int, str, typing.Dict[str, typing.Any]]
Called to produce an action to perform in an environment.
Parameters | |
---|---|
observations | observations coming in from environment to be used by agent to decide action. |
Returns | action to be taken inside the environment and optional action arguments. |