wrappers
DefaultWrapper
Bases: EnvironmentWrapper
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
env
|
Environment
|
The environment to wrap. |
required |
Source code in OmniGibson/omnigibson/learning/wrappers/default_wrapper.py
HeavyRobotWrapper
Bases: EnvironmentWrapper
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
env
|
Environment
|
The environment to wrap. |
required |
Source code in OmniGibson/omnigibson/learning/wrappers/heavy_robot_wrapper.py
RGBLowResWrapper
Bases: EnvironmentWrapper
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
env
|
Environment
|
The environment to wrap. |
required |
Source code in OmniGibson/omnigibson/learning/wrappers/rgb_low_res_wrapper.py
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
|
|