SimReady content with NVIDIA Omniverse
NVIDIA's SimReady specification supports the preparation of 3D content that is purpose-built for simulation to help streamline content creation pipelines for simulating 3D virtual environments for machine learning purposes in robotics and autonomous driving. Through the Omniverse Unreal Engine plugin now integrated into CARLA users can import, in just a few clicks, SimReady content such as vehicles already configured with working lights, doors and wheels and props ready for use instantaneously to decorate CARLA maps. CARLA's Omniverse integration boasts to significantly accelerate your environment building pipeline and opens the door to a whole world of applications in the Omniverse ecosystem.
Note
The Omniverse Unreal Engine Connector is currently only available in Windows.
Follow these steps to start using Omniverse and using SimReady content in CARLA:
Before anything else, you should first install NVIDIA Omniverse
1. Installing the Unreal Engine Omniverse Connector
- Launch the NVIDIA Omniverse Launcher
- Navigate to the Exchange tab
- Locate the Epic Games Unreal Engine 4.26 Omniverse Connector
- Ensure the install version is Release 105.1.578
- Click Install
- Omniverse will not be able to find Unreal Engine, click OK.
- It will prompt you to find your Unreal Engine installation, select this path: {UE4_ROOT}\Engine\Plugins\Marketplace\NVIDIA
- Press Install.
2. Set Up Local Omniverse Server
- Open NVIDIA Omniverse with the launcher
- Navigate to the Nucleus tab
- Click on Create Local Server
- Create administrator details
- Select the folder icon next to Local Nucleus Service, this should open your localhost server in your web browser
3. Connecting to CARLA Simulator
- Launch CARLA using
make launch
from the command line the CARLA root folder - If an existing server is active and you want to restart the setup, click on Clean Local Assets (optional)
- Select the Omniverse icon and click on Add Server
- Name the server and click Add to Content Browser
- A login form should launch in your browser, click Create Account
- Create administrator details
- Omniverse folders should now be visible in your Content/Omniverse folder in the Unreal Engine content browser
- Go to your web browser again
- Click on Connect to a Server
- Authenticate using the server name you set for the CARLA server
- Use the administrator details that you set for the CARLA server
- The server folders should now show up in your browser
4. Importing a SimReady asset
- Navigate to the Projects folder within the browser navigator
- Right click, and select Upload Folder
- Select your SimReady folders
- Upload the files
5. Using the Omniverse Connector to Load the Vehicle to CARLA
- Open the CARLA project in Unreal Engine
- Navigate to
CarlaTools/Content/USDImporter
- Right click on UW_USDVehicleImporterEditorWidget
- Select Run Editor Utility Widget
- Find the Vehicle within your Omniverse browser navigator
- Copy the path (should look something like: omniverse://localhost/Projects/SimReadyUSD.../vehicle.usd)
- Paste it inside the Omiverse URL tab within the Widget
- Select Import Asset
- You should see the vehicle show up in the engine within the folder that you specified in the Import destination field
- Open another map scene (it may have opened a new scene with the imported data) a Save Content prompt should appear. Uncheck the Untitled scene, and click on Save selected to save new content
- The vehicle is now usable within CARLA and will be available through the Python API