File size: 6,795 Bytes
6170f10 f84913b 6170f10 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 |
---
license: cc-by-nc-sa-4.0
---
## ποΈ GRScenes Data

### β¨ Features
1. **Large-Scale & Dynamic & Realistic**: GRScenes is built from over 100k high-quality scene prototypes and now includes 99 environments (69 home scenes and 30 commercial scenes). Each scene has been carefully designed and accurately modeled to ensure realism.
2. **Fine-grained Interactive Objects**: All the objects have full internal modeling, enabling robots to perform actions such as opening doors or sliding drawers in a realistic way. These assets facilitate fine-grained manipulation tasks and include part-level annotations in Omniverse X-form level.
3. **Rich Semantic Information**: We set object-level semantic labels in each scene, which support tasks such as local navigation and object searching.
### π Directory Structure
```
GRScenes-100/commercial_scenes.zip --(unzip)--> target_30_new
βββ ...
GRScenes-100/home_scenes.zip --(unzip)--> target_69_new
βββ Materials
β βββ ... (material mdl files and texture pictures)
βββ models
β βββ layout
β β βββ articulated
β β β βββ ... ( window, door, etc.)
β β βββ others
β β βββ ... (ceiling, wall, ground, etc.)
β βββ object
β βββ articulated
β β βββ ... (microwave, refrigerator, etc.)
β βββ others
β βββ ... (bed, bottle, cup, etc.)
βββ scenes
βββ MV7J6NIKTKJZ2AABAAAAADA8_usd
β βββ Materials -> ../../Materials
β βββ models -> ../../models
β βββ metadata.json (records the referenced model and material paths)
β βββ start_result_xxx.usd (scene usd files)
βββ ... (other scene folders)
```
- **Materials** folder contains mdl files and texture pictures. The mdl files, which are Material Definition Language files commonly used by rendering engines such as NVIDIA Omniverse. These mdl files are used with texture pictures to define the physically based material properties such as color, reflectivity, and transparency that can be applied to 3D objects.
- **models** folder contains 3D object models, where layouts objects under `layout/` and interactive objects under `object/`. Subdirectories are further categorized according to the model semantic labels such as `door` and `oven`.
- **scenes** folder (e.g., `MV7J6NIKTKJZ2AABAAAAADA8_usd/`) contains the following files:
- **Scene USD Files**
We provides three usd files.
- **raw scene**, named as `start_result_raw.usd`, which defines the layout of the scene.
- **navigation scene**, named as `start_result_navigation.usd`, which used for navigation tasks.
- **interaction scene**, named as `start_result_interaction.usd`, which used for manipulation tasks.
- **metadata.json**
This file records the metadata information of the models and materials referenced in the raw scene.
- **interactive_obj_list.json**
This file records the prim paths of the interactive objects in the interaction scene.
## π Getting Started
### Prerequisites
**Configure MDL Material Search Path**
If loading scenes in Isaac Sim, we recommend to configure an environment variable named `MDL_SYSTEM_PATH` according to this [document](https://docs.omniverse.nvidia.com/materials-and-rendering/latest/mdl_search_path.html). Here are the steps:
```bash
# step 1. Find the Materials folder path, such as `./target_69_new/Materials`
# step 2. Configure the environment variable `MDL_SYSTEM_PATH` (saved to `~/.bashrc` is recommended).
echo 'export MDL_SYSTEM_PATH=$MDL_SYSTEM_PATH:</path/to/your_downloaded_materials_folder>' >> ~/.bashrc
source ~/.bashrc
```
**Install Dependencies**
Our tool scripts depends on OpenUSD and IsaacSim Python SDK, users need to install these dependencies as follows:
```bash
conda create -n <env_name> python=3.10
conda activate <env_name>
pip install usd-core==24.11
pip install isaacsim==4.2.0.2 isaacsim-extscache-physics==4.2.0.2 isaacsim-extscache-kit==4.2.0.2 isaacsim-extscache-kit-sdk==4.2.0.2 --extra-index-url https://pypi.nvidia.com
```
### Usage
We provide some [scripts](https://github.com/OpenRobotLab/GRUtopia/tree/main/toolkits/grscenes_scripts) for GRScenes.
- **preprocess.py** is used to bind physics properties (rigid body, collider etc.) with objects in one or several scenes.
```bash
## use `-i/--interaction` option to preprocess scenes for interaction.
python preprocess.py -i/--interaction -f/--files [</path/to/raw_scene_usd_file>...]
## use `-n/--navigation` option to preprocess scenes for navigation
python preprocess.py -n/--navigation -f/--files [</path/to/raw_scene_usd_file>...]
## besides, use `-d/--dirs` option to preprocess all scenes under the scenes folder such as `/ssd/$USER/target_69_new/scenes`
python preprocess.py -i/--interaction -n/--navigation -d/--dirs [</path/to/scene_root_folder>...]
```
- **warmup.py** is used to warmup the simulation process of the given scenes.
```bash
## warmup the specific scenes
python warmup.py -f/--files [</path/to/scene_usd_file>...]
## warmup all scenes
python warmup.py -d/--dirs [</path/to/scene_root_folder>...]
```
- **play_scene.py** is used to load and play the given scene.
```shell
python play_scene.py -f/--file </path/to/scene_usd_file>
```
- **export_scenes.py** is used to export the specified one or more scenes with its related objects and material files.
```bash
python export_scenes.py -i/--input </path/to/source_scene_root_folder> -o/--output </path/to/target_scene_root_folder> -n/--names [<scene_id1>...]
```
- **get_metadata.py** is used to get the metadata information of the models and materials referenced in given model instance or scene usd files.
```bash
python get_metadata.py -f/--files [</path/to/single_instance_or_scene_usd>...]
python get_metadata.py -d/--dirs [</path/to/instance_or_scene_root_folder>...]
```
- **extract_objaverse.py** is used to extract model objects from objaverse. It can convert the data type of 3D models from glb format to usd format, and detach the raw models and its materials.
```bash
python extract_objaverse.py --usd_path </path/to/objavers_usd_file> --material_path </path/to/output_material_files_path>
```
</details>
## π License
GRUtopia's simulation platform is [MIT licensed](LICENSE). The open-sourced GRScenes are under the <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License </a><a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-sa/4.0/80x15.png" /></a>.
|