Skip to content

Noisy observations might be outside of observation space. #220

@maxspahn

Description

@maxspahn

For some observations, the sensing of the FullSensor with added noise might result in an observation to be outside the observation space. This caused the environment to trigger a terminated statement.
After adding the noise, the observation should be clipped by the limits of the observation space.

observation[mask_item] = np.random.normal(
np.array(value), self._variance
).astype("float32")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions