osi3::Route::RouteSegment Struct Reference

A segment of a route. More...

Collaboration diagram for osi3::Route::RouteSegment:

Public Attributes

repeated LogicalLaneSegment lane_segment = 1
 Logical lane segments that form a route segment. More...
 

Detailed Description

A segment of a route.

A route segment describes a segment of a traffic agent's route through the logical lanes of the road network.

Each time there is a successor-predecessor relation between the logical lanes along the route (i.e. a logical lane ends, and is continued by another logical lane, e.g. at a junction border), a new RouteSegment starts. The RouteSegment then lists the logical lane segments that can be used to travel through this space of the road.

Together, the listed logical lane segments should form a continuous area, where the traffic agent can move freely. These will mostly be parallel lanes, though lanes may overlap (e.g. if one lane splits into two on a junction). In general, the logical lane segments in a RouteSegment will have the same length, though there are exceptions (e.g. if a lane widening occurs, the newly appearing lane will have a shorter length).

Typically a route segment will be either

  • a set of parallel lanes between two junctions, or
  • parallel lanes on an intersection with the same driving direction

Example

Consider the route segment between two intersections, shown in the image below.

OSI_Route_Segment.png
RouteSegment

In the example, a single route segment RS with three logical lane segments LL1, LL2 and LL3 is shown. The segments are indicated by the green, blue and red highlighted areas, one for each underlying logical lane The starting s-position of each segment is indicated by the yellow dotted line and the s- prefix (note that the start of LL2 lies further to the left, outside of the image), while the ending s-position of all segments is shown by the yellow dotted line e-RS.

As it can be seen in the example, all logical lane segments are parallel, but two of them are opening at a later position, so their starting s-positions will be different.

Member Data Documentation

◆ lane_segment

repeated LogicalLaneSegment osi3::Route::RouteSegment::lane_segment = 1

Logical lane segments that form a route segment.

The logical lane segments of a route segment should be connected without gaps, meaning that, together, the lane segments should form a continuous area.


  • osi_route.proto