Class Orientation

Applied Stereotypes:
XSDcomplexType

Orientation is defined in terms of the Heading/Pitch/Roll orientation angles in the Cartesian coordinate system and considered in the absolute or relative reference context.
The absolute reference context refers to the orientation with respect to the World coordinate system.
If more than one orientation angle are specified at the same time, rotations are applied in the order: about Z-axis (Heading), then Y-axis (Pitch), then X-axis (Roll), assumed the positive rotation to be counter-clockwise. Heading=Pitch=Roll=0 means the orientation is aligned with coordinate axes (no rotation).
The relative reference context refers to the orientation with respect to a reference coordinate system. In the case of referencing to the road- or lane coordinate system, Pitch and Roll angles are determined by a surface tilt of an underlying road and therefore cannot be meaningfully interpreted within the OpenSCENARIO standard. As well, the Heading=0 means the Heading is aligned with the direction of the reference lane or road s-axis. In other cases, Heading=Pitch=Roll=0 means the orientation is identical to the reference orientation.

Used in:
GeoPosition , LanePosition , RelativeLanePosition , RelativeObjectPosition , RelativeRoadPosition , RelativeWorldPosition , RoadPosition , RoutePosition , TrajectoryPosition
Properties
  Name Type Cardinality AppliedStereotypes Description
  h double 0..1 XSDattribute Heading angle. Missing h value is interpreted as 0. Unit: [rad].
  p double 0..1 XSDattribute Pitch angle. Missing p value is interpreted as 0. Unit: [rad].
  r double 0..1 XSDattribute Roll angle. Missing r value is interpreted as 0. Unit: [rad].
  type ReferenceContext 0..1 XSDattribute Relative or absolute definition. Missing type value is interpreted as relative.
XSD 1.3 Representation


<xsd:complexType name="Orientation">
<xsd:attribute name="h" type="Double"/>
<xsd:attribute name="p" type="Double"/>
<xsd:attribute name="r" type="Double"/>
<xsd:attribute name="type" type="ReferenceContext"/>
</xsd:complexType>

Change log from version 1.2
  • Property 'type'. Annotation changed.
    • New Value
      Relative or absolute definition. Missing type value is interpreted as relative.
      From 1.2.0
      Relative or absolute definition. Missing type value is interpreted as absolute.
Stereotype Details Information
  • Class
    • XSDcomplexType [modelGroup: "sequence"; mixed: "false"]
  • Property h
    • XSDattribute
  • Property p
    • XSDattribute
  • Property r
    • XSDattribute
  • Property type
    • XSDattribute

To XSD