Add noise to the observation of an environment.
More...
|
| high |
| Upper bound on observation noise.
|
|
| low |
| Lower bound on observation noise.
|
|
Add noise to the observation of an environment.
◆ __init__()
def upkie.envs.wrappers.noisify_observation.NoisifyObservation.__init__ |
( |
|
self, |
|
|
|
env, |
|
|
np.ndarray |
noise |
|
) |
| |
Create wrapper.
- Parameters
-
env | Environment to wrap. |
noise | Noise level. |
◆ observation()
np.ndarray upkie.envs.wrappers.noisify_observation.NoisifyObservation.observation |
( |
|
self, |
|
|
np.ndarray |
observation |
|
) |
| |
Get noisy observation.
- Parameters
-
observation | Noise-less observation. |
- Returns
- Noisy observation.
The documentation for this class was generated from the following file:
- upkie/envs/wrappers/noisify_observation.py