Skip to content

OS DSL translation #3

Description

@alessiogambi

Dear all, great job.

The paper mentions that the generated scenarios can be converted to OS DSL (See the quote). However, in the repo I cannot find this functionality. Do you plan to release it in the future?

Many thanks!

Quoted from the paper:

5.3 Use TSL for Test Scenario Generation
The scenarios generated can be described using a scenario description language and simulated as test cases for autonomous vehicles. We use OpenSCENARIO DSL (OSC) as an example. It is a widely accepted industry standard proposed by ASAM for describing abstract scenarios, particularly for autonomous systems testing uses. For the syntax and semantics of OSC, please refer to its document.

A TSL scenario can be easily translated into OSC with the following steps (OSC keywords shown in typewriter font):
1. Create a top-level scenario;
2. Declare all points introduced in Section 4.1 with the
position 3d type;
3. Add a do serial block to the top-level scenario.
Then, for each scene in the TSL scenario, add a corresponding parallel sub-block;
4. In each parallel sub-block, describe the drive()
action of every vehicle in this scene. The OSC provides
the position modifier for the longitudinal position
(relative to another vehicle or point declared in step 2)
and lateral for the lateral position (relative to lane
boundaries).

This translation is straightforward and can be automatized. A complete example is provided in the Technical Appendix.
An OSC file can be further evaluated by a simulator to serve as a test case (Zhang et al. 2021; Bagschik, Menzel, and
Maurer 2018) or used to find possible malfunctions (Wang et al. 2023). 

Specific usages of OSC files are beyond the scope of this paper.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions