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