This repository contains virtual reality tools for VREP. CoppeliaSim is a robotics simulation software package that is available here: http://www.coppeliarobotics.com/
Currently two tools are available
This repository contains the code to experience CoppeliaSim in VR. It can visualize CoppeliaSim scenes in openvr compatible devices (HTC-VIVE and HTC-VIVE Pro are tested) and return user manipulations to CoppeliaSim. It is also able to visualize the coverage of camera systems (later more).
Installation instructions and a feature overview is now also available in a youtube video: https://www.youtube.com/watch?v=_GXVdgihVgQ An update video of new features in V2 and V2.1 is also available: https://youtu.be/ozam2Ew7RdA
Some Youtube videos showing the interface in action:
The interface has the following capabilities:
This tool renders omnidirectional stereo images for a CoppeliaSim vision sensor. You don't need any physical VR device to use this tool (only to view the result). The theory behind this rendering process is exelently explained here : https://developers.google.com/vr/jump/rendering-ods-content.pdf.
Some videos produced with this tool:
To use this tool, import the VR360_cam.ttm model in your CoppeliaSim scene. Next launch VR360_cam.exe (maybe as administrator, a file is saved in the location of the .exe file, this action could require administrator privileges). This process is demonstrated at the end of this video https://youtu.be/ozam2Ew7RdA.
Note that the HTC_VIVE.ttm model must be in the CoppeliaSim scene to do this (you don't need a VIVE for this to work).
Currently the performance is quite decent 1 image in a complex scene renders in approximately 15 seconds (requires 16.384 individual renders, approx 1100 fps).
If you make a video by composing multiple images, do not forget to inject the correct metadata https://github.com/google/spatial-media/releases for it to be interpreted correctly.
Installation instructions are now also available on youtube: https://www.youtube.com/watch?v=_GXVdgihVgQ
This repository can be installed by an installer package available under the release tab in this repository.
After running the installer the user needs to run the bat file (copyToVREP.bat) as administrator. This bat file can be found in the installation directory of the interface typically (C:\Program Files (x86)\CoppeliaSim VR interface). IMPORTANT if CoppeliaSim is not installed in the default (my default at least) location (C:\Program Files\CoppeliaSim3\CoppeliaSim_PRO_EDU), than the correct folder should be identified in the bat file. The bat file can be changed by opening it in your favorite text editor (be very precise in the way you specify the folder, no spaces etc).
The bat file will copy following files to your CoppeliaSim installation folder:
The basic principle of the interface is simple. Activate steam and make shure the device is running and recognized. And run the CoppeliaSim VR Interface.exe program. If the user starts a simulation in CoppeliaSim (if the scene contains the HTC-VIVE.ttm object) the interface will read all geometry and start the visualization. If the user stops the simulation, the interface will stop the visualization and wait for the next simulation start (can ba a different scene, doesn't matter).
More specific instructions are provided in demo scenes. The logical order of which are
The interface contains the implementation of the paper "Interactive Camera Network Design using a Virtual Reality Interface" available at https://arxiv.org/abs/1809.07593 (yt:https://www.youtube.com/watch?v=Dsh8oyN4sD0&t=2s)
The controls and usage are already explained in example Hello_camera_coverage.ttt.
Two scenes used in the paper are also provided:
Please cite this paper if the interface is used in a relevant context (camera placement/coverage visualization)
@article{bogaerts2019interactive, title={Interactive Camera Network Design Using a Virtual Reality Interface}, author={Bogaerts, Boris and Sels, Seppe and Vanlanduit, Steve and Penne, Rudi}, journal={Sensors}, volume={19}, number={5}, pages={1003}, year={2019}, publisher={Multidisciplinary Digital Publishing Institute} }
The interface also contains the implementation of the paper "Enabling Humans to Plan Inspection Paths Using a Virtual Reality Interface" available at https://arxiv.org/abs/1909.06077
The usage is the same as in the demo scene: Hello_camera_coverage.ttt. To visualize the quality on a mesh, just make the mesh a child of the Field model.
Additional signals:
Please cite this paper if the interface is used in a relevant context (Robotic inspection planning)
@article{bogaerts2019enabling, title={Enabling Humans to Plan Inspection Paths Using a Virtual Reality Interface}, author={Bogaerts, Boris and Sels, Seppe and Vanlanduit, Steve and Penne, Rudi}, journal={arXiv preprint arXiv:1909.06077}, year={2019} }