Cuboid Driving Scenario Simulation

Test automated driving algorithms using authored cuboid-based 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 simple cuboid (box shaped) scenarios and statistical radar and camera sensor models. Then, you can:

  • Generate synthetic sensor detections and analyze the output.

  • Export the scenario code to MATLAB® and generate scenario variations programmatically.

  • Export the scenario and sensors to Simulink® and use them to test your driving algorithms.

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
laneTypeCreate road lane type object
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 Authoring

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.

Prebuilt Driving Scenarios in Driving Scenario Designer

Test driving algorithms on prebuilt driving scenarios in the Driving Scenario Designer app. These scenarios include common intersection, turn, and U-turn traffic patterns.

Euro NCAP Driving Scenarios in Driving Scenario Designer

Test driving algorithms on prebuilt Euro NCAP® driving scenarios in the Driving Scenario Designer app.

Import OpenDRIVE Roads into Driving Scenario

Import roads and lanes from an OpenDRIVE® road network into the Driving Scenario Designer app or a drivingScenario object.

Programmatic Scenario Authoring

Create Driving Scenario Variations Programmatically

Programmatically create variations of a driving scenario that was built using the Driving Scenario Designer app.

Driving Scenario Tutorial

Programmatically create ground truth driving scenarios for synthetic sensor data and tracking algorithms.

Create Actor and Vehicle Trajectories

Create actor and vehicle trajectories for a driving scenario programmatically.

Define Road Layouts

Create road junctions programmatically and combine these junctions to create more complicated road networks.

Scenarios in Simulink

Generate Sensor Detection Blocks Using Driving Scenario Designer

Generate Simulink blocks for a driving scenario and sensors that were built using the Driving Scenario Designer app.

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.

Visualize Sensor Data and Tracks in Bird's-Eye Scope

Visualize sensor coverages, detections, and tracks in a Simulink model.

Related Information

Featured Examples