This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Driving Scenario Generation and Sensor Models

Test automated driving algorithms using authored scenarios and synthetic detections from radar and camera sensor models

Developing automated driving systems requires sensor data from realistic traffic scenarios. By generating synthetic sensor detections from simulated driving scenarios, you can quickly test your controllers or sensor fusion algorithms and adjust the scenario. To get started, use the Driving Scenario Designer app to build a scenario or load a prebuilt scenario. Then, generate detections from your statistical radar and camera models, and analyze the output in MATLAB® or Simulink®.

Apps

Driving Scenario DesignerDesign driving scenarios, configure sensors, and generate synthetic object detections

Functions

expand all

Scenarios

drivingScenarioCreate driving scenario
advanceAdvance driving scenario simulation by one time step
plotCreate driving scenario plot
recordRun driving scenario and record actor states
restartRestart driving scenario simulation from beginning
updatePlotsUpdate driving scenario plots

Actors

actorAdd actor to driving scenario
actorPosesPositions, velocities, and orientations of actors in driving scenario
actorProfilesPhysical and radar characteristics of actors in driving scenario
vehicleAdd vehicle to driving scenario
chasePlotEgo-centric projective perspective plot
trajectoryCreate actor or vehicle trajectory in driving scenario
targetPosesTarget positions and orientations relative to ego vehicle
targetOutlinesOutlines of targets viewed by actor
driving.scenario.targetsToEgoConvert actor poses to ego vehicle coordinates

Roads

roadAdd road to driving scenario
roadNetworkAdd road network to driving scenario
roadBoundariesGet road boundaries
driving.scenario.roadBoundariesToEgoConvert road boundaries to ego vehicle coordinates

Lanes

currentLaneGet current lane of actor
lanespecCreate road lane specifications
laneMarkingCreate road lane marking object
laneMarkingVerticesLane marking vertices and faces in driving scenario
laneBoundariesGet lane boundaries of actor lane
clothoidLaneBoundaryClothoid-shaped lane boundary model
computeBoundaryModelCompute lane boundary points from clothoid lane boundary model
radarDetectionGeneratorGenerate radar detections for driving scenario
visionDetectionGeneratorGenerate vision detections for driving scenario

Blocks

Scenario ReaderRead driving scenario into model
Radar Detection GeneratorCreate detection objects from radar measurements
Vision Detection GeneratorDetect objects and lanes from visual measurements
Detection ConcatenationCombine detection reports from different sensors

Simulink Visualization Tool

Bird's-Eye ScopeVisualize sensor coverages, detections, and tracks

Topics

Interactive Scenario Generation

Build a Driving Scenario and Generate Synthetic Detections

Use the Driving Scenario Designer app to build a driving scenario and generate vision and radar sensor detections from it.

Generate Synthetic Detections from a Prebuilt Driving Scenario

Generate vision and radar sensor detections from a prebuilt driving scenario by using the Driving Scenario Designer app.

Generate Synthetic Detections from a Euro NCAP Scenario

Generate sensor detections from a Euro NCAP® driving scenario by using the Driving Scenario Designer app.

Add OpenDRIVE Roads to Driving Scenario

Import an OpenDRIVE® road network into the Driving Scenario Designer app

Programmatic Scenario Generation

Driving Scenario Tutorial

Generate ground truth for synthetic sensor data and tracking algorithms using Automated Driving Toolbox™ functions.

Create Actor and Vehicle Trajectories

Create actor and vehicle trajectories for a driving scenario using Automated Driving Toolbox functions.

Define Road Layouts

Create a variety of road junctions using Automated Driving Toolbox functions.

Algorithm Testing with Scenarios

Test Open-Loop ADAS Algorithm Using Driving Scenario

Test open-loop ADAS algorithms in Simulink by using driving scenarios saved from the Driving Scenario Designer app.

Test Closed-Loop ADAS Algorithm Using Driving Scenario

Test closed-loop ADAS algorithms in Simulink by using driving scenarios saved from the Driving Scenario Designer app.

Related Information

Featured Examples