Main Content

Scenario Simulation

Author scenes, generate sensor data, test algorithms in simulated environments

Simulation using realistic driving scenarios and sensor models is a crucial part of testing automated driving algorithms. Automated Driving Toolbox™ provides two simulation environments in which to test these algorithms. Both environments have their uses, and one environment is not a replacement for the other.

  • In the cuboid simulation environment, vehicles and other actors in the scenario are represented as simple box shapes, or for lidar applications, as polygon meshes. Use this environment to rapidly author scenarios, generate detections using low-fidelity radar and camera sensors, and test controllers and tracking and sensor fusion algorithms in both MATLAB® and Simulink®. To get started authoring a scenario, use the Driving Scenario Designer app.

    You can also import road networks from the ASAM OpenDRIVE® file format, edit the imported road networks, and build scenarios. Then, you can export driving scenarios to the ASAM OpenDRIVE and ASAM OpenSCENARIO® formats.

  • In the Unreal Engine® simulation environment, scenarios are rendered using the Unreal Engine from Epic Games®. Use this environment to visualize scenarios using more realistic graphics; to generate high-fidelity radar, camera, and lidar sensor data; and to test perception-in-the-loop systems. This environment is available in Simulink and runs on Windows® only. To learn more, see Unreal Engine Simulation for Automated Driving.