Skip to content

478. Euro NCAP AEB/LSS VRU introduction

The Euro NCAP documentation presents the test protocols for Autonomous Emergency Braking (AEB) and Lane Support System (LSS) systems, where the Ego reacts to road users such as persons, cyclists, and motorcyclists.

The Euro NCAP AEB/LSS VRU library components are located in the $FTX_PACKAGES/adas/NCAP/EuroNCAP_AEB_LSS_VRU directory, as shown in Figure 1.

Figure 1: Euro NCAP AEB/LSS VRU 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/LSS VRU 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/LSS VRU 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_LSS_VRU/test_suites/example_test_cases/t_aeb_car_to_cyclist_farside.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_LSS_VRU/test_suites/test_suite_definitions/aeb_car_to_cyclist.csv
         --csv $FTX_PACKAGES/adas/NCAP/EuroNCAP_AEB_LSS_VRU/test_suites/test_suite_definitions/aeb_car_to_cyclist_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>/