Unreal Engine Scenario Simulation
Automated Driving Toolbox™ provides a cosimulation framework for modeling and visualizing driving algorithms in Simulink® in a rich simulation environment. This simulation environment uses the Unreal Engine by Epic Games.
With this simulation environment, you can configure prebuilt scenes, place and move vehicles within the scene, and set up and simulate camera, radar, or lidar sensors on the vehicles. Use this environment to develop, test, and verify the performance of perception, path planning, and control algorithms, including closed-loop algorithms. To learn more, see Unreal Engine Simulation for Automated Driving.
For a tutorial video series on connecting a Simulink vehicle to an Unreal Engine scene, see Using Unreal Engine with Simulink.
Scene and Vehicle Configuration
|Simulation 3D Scene Configuration
|Scene configuration for 3D simulation environment (Since R2019b)
|Simulation 3D Vehicle with Ground Following
|Implement vehicle that follows ground in 3D environment (Since R2019b)
|Simulation 3D Pedestrian
|Implement pedestrian in 3D environment (Since R2022b)
|Simulation 3D Bicyclist
|Implement bicyclist in 3D environment (Since R2022b)
|Cuboid To 3D Simulation
|Convert actor from cuboid coordinates to 3D simulation coordinates (Since R2020a)
|Simulation 3D Camera
|Camera sensor model with lens in 3D simulation environment (Since R2019b)
|Simulation 3D Fisheye Camera
|Fisheye camera sensor model in 3D simulation environment (Since R2019b)
|Simulation 3D Lidar
|Lidar sensor model in 3D simulation environment (Since R2019b)
|Simulation 3D Probabilistic Radar
|Probabilistic radar sensor model in 3D simulation environment (Since R2019b)
|Simulation 3D Probabilistic Radar Configuration
|Configure probabilistic radar signatures in 3D simulation environment (Since R2019b)
|Simulation 3D Ultrasonic Sensor
|Ultrasonic sensor model in 3D simulation environment (Since R2022b)
|Simulation 3D Ultrasonic Array
|Ultrasonic sensor model with tunable acoustic parameters in 3D simulation environment (Since R2023a)
|Simulation 3D Vision Detection Generator
|Detect objects and lanes from measurements in 3D simulation environment (Since R2020b)
Scenes and Vehicle Dimensions
|Straight road 3D environment
|Curved road 3D environment
|Parking lot 3D environment
|Large Parking Lot
|Large parking lot 3D environment
|Open surface 3D environment
|Double Lane Change
|Double lane change 3D environment
|US City Block
|US city block 3D environment
|US highway 3D environment
|Virtual Mcity 3D environment
|Visualize sensor coverages, detections, and tracks
|Access additional scenes from the server (Since R2022b)
|Copy support package files and plugins to specified folders (Since R2022b)
- Unreal Engine Simulation for Automated Driving
Learn how to model driving algorithms in Simulink and visualize their performance in a virtual environment using the Unreal Engine from Epic Games.
- Unreal Engine Simulation Environment Requirements and Limitations
When simulating in the Unreal Engine environment, keep these software requirements, minimum hardware requirements, and limitations in mind.
- How Unreal Engine Simulation for Automated Driving Works
Learn about the co-simulation framework between Simulink and the Unreal Engine and how block execution order affects simulation.
- Coordinate Systems for Unreal Engine Simulation in Automated Driving Toolbox
Understand the world and vehicle coordinate systems when simulating in the Unreal Engine environment.
- Set Up Top-Down Simulink Visualization for Unreal Engine Simulation
Visualize a top-down view of your Unreal Engine simulation in Simulink.
Simulation with Sensors
- Choose a Sensor for Unreal Engine Simulation
Decide which camera, lidar, or radar sensors to use during simulation with the Unreal Engine.
- Simulate Simple Driving Scenario and Sensor in Unreal Engine Environment
Learn the basics of configuring and simulating scenes, vehicles, and sensors in a virtual environment rendered using the Unreal Engine from Epic Games.
- Depth and Semantic Segmentation Visualization Using Unreal Engine Simulation
Visualize depth and semantic segmentation data captured from a camera sensor in the Unreal Engine simulation environment.
- Visualize Sensor Data from Unreal Engine Simulation Environment
Visualize sensor coverage areas and detections obtained from high-fidelity radar and lidar sensors in the Unreal Engine simulation environment.
- Customize Unreal Engine Scenes for Automated Driving
Customize Unreal Engine scenes for automated driving applications.
- Apply Labels to Unreal Scene Elements for Semantic Segmentation and Object Detection
Apply labels to scene objects to obtain semantic segmentation data from camera sensors or detect custom objects from probabilistic sensors.
- Import RoadRunner Scene into Unreal Engine Using Simulink
Import a scene built in RoadRunner into an Unreal Engine simulation in Simulink to generate vision detections and ground-truth semantic segmentation labels for the scene.
- Create Top-Down Static Map of Unreal Engine Scene
Generate a static top-down map of your scene using Unreal Editor.
- Build Light in Unreal Editor
Build and use lighting in the Unreal® Editor.
- Create Empty Project in Unreal Engine
Create empty project to use in custom scenes.
- Place Cameras on Actors in the Unreal Editor
Place the Simulation 3D Camera GetSimulation 3D Camera GetSimulation 3D Camera block on static and custom actors.
- Prepare Custom Vehicle Mesh for the Unreal Editor
Create custom vehicle mesh for the Simulation 3D Vehicle and Simulation 3D Vehicle with Ground Following blocks.