Follow the steps below to configure and run the sample scene through the published version:
Download the RFUniverse Releases and unzip it:
Run the program once, enter the scene and then close it:
Clone the pyrfuniverse, switch to the Tag with the same version number as the RFUniverse Release (e.g. v0.9.10):
git clone https://github.com/mvig-robotflow/pyrfuniverse.git cd pyrfuniverse git checkout v0.9.10
Create a conda environment and activate it, install the ‘pyrfuniverse’ package with the same version number as the RFUniverse Release (e.g. v0.9.10):
conda create -n rfuniverse python=3.8 -y conda activate rfuniverse pip install pyrfuniverse==0.9.10
Run any Python script under ‘pyrfuniverse/Test’ (some scripts may require installation of large packages such as ‘pybullet’, ‘open3d’, etc.):
cd Test python test_pick_and_place.py
Enter Edit mode
For users who are not familiar with Unity Editor, we also develop a GUI executable file where users can edit their own scenes and save to a JSON file. The JSON file can be loaded when instanciating RFUniverse environment.
Launch RFUniverse with the <-edit> parameter to enter Edit mode:
For loading JSON file during runtime, please see this code segment for detail.