cambrian.envs.step_fns¶
Step fns. These can be used to modify the observation and info dictionaries.
Functions¶
|
Respawn agent at given position. |
|
Keywords Args: |
|
Add agent qpos to observation. |
|
Combine multiple step functions. |
Module Contents¶
- step_respawn_agents_if_close_to_agents(env, obs, info, *, distance_threshold, for_agents=None, to_agents=None, from_agents=None)[source]¶
- Keywords Args:
for_agents: List of agent names to check for proximity. to_agents: List of agent names to check distance to from_agents: List of agent names to check distance from