Automated Driving Toolbox Test Suite for Euro NCAP Protocols

Automatically generate seed scenarios for the Euro NCAP test protocols and generate scenario variants.
Updated 14 May 2024
The Automated Driving Toolbox™ Test Suite for Euro NCAP® Protocols support package enables you to automatically generate specifications for various Euro NCAP® tests, which include safety assessments of automated driving applications such as Safety Assist Tests and Vulnerable Road User (VRU) Protection Tests. You can a create seed scenario for a Euro NCAP test, and vary scene parameters, actor parameters, and simulator parameters to generate variants of it. Use these scenario variations for safety assessment of different automated driving applications, such as autonomous emergency braking (AEB) car-to-car and AEB car-to-pedestrian scenarios.
  • Generate scenarios and its variants based on Euro NCAP specificaitons.
  • Simulate scenarios with test bench and analyze performance.
  • Perform iterative testing and generate report with Euro NCAP specific metrics.
  • Visualize the generated variants, or export the generated variants to the ASAM OpenSCENARIO® file format.
  • Shipping examples that demonstrates Euro NCAP workflows.
Workflow for Euro NCAP Testing
Generate Euro NCAP Test Specifications
To generate scenario variants, you must first create a seed scenario. You can generate a seed scenario descriptor for a Euro NCAP test by using the ncapScenario function. To generate seed and variant scenario specifications for a Euro NCAP test, use the ncapSpec function. For a list of supported Euro NCAP tests, see Euro NCAP Test Information. You can also generate a seed scenario descriptor from tabular data containing scene, actor, and event specifications by using the table2scenario function.
Generate Scenario Variants
You can use the parameters extracted from the seed scenario and the specified variation properties to generate scenario variants. Use the generateVariants function to modify the actor and collision parameters of the seed scenario with the variant values. The generateVariants function returns ScenarioDescriptor object variants that contain the modified parameters.
The generateVariants function automatically computes the required constraints to generate the ScenarioDescriptor object variants. After generating the ScenarioDescriptor object variants, obtain the scenario variants by using the getScenario function.
Run Euro NCAP Test Bench
Test bench helps you to configure and simulate an autonomous system designed in Simulink with RoadRunner Scenario using a scenario defined as per Euro NCAP testing protocols. This test bench is compatible with Euro NCAP Safety Assist Test AEB Car-to-Car RoadRunner scenarios.
Test Management and Report Metrics
Using Test Manager, you can specify multiple tests, run the tests for all the variants and get status for each test.
You can also get a consolidated Euro NCAP report for each specified test along with metrics.
If you have download or installation problems, please contact Technical Support.
To generate variant scenarios, you can create a seed scenario using a drivingScenario object or by using RoadRunner. For more information, see Create Driving Scenario Programmatically for drivingScenario object or RoadRunner Scenario documentation for the creation of RoadRunner Scenario.
MATLAB Release Compatibility
Created with R2022b
Compatible with R2022b to R2024a
Platform Compatibility
Windows macOS (Apple silicon) macOS (Intel) Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!