Skip to content

471. Euro NCAP AEB car to car introduction

The Euro New Car Assessment Programme (NCAP) documentation presents the test protocols for Autonomous Emergency Braking (AEB) where the Ego reacts to the Global Vehicle Target (GVT) effectively in different test cases.

The Euro NCAP AEB car to car library components are located in the $FTX_PACKAGES/adas/NCAP/EuroNCAP_AEB_C2C directory, as shown in Figure 1.

Figure 1: Euro NCAP AEB car to car directory structure
Directory/File Description
test_suites A directory that contains the following folders to execute multiple tests:
  • The test_suite_definitions folder contains the CSV files for executing Euro NCAP AEB car to car tests with FRun
  • The templates folder is used to generate tests to be executed with FRun
  • The example_test_cases folder contains test cases to run the Euro NCAP AEB car to car scenarios
scenarios A directory containing the OSC2 source files for each scenario

To run a single test with Foretify and a specific simulator:

  1. Invoke Foretify with a test file from the example_test_cases directory.

    For example:

    $ foretify --load $FTX/packages/adas/NCAP/EuroNCAP_AEB_C2C/test_suites/example_test_cases/t_aeb_car_to_car_rear_braking.osc 
               --load $FTX/packages/adas/NCAP/common/ncap_config/aeb_sumo_config.osc 
               --run
    
    2. Enter quit at the "Foretify>" prompt, after the completion of run.

To run a test suite with FRun:

  1. Invoke FRun in batch mode with all the required CSV files for the set of tests that you chose.

    For example:

    frun --csv $FTX_PACKAGES/adas/NCAP/EuroNCAP_AEB_C2C/test_suites/test_suite_definitions/aeb_car_to_car_rear_braking.csv
         --csv $FTX_PACKAGES/adas/NCAP/EuroNCAP_AEB_C2C/test_suites/test_suite_definitions/aeb_car_to_car_rear_braking_main.csv
         --csv $FTX_PACKAGES/common/csv/sumo_manually_driven_dynamic_ADAS_config.csv
         --csv $FTX_PACKAGES/common/csv/carla_manually_driven_dynamic_ADAS_config.csv
         --batch
    
    2. Review the regression results in the default work directory:

    ~/foretify/sessions/<timestamp>/<timestamp>/