eprllib.Agents.ActionMappers.BaseActionMapper#
Action Mapper Base Class#
This module contains the base class to create ActionMapper functions and define
the action space dimension in the environment.
The methods provided here are used during inizialization and execution of the environment. You have to overwrite the following methods:
setup(self)
get_action_space_dim(self)
_agent_to_actuator_action(self, action: Any, actuators: List[str])
actuator_names(self, actuators_config: Dict[str, Tuple[str,str,str]])
Optionally, you can overwrite the following methods:
get_actuator_action(self, action: int | float, actuator: str)
action_to_goal(self, action: int | float)
Classes
|
Base class to create action transformer functions. |