Skip to content

Support for ALKS Test Scenarios using OpenSCENARIO 1.1 #4899

Open
@jdsika

Description

@jdsika

Dear team,

at BMW we have published an interpretation and implementation of the ALKS Regulation No. 157 using the ASAM OpenX. It is a community effort for a common understanding of the necessary test scenarios to be conducted and the requirements arsing from the continously developing law towards a scenario language. We are aming to showcase the usage of these test sceanrios with all available open source simulators and are most succesfull using the tools esmini from Volvo and OpenPass from BMW.

The goal is to tackle some of the questions below which in our experience are often a problem in collaborations:

  • What are the right scenarios?
  • Do we have the same understanding of the underlying standard?
  • Do the involved tools support the used feature set of the standard?
  • What general quality measures have been taken?
  • How are quality and requirements connected to the use case?

With the attached instruction we provide in the README we can execute a subset of the sceanrios but also only using the OpenSCENARIO version 1.0. This excludes e.g. constraints and parameter variations which are quite important. It would be great if you would consider adding the support for these scenarios in CARLA and maybe add them to your CI build pipeline as emsini has showcased already. Please also have a note about the open PR mentioned below which never made it into the master. Controller activation maybe an interseting toipic as well.

I would be happy to work together on this topic with my colleagues and assist you if you need anything.

Best regards
Carlo van Driesten


The execution in the open source simulator "CARLA" under Ubuntu 20.04 is described here:

  1. Clone or download this repository to your local drive.
  2. Download CARLA and the compatible scenario-runner for CARLA (tested successfully with CARLA 0.9.11 and scenario_runner-0.9.11
  3. Follow the installation instructions for CARLA and the scenario_runner (be sure to install all the required tools and libs from requirements.txt (mentioned in "Installation summary" and to set the environment variables (mentioned in "B. Download ScenarioRunner from source"))
  4. Once you can run the .xosc scenarios delivered with CARLA, run the ALKS scenarios like this:
    a) Start the CARLA simulator: Go to the CARLA installation folder and type "./CarlaUE4.sh"
    b) Start the scenario runner: Go to the scenario_runner installation folder and type e.g. "python scenario_runner.py --openscenario /path/to/OSC-ALKS-scenarios/Scenarios/ALKS_Scenario_4.1_1_FreeDriving_TEMPLATE.xosc"

Note: For execution with CARLA please use the release v0.3.2 with scenarios in OpenSCENARIO 1.0 format.

Execution with esmini or openPASS on Linux hasn't been tested yet.

Notes regarding CARLA

With CARLA version 0.9.11 the following scenarios are supported: 4.1_1, 4.2_1, 4.2_2, 4.2_4.

Note: 4.2_X scenarios do only work if the pedestrian is modeled directly in the scenario and not in a catalog or is exchanged by a vehicle. Please refer to the bug fix in this PR

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions