Skip to content

Commit 471410d

Browse files
clemenshabedankpmai
authored andcommitted
Add lane sub-types to represent OpenDRIVE lane type information
This is an interim solution for lane type information from OpenDRIVE coordinated with ASAM to allow for pedestrian model implementation. Signed-off-by: Pierre R. Mai <pmai@pmsf.de>
1 parent 90ab816 commit 471410d

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

osi_lane.proto

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,24 @@ message Lane
346346
//
347347
optional RoadCondition road_condition = 11;
348348

349+
// The subtype of the lane.
350+
//
351+
// This subtype specifies a lane more concretely.
352+
//
353+
// \note More subtypes will follow from ASAM (Harmonization with
354+
// OpenX), probably with being more specific about which
355+
// type/subtype combination will be possible/allowed. It is
356+
// verbally aligned with the ASAM working group, that the
357+
// introduction of subtypes will be the implementation for next
358+
// minor releases and also probably be the long-term
359+
// solution. This still leaves open the question, if exactly those
360+
// semantics (e.g. with the current types) will outlive the next
361+
// major release. For SETLevel, sidewalk and biking lane shall be
362+
// regarded as subtypes of TYPE_DRIVING. (This note can be deleted
363+
// after implementation at ASAM.)
364+
//
365+
optional Subtype subtype = 12;
366+
349367
// Definition of available lane types.
350368
//
351369
enum Type
@@ -377,6 +395,33 @@ message Lane
377395
TYPE_INTERSECTION = 4;
378396
}
379397

398+
// Definition of available lane subtypes.
399+
//
400+
enum Subtype
401+
{
402+
// Lane of unknown subtype (must not be used in ground truth).
403+
//
404+
SUBTYPE_UNKNOWN = 0;
405+
406+
// Any other subtype of lane.
407+
//
408+
SUBTYPE_OTHER = 1;
409+
410+
// A normal lane.
411+
// Example: Lanes with IDs l1, l2, l3, l4 and l6 in image \ref
412+
// HighwayExit.
413+
//
414+
SUBTYPE_NORMAL = 2;
415+
416+
// A lane which is designated for bicylists.
417+
//
418+
SUBTYPE_BIKING = 3;
419+
420+
// A lane which is designated for pedestrians (sidewalk).
421+
//
422+
SUBTYPE_SIDEWALK = 4;
423+
}
424+
380425
//
381426
// \brief The condition of the road surface.
382427
//

0 commit comments

Comments
 (0)