eval_utils
find_start_point(base_vel)
Find the first point where the base velocity is non-zero. This is used to skip the initial part of the dataset where the robot is not moving.
Source code in OmniGibson/omnigibson/learning/utils/eval_utils.py
flatten_obs_dict(obs, parent_key='')
Process the observation dictionary by recursively flattening the keys.
so obs["robot_r1"]["camera"]["rgb"] will become obs["robot_r1:::rgb"].
Source code in OmniGibson/omnigibson/learning/utils/eval_utils.py
generate_basic_environment_config(task_name, task_cfg)
Generate a basic environment configuration
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
task_name
|
str
|
Name of the task |
required |
task_cfg
|
Dictionary of task config |
required |
Returns:
| Type | Description |
|---|---|
dict
|
Environment configuration |