9.2 Road reference line

The basic element of every road in ASAM OpenDRIVE is the road reference line. All geometry elements that describe the road shape and further properties of the road are defined along the road reference line. These properties include lanes and signals.

By definition, the road reference line runs in s-direction, while the lateral deviation of objects from the road reference line runs in t-direction. The direction of the road reference line does not indicate the driving direction.

img
Figure 24. Individual parts of a road

Figure 24 shows the different parts of a road in ASAM OpenDRIVE.

  • The road reference line

  • Individual lanes of a road

  • Features like signals that are placed along the road

Elements in UML model

img
Figure 25. UML class diagram of the RoadGeometry class, including the road reference line elements

Figure 25 shows the UML class diagram of the ASAM OpenDRIVE RoadGeometry class.

<planView> element

In ASAM OpenDRIVE, the plan view is represented by the <planView> element within the <road> element. The <planView> element is a mandatory element in every <road> element.

UML class: t_road_planView
XML tag:   <planView> (Multiplicity: 1)

Contains geometry elements that define the layout of the road reference line in the x/y-plane (plan view).

<geometry> element

In ASAM OpenDRIVE, the geometry of a road reference line is represented by the <geometry> element within the <planView> element.

UML class: t_road_planView_geometry
XML tag:   <geometry> (Multiplicity: 1..*)
Table 18. Attributes of the <geometry> element
Name Type Use Unit Description

hdg

double

required

rad

Start orientation (inertial heading)

length

t_grZero

required

m

Length of the element’s reference line

s

t_grEqZero

required

m

s-coordinate of start position

x

double

required

m

Start position (x inertial)

y

double

required

m

Start position (y inertial)

Rules

The following rules apply to road reference lines:

  • Each road shall have a road reference line.

  • There shall be only one road reference line per road.

  • The road reference line usually runs in the center of the road but may be laterally offset.

  • <geometry> elements shall be defined in ascending order along the road reference line according to the s-coordinate.

  • One <geometry> element shall contain only one element that further specifies the geometry of the road.

  • If two roads are connected without a junction, the road reference line of a new road shall always begin at the <contactPoint> element of its successor or predecessor road. The road reference lines may be directed in opposite directions.

  • A road reference line shall have no leaps.

  • A road reference line should have no kinks.

Related topics