OpenSCENARIO DSL
General
This tool supports a subset of the OpenSCENARIO DSL standard.
The official documentation is available here.
The standard library of OSC2 was adapted to be usable by the current parsing support of scenario execution.
Mapping to py-trees
OpenScenario2 |
py-trees |
Comment |
---|---|---|
|
|
Actions are derived from |
|
blackboard entry and |
|
|
|
|
|
blackboard entry |
Variables are stored within the blackboard |
Supported features
In the following the OpenSCENARIO DSL keywords are listed with their current support status.
Element Tag |
Support |
Notes |
---|---|---|
|
✅ |
partially, see details below |
|
✅ |
partially, see details below |
|
❌ |
|
|
✅ |
|
|
❌ |
|
|
❌ |
|
|
✅ |
only |
|
❌ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
❌ |
|
|
✅ |
|
|
❌ |
|
|
❌ |
|
|
❌ |
|
|
✅ |
|
|
✅ |
|
|
❌ |
|
|
❌ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
❌ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
❌ |
|
|
✅ |
|
|
❌ |
|
|
✅ |
|
|
❌ |
|
|
❌ |
|
|
❌ |
|
|
❌ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
❌ |
|
|
✅ |
|
|
❌ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
Composition Types
Composition types are struct
, actor
, action
, scenario
.
Element Type |
Support |
Notes |
---|---|---|
Event |
✅ |
|
Field |
✅ |
|
Constraint |
✅ |
partially |
Method |
✅ |
|
Coverage |
❌ |
|
Modifier |
✅ |
partially (only predefined) |