Observations#
Abstract base class#
- class enki_env.config.ObservationConfig#
The abstract base class of observation configurations.
It defines how observations are generated from the sensor readings and internal state of robots.
- abstractmethod get(robot: pyenki.DifferentialWheeled) Observation#
How a robot generates an observation.
- Parameters:
robot – The robot generating the observation
- Returns:
The observation
Must be implemented by concrete classes!
- abstract property space: gym.spaces.Dict#
The observation space
Must be implemented by concrete classes!
Robot base class#
- class enki_env.robots.DifferentialDriveObservation(max_speed: float = 0, speed: bool = False, normalize: bool = True, dtype: type[~numpy.floating[~Any]] = <class 'numpy.float64'>)#
Bases:
ObservationConfigThe observation configuration common to all robots.
- get(robot: pyenki.DifferentialWheeled) Observation#
How a robot generates an observation.
- Parameters:
robot – The robot generating the observation
- Returns:
The observation
Must be implemented by concrete classes!