Skip to content

399. ACC traffic introduction

The Adaptive Cruise Control (ACC) traffic library components are located in $FTX_PACKAGES/adas/acc/scenarios/traffic as shown in Figure 1.

Figure 1: ACC traffic 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 ACC traffic 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 ACC traffic scenarios
scenarios A directory containing the OSC2 source files for each scenario
vplan A machine-readable verification plan (VPlan) that facilitates analysis by organizing metrics and run data into a hierarchical framework

399.1 Running a regression

To run a set of tests with FRun:

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

    For example:

    frun --csv $FTX_PACKAGES/adas/acc/test_suites/test_suite_definitions/traffic/acc_ego_approach_congestion.csv 
     --csv $FTX_PACKAGES/adas/acc/test_suites/test_suite_definitions/traffic/acc_ego_approach_congestion_main.csv
     --csv $FTX_PACKAGES/common/csv/sim_manually_driven_kinematic_config.csv
     --csv $FTX_PACKAGES/common/csv/new_map_config.csv
     --batch
    

  2. Review the regression results in the default work directory.

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