Skip to content

Commit 489ba66

Browse files
Daniel MataDaniel Mata
authored andcommitted
Logical lanes: add road type
The road type is useful since the speed limit can depend on the underlying type of the road. It is also helpful to display a road in a navigation system, because typically different road types are displayed differently. The road type is added to the logical lanes, since the road type information will come from the underlying map and most map formats are more similar to logical lanes than to physical lanes. Signed-off-by: Daniel Mata <Daniel.Mata@partner.bmw.de>
1 parent b13e49c commit 489ba66

File tree

1 file changed

+70
-0
lines changed

1 file changed

+70
-0
lines changed

osi_logicallane.proto

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -582,6 +582,10 @@ message LogicalLane
582582
//
583583
repeated LaneConnection successor_lane = 15;
584584

585+
// The road type of the logical lane.
586+
//
587+
optional RoadType road_type = 16;
588+
585589
//
586590
// Definition of available lane types.
587591
//
@@ -692,6 +696,72 @@ message LogicalLane
692696
TYPE_TRAM = 18;
693697
}
694698

699+
//
700+
// Definition of available road types.
701+
//
702+
// The road types are aligned with OpenDRIVE and describe the type of a
703+
// higher structure that spans one or multiple logical lanes.
704+
//
705+
enum RoadType{
706+
// Lane of unknown type. Do not use in ground truth.
707+
//
708+
ROAD_TYPE_UNKNOWN = 0;
709+
710+
// Any other type of road.
711+
//
712+
ROAD_TYPE_OTHER = 1;
713+
714+
// A road designated to accomodate multiple road users,
715+
// such as pedestrian and cyclist.
716+
//
717+
ROAD_TYPE_LOWSPEED = 2;
718+
719+
// A road specially built for fast travel over long distances.
720+
//
721+
ROAD_TYPE_MOTORWAY = 3;
722+
723+
// A pedestrian exclusive road.
724+
//
725+
ROAD_TYPE_PEDESTRIAN = 4;
726+
727+
// A country road which is often narrow and unpaved.
728+
//
729+
ROAD_TYPE_RURAL = 5;
730+
731+
// A high capacity urban road.
732+
//
733+
ROAD_TYPE_TOWNARTERIAL = 6;
734+
735+
// An auxiliary road to direct traffic from the residential areas
736+
// to the arterial roads.
737+
//
738+
ROAD_TYPE_TOWNCOLLECTOR = 7;
739+
740+
// A motor vehicle exclusive road designed to connect highways with urban areas.
741+
//
742+
ROAD_TYPE_TOWNEXPRESSWAY = 8;
743+
744+
// A road intended to serve residential areas.
745+
//
746+
ROAD_TYPE_TOWNLOCAL = 9;
747+
748+
// A street that is closed to through traffic and is designated for children's play activities.
749+
//
750+
ROAD_TYPE_TOWNPLAYSTREET = 10;
751+
752+
// A town road which is part of a private property.
753+
//
754+
ROAD_TYPE_TOWNPRIVATE = 11;
755+
756+
// A regular town road.
757+
//
758+
ROAD_TYPE_TOWN = 12;
759+
760+
// A road that is designated for cyclists.
761+
//
762+
ROAD_TYPE_BICYCLE = 13;
763+
}
764+
695765
//
696766
// \brief Reference to a physical lane.
697767
//

0 commit comments

Comments
 (0)