mlpy.environments.nao.PhysicalWorld

class mlpy.environments.nao.PhysicalWorld(agents=None)[source]

Bases: mlpy.environments.Environment

The physical (real) environment.

Parameters:

agents : Agent or list[Agent], optional

A list of agents that act in the environment.

Notes

The agents are acting in the real world. To capture events happening in the real world the user is prompted to provide the information.

Attributes

mid The module’s unique identifier.

Methods

add_agents(agent) Add an agent to the environment.
check_data(value) Request to check for data.
enter(t) Enter the environment and all agents.
exit() Exit the environment and all agents.
get_agent(mid) Return the agent specified by the id.
is_complete() Checks if the environment has completed.
load(filename) Load the state of the module from file.
reset(t, **kwargs) Reset the environment and all agents.
save(filename) Save the current state of the module to file.
update(dt) Update the environment and all agents.