Skip to main content

Web based visualizer for simulators

Project description

Web-Based Visualizer for Simulation Environments

IsaacGym Simulator
SAPIEN Simulator
Static URDF File

This repository hosts a browser-based 3D viewer for physical simulators. It offers users the ability to observe simulations directly within their web browser, as an alternative to the default visualizer that comes with the simulator.

The main feature of this repo is that you only need to modify a server lines of your code to port the visualization on the default simulator viewer to the web visualizer. This feature is especially useful for visualizing simulation on a headless server. For example, train and visualize the IsaacGym tasks inside jupyter notebook on a remote server.

Installation

First install ZeroMQ libraries on your system:

apt install libzmq3-dev # For ubuntu
brew install zmq # For Mac

Note: this visualizer does not have a Python version requirement but IsaacGym requires Python 3.6, 3.7, or 3.8

git clone https://github.com/NVlabs/sim-web-visualizer
cd sim-web-visualizer && git submodule update --init --recursive
pip install -e .

Examples

IsaacGym Web Visualizer

Check the IsaacGym Example for information on running the Web Visualizer on IsaacGymEnvs.

isaac

SAPIEN Web Visualizer

Check the SAPIEN Example for information on running the Web Visualizer on ManiSkill2.

sapien

URDF Web Visualizer

Check the URDF Example for information to visualize a static URDF file on Web Visualizer.

Troubleshooting

Can "Upgrade" only to "WebSocket"

This issue may arise if you have entered an incorrect URL into your browser. Ensure that the URL is in the format http://YOUR_IP_ADDRESS:YOUR_PORT_NUM/static/. The /static/ part of the URL is essential and should not be omitted.

404: Not Found

Similar to the previous issue, the correct URL suffix should be /static/, and not /static. The trailing / is mandatory and should not be omitted.

Citing This Repo

This repository is a part of the AnyTeleop Project. If you use this work, kindly reference it as:

@inproceedings{qin2023anyteleop,
  title     = {AnyTeleop: A General Vision-Based Dexterous Robot Arm-Hand Teleoperation System},
  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},
  booktitle = {Robotics: Science and Systems},
  year      = {2023}
}

Acknowledgments

This repository is developed upon MeshCat. The URDF loader is adapted from yourdfpy. We extend our appreciation to the developers and custodians of these open sources projects.

License and Disclaimer

Web-Based Visualizer for Simulation Environments is released under the MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

sim_web_visualizer-0.5.0-py3-none-any.whl (47.0 kB view details)

Uploaded Python 3

File details

Details for the file sim_web_visualizer-0.5.0-py3-none-any.whl.

File metadata

File hashes

Hashes for sim_web_visualizer-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7d7228bdc92eb64b118acc132bf146670e190b944ddb7bfec07339cf6bedd634
MD5 3d037b5828c1ee5827f1a487ed8cd0a9
BLAKE2b-256 230ebc42f55454422f9cc70cd41878cbd441fdbc8d758dc1b1ed9700e5794770

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page