Skip to content

Support for OSC Features Using Road Concept or Road Reference Line

In some cases, we need to support certain OpenSCENARIO (OSC) features that rely on the road concept or road reference line. For example, "ds" in RelativeLanePosition / RelativeRoadPosition and "road" in CoordinateSystem.

Since GtGen does not directly manage "roads," a possible solution is to use logical lanes, which contain information about the road's reference line.

Additionally, to support the feature might requires modifying the interface in i_lane_location_query_service.h to introduce new methods, such as:

  • FindRelativePoseAtRoadRefLineOffsetFrom
  • GetLongitudinalRoadDistanceBetweenPositions

However, I am unsure whether it is appropriate to introduce an interface related to "road" within a lane location query service. I’d like to discuss whether this approach makes sense or if there’s a better alternative. Thanks!