8.1 Introduction to coordinate systems

ASAM OpenDRIVE uses three types of coordinate systems:

  • The inertial x/y/z coordinate system

  • The road reference line s/t/h coordinate system

  • The local u/v/z coordinate system

img
Figure 7. Available coordinate systems in ASAM OpenDRIVE

Figure 7 shows the three coordinate systems.

These coordinate systems may interact with each other, if present.

img
Figure 8. Coordinate systems in ASAM OpenDRIVE interacting with another

Figure 8 shows how the three coordinate systems interact with each other and with respect to the road reference line. If not indicated otherwise, the local coordinate system is located and oriented relative to the road reference line coordinate system. The road reference line coordinate system is located and oriented relative to the inertial coordinate system by specifying the origin, as well as the heading, roll, and pitch rotation angles of the origins with respect to each other.

img
Figure 9. Summary of coordinate system in ASAM OpenDRIVE

Figure 9 shows an example for positioning and orientation of the different coordinate systems relative to each other from another perspective.

Note that the local u/v/z coordinate system’s origin is located at the elevation at this position.

image
Figure 10. Reference-line-based s/t-coordinate system with origin at the beginning of the road

Figure 10 shows the road-based coordinate system that consists of two coordinate axes associated with the reference line of the corresponding road (s-axis) and the direction orthogonal to it (t-axis) and pointing leftwards.