Get Started
Installation
Follow the steps below to configure and run example scenes through the release version
Create a new conda environment and install pyrfuniverse
conda create -n rfuniverse python=3.10 -y conda activate rfuniverse pip install pyrfuniverse
Download the RFUniverse simulation environment
Option one: Use the pyrfuniverse command line entry
pyrfuniverse download
By default, it downloads the latest available version to
~/rfuniverse
, you can add the optional argument-s
to change the download path,-v
to change the download version
Option two: Download from Github Release: RFUniverse Releases
After downloading and unzipping, run the program once, and you can close it after entering the scene:
Linux:
RFUniverse_For_Linux/RFUniverse.x86_64
Windows:
RFUniverse_For_Windows/RFUniverse.exe
Install the test package pyrfuniverse-test and run the example script
pip install pyrfuniverse-test pyrfuniverse-test test_pick_and_place
More examples can be viewed with
pyrfuniverse-test -h
Additional operations that may be required on Linux systems:
If an error occurs during runtime, please check this document to supplement dependencies
Test Directory
Script Name |
Function Introduction |
---|---|
Infrared Depth |
|
Native IK |
|
Camera Screenshot Example |
|
Custom Messages and Dynamic Messages |
|
Loop Display of Various Debug Modules |
|
Interactive Digit Sensor Simulation |
|
Franka Grasp Point Preview |
|
Franka Grasping Test |
|
Interactive Heatmap |
|
Human Body IK Interface |
|
Scene Labeling 2DBBOX |
|
Lighting Parameter Settings |
|
Importing OBJ Model as Rigid Body |
|
Importing URDF File |
|
Object Basic Data |
|
Basic Interface and Grasping Driven by Native IK |
|
Obtaining Depth Image and Converting to Point Cloud Using Image Width, Height, and FOV |
|
Importing and Displaying .PLY Point Cloud File |
|
Obtaining Depth Image and Converting to Point Cloud Using Camera Intrinsic Matrix |
|
Saving Gripper as OBJ Model |
|
Saving Multiple Objects in the Scene as OBJ Models |
|
Scene Building/Saving/Loading |
|
Tobor Wheel Drive Movement |
|
Joint Target Position Setting Panel |
|
Robotic Arm Obstacle Avoidance Planning |
Enter Edit mode
Launch RFUniverse with the <-edit> parameter to enter Edit mode:
Linux:
RFUniverse.x86_64 -edit
Windows:
RFUniverse.exe -edit