@@ -53,6 +53,13 @@ message Route
53
53
//
54
54
// \brief A segment of a logical lane.
55
55
//
56
+ // \note The #LogicalLaneSegment allows that #start_s > #end_s.
57
+ // If #start_s < #end_s, then the traffic agent should traverse the
58
+ // segment in the logical lane's reference line definition direction.
59
+ // If #end_s > #start_s, then the traffic agent should traverse the
60
+ // segment in the opposite of the logical lane's reference line
61
+ // definition direction.
62
+ //
56
63
message LogicalLaneSegment
57
64
{
58
65
// The ID of the logical lane this segment belongs to.
@@ -76,15 +83,23 @@ message Route
76
83
// \brief A segment of a route.
77
84
//
78
85
// A route segment describes a segment of a traffic agent's route through the
79
- // road network. The route segment is composed of a list of logical lanes
80
- // segments that indicate the agent which logical lanes it should use in a
81
- // given interval, so that it will eventually reach its destination.
82
- // In general, only lanes should be listed that are parallel to each
83
- // other, though some may have different lengths (e.g. if a lane widening
86
+ // logical lanes of the road network.
87
+ //
88
+ // Each time there is a successor-predecessor relation between the logical
89
+ // lanes along the route (i.e. a logical lane ends, and is continued by another
90
+ // logical lane, e.g. at a junction border), a new #RouteSegment starts. The
91
+ // #RouteSegment then lists the logical lane segments that can be used to
92
+ // travel through this space of the road.
93
+ //
94
+ // Together, the listed logical lane segments should form a continuous area,
95
+ // where the traffic agent can move freely. These will mostly be parallel
96
+ // lanes, though lanes may overlap (e.g. if one lane splits into two on a
97
+ // junction). In general, the logical lane segments in a #RouteSegment will
98
+ // have the same length, though there are exceptions (e.g. if a lane widening
84
99
// occurs, the newly appearing lane will have a shorter length).
85
100
//
86
101
// Typically a route segment will be either
87
- // - a set of lanes between two junctions, or
102
+ // - a set of parallel lanes between two junctions, or
88
103
// - parallel lanes on an intersection with the same driving direction
89
104
//
90
105
// ## Example
@@ -113,7 +128,7 @@ message Route
113
128
//
114
129
// The logical lane segments of a route segment should be connected without
115
130
// gaps, meaning that, together, the lane segments should form a
116
- // continous area.
131
+ // continuous area.
117
132
//
118
133
repeated LogicalLaneSegment lane_segment = 1 ;
119
134
0 commit comments