Scene configuration for 3D simulation environment
Automated Driving Toolbox / Simulation 3D
Vehicle Dynamics Blockset / Vehicle Scenarios / Sim3D / Sim3D Core
The Simulation 3D Scene Configuration block implements a 3D simulation environment that is rendered by using the Unreal Engine® from Epic Games®. Automated Driving Toolbox™ integrates the 3D simulation environment with Simulink® so that you can query the world around the vehicle and virtually test perception, control, and planning algorithms.
You can simulate from a set of prebuilt scenes or from your own custom scenes. Scene customization requires the Automated Driving Toolbox Interface for Unreal Engine 4 Projects support package. For more details, see Customize Unreal Engine Scenes for Automated Driving.
Note
The Simulation 3D Scene Configuration block must execute after blocks that send data to the 3D environment and before blocks that receive data from the 3D environment. To verify the execution order of such blocks, right-click the blocks and select Properties. Then, on the General tab, confirm these Priority settings:
For blocks that send data to the 3D environment, such as Simulation 3D
Vehicle with Ground Following blocks, Priority must be
set to -1
. That way, these blocks prepare their data before the
3D environment receives it.
For the Simulation 3D Scene Configuration block in your model,
Priority must be set to 0
.
For blocks that receive data from the 3D environment, such as Simulation 3D Camera blocks, Priority must be set to
1
. That way, the 3D environment can prepare the data before
these blocks receive it.
For more information about execution order, see How Unreal Engine Simulation for Automated Driving Works.
Simulation 3D Camera | Simulation 3D Fisheye Camera | Simulation 3D Lidar | Simulation 3D Probabilistic Radar | Simulation 3D Vehicle with Ground Following | Simulation 3D Vision Detection Generator