rich_obs_wrapper
RichObservationWrapper
Bases: EnvironmentWrapper
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
env
|
Environment
|
The environment to wrap. |
required |
Source code in OmniGibson/omnigibson/learning/wrappers/rich_obs_wrapper.py
step(action, n_render_iterations=1)
By default, run the normal environment step() function
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
action
|
tensor
|
action to take in environment |
required |
n_render_iterations
|
int
|
Number of rendering iterations to use before returning observations |
1
|
Returns:
| Type | Description |
|---|---|
4 - tuple
|
|