Class LongitudinalDistanceAction
- Applied Stereotypes:
-
XSDcomplexType
- Implements Interfaces:
-
MotionControlAction
This action activates a controller for the longitudinal behavior of an entity in a way that a given distance or time gap to the reference entity is maintained.
The target position may be either on the same road segment where the reference entity is positioned or on a connecting road. In the latter case for coordinate systems lane and road, the distance or time gap is calculated along the road reference line / lane centerline of the connecting road. It is assumed that the reference line of the road / lane centerline of the reference entity continues seamlessly on the connecting road (even if its shape changes). It is assumed that the target position relates to the routing of the reference entity. Otherwise, the calculation of the target position cannot be interpreted within the OpenSCENARIO standard.
- Used in:
-
LongitudinalAction
Properties |
|
Name |
Type |
Cardinality |
AppliedStereotypes |
Description |
|
continuous |
boolean |
1..1 |
XSDattribute
|
If false, the action ends when the target distance is reached. If true it does not end and can only be stopped. |
|
coordinateSystem |
CoordinateSystem |
0..1 |
XSDattribute
|
Definition of the coordinate system to be used for calculations. If not provided the value is interpreted as "entity". If "entity", the coordinate system is interpreted as the actor's local coordinate system. |
|
displacement |
LongitudinalDisplacement |
0..1 |
XSDattribute
|
The displacement in which the distance or time gap applies. Where omitted, 'trailingReferencedEntity' is assumed. |
|
distance |
double |
0..1 |
XSDattribute
|
Distance value, not to be used together with timeGap attribute. Unit: [m]. Range: [0..inf[. |
|
entityRef |
Entity |
1..1 |
nameRef,
XSDattribute
|
Reference entity the distance shall be kept to. |
|
freespace |
boolean |
1..1 |
XSDattribute
|
True: Distance is measured using the distance between closest bounding box points False: Reference point distance is used. |
|
timeGap |
double |
0..1 |
XSDattribute
|
Time gap value, not to be used together with distance attribute. Unit: [s]. Range: [0..inf[. |
|
dynamicConstraints |
DynamicConstraints |
0..1 |
XSDelement
|
Parameter that assigns either unlimited dynamics (if ommitted) or limited maxAcceleration/maxDeceleration/maxSpeed to the action. |
|
XSD 1.3 Representation |
<xsd:complexType name="LongitudinalDistanceAction">
<xsd:all>
<xsd:element name="DynamicConstraints" type="DynamicConstraints" minOccurs="0"/>
</xsd:all>
<xsd:attribute name="entityRef" type="String" use="required"/>
<xsd:attribute name="continuous" type="Boolean" use="required"/>
<xsd:attribute name="distance" type="Double"/>
<xsd:attribute name="freespace" type="Boolean" use="required"/>
<xsd:attribute name="timeGap" type="Double"/>
<xsd:attribute name="displacement" type="LongitudinalDisplacement"/>
<xsd:attribute name="coordinateSystem" type="CoordinateSystem"/>
</xsd:complexType>
|
|
Stereotype Details Information |
- Class
- XSDcomplexType [modelGroup: "all"; mixed: "false"]
- Property continuous
- Property coordinateSystem
- Property displacement
- Property distance
- Property entityRef
- nameRef [xsdType: "string"]
- Property freespace
- Property timeGap
- Property dynamicConstraints
- XSDelement [position: "2"]
|
To XSD