Skip to content

Commit a69336b

Browse files
committed
[release] Aug 8, 2023
0 parents  commit a69336b

File tree

203 files changed

+1365512
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

203 files changed

+1365512
-0
lines changed

.editorconfig

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# EditorConfig is awesome: http://EditorConfig.org
2+
3+
# top-most EditorConfig file
4+
root = true
5+
6+
# Unix-style newlines with a newline ending every file
7+
[*]
8+
end_of_line = lf
9+
insert_final_newline = true
10+
trim_trailing_whitespace = true
11+
charset = utf-8
12+
13+
# 4 space indentation
14+
[*.{py,java,r,R}]
15+
indent_style = space
16+
indent_size = 4
17+
18+
# 2 space indentation
19+
[*.{js, json, yml, html, cwl, yaml}]
20+
indent_style = space
21+
indent_size = 2
22+
23+
[*.{md,Rmd,rst}]
24+
trim_trailing_whitespace = false
25+
indent_style = space
26+
indent_size = 2

.gitignore

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# Copyright (c) 2022-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2+
#
3+
# Licensed under the MIT License [see LICENSE for details].
4+
5+
*.swp
6+
*.pyc
7+
*.py~
8+
*.bak
9+
.pytest_cache
10+
.DS_Store
11+
.idea
12+
.vscode
13+
.coverage
14+
.coverage.*
15+
__pycache__/
16+
_build/
17+
*.npz
18+
*.ini
19+
*.pth
20+
.pytype/
21+
22+
# Setuptools distribution and build folders.
23+
/dist/
24+
/build
25+
keys/
26+
27+
28+
*.sublime-project
29+
*.sublime-workspace
30+
31+
.idea
32+
33+
logs/
34+
35+
.ipynb_checkpoints
36+
ghostdriver.log
37+
38+
htmlcov
39+
40+
junk
41+
42+
*.egg-info
43+
.cache
44+
*.lprof
45+
*.prof
46+
47+
# Experiment files
48+
example/isaacgym/runs
49+
example/isaacgym/cfg

.gitmodules

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[submodule "3rd_party/meshcat-python"]
2+
path = 3rd_party/meshcat-python
3+
url = https://github.com/yzqin/meshcat-python
4+
[submodule "example/isaacgym/IsaacGymEnvs"]
5+
path = example/isaacgym/IsaacGymEnvs
6+
url = https://github.com/NVIDIA-Omniverse/IsaacGymEnvs

3rd_party/meshcat-python

Submodule meshcat-python added at 148ae43

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2022-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
# Web-Based Visualizer for Simulation Environments
2+
3+
| IsaacGym Simulator | ![](doc/isaacgymenv/allegro.png) | ![](doc/isaacgymenv/cabinet.png) | ![](doc/isaacgymenv/dog.png) | ![](doc/isaacgymenv/kuka.png) | ![](doc/isaacgymenv/trifinger.png) |
4+
|:--------------------:|:--------------------------------:|:--------------------------------:|:----------------------------:|:-----------------------------:|-----------------------------------:|
5+
| **SAPIEN Simulator** | ![](doc/maniskill/assembly.png) | ![](doc/maniskill/avoid.png) | ![](doc/maniskill/chair.png) | ![](doc/maniskill/insert.png) | ![](doc/maniskill/ycb.png) |
6+
| **Static URDF File** | ![](doc/urdf/chair.png) | ![](doc/urdf/drawer.png) | ![](doc/urdf/dj.png) | ![](doc/urdf/piano.png) | ![](doc/urdf/kuka_allegro.png) |
7+
8+
This repository hosts a browser-based 3D viewer for physical simulators. It offers users the ability to observe
9+
simulations directly within their web browser, as an alternative to the default visualizer that comes with the
10+
simulator.
11+
12+
The main feature of this repo is that you only need to modify a server lines of your code to port the
13+
visualization on the default simulator viewer to the web visualizer. This feature is especially useful for visualizing
14+
simulation on a headless server. For example, train and visualize the IsaacGym tasks
15+
inside [jupyter notebook](example/isaacgym/train_isaacgym_remote_server.ipynb) on a remote server.
16+
17+
## Installation
18+
19+
First install ZeroMQ libraries on your system:
20+
21+
```shell
22+
apt install libzmq3-dev # For ubuntu
23+
brew install zmq # For Mac
24+
```
25+
26+
```shell
27+
# git clone this repo
28+
cd sim-web-visualier && git submodule update --init --recursive
29+
pip install -e .
30+
```
31+
32+
## Examples
33+
34+
### IsaacGym Web Visualizer
35+
36+
Check the [IsaacGym Example](example/isaacgym/README.md) for information on running the
37+
Web Visualizer on [IsaacGymEnvs](https://github.com/NVIDIA-Omniverse/IsaacGymEnvs).
38+
39+
![isaac](doc/isaac.gif)
40+
41+
### SAPIEN Web Visualizer
42+
43+
Check the [SAPIEN Example](example/sapien/README.md) for information on running the
44+
Web Visualizer on [ManiSkill2](https://github.com/haosulab/ManiSkill2).
45+
46+
### URDF Web Visualizer
47+
48+
Check the [URDF Example](example/visualize_urdf/README.md) for information to visualize a static URDF file on Web
49+
Visualizer.
50+
51+
## Citing This Repo
52+
53+
This repository is a part of the [AnyTeleop Project](anyteleop.com/). If you use this work, kindly reference it
54+
as:
55+
56+
```shell
57+
@inproceedings{qin2023anyteleop,
58+
title = {AnyTeleop: A General Vision-Based Dexterous Robot Arm-Hand Teleoperation System},
59+
author = {Qin, Yuzhe and Yang, Wei and Huang, Binghao and Van Wyk, Karl and Su, Hao and Wang, Xiaolong and Chao, Yu-Wei and Fox, Dieter},
60+
booktitle = {Robotics: Science and Systems},
61+
year = {2023}
62+
}
63+
```
64+
65+
## Acknowledgments
66+
67+
This repository is developed upon the outstanding [MeshCat](https://github.com/rdeits/meshcat) project. We extend our
68+
appreciation to the developers and custodians of MeshCat.
69+
70+
## License and Disclaimer
71+
72+
Web-Based Visualizer for Simulation Environments is released under the [MIT License](LICENSE).

doc/isaac.gif

1.74 MB
Loading

doc/isaacgymenv/allegro.png

35.2 KB
Loading

doc/isaacgymenv/cabinet.png

58.6 KB
Loading

doc/isaacgymenv/dog.png

180 KB
Loading

0 commit comments

Comments
 (0)