Skip to content

Commit 3ae2a04

Browse files
dmataCapDaniel Matapmai
authored
Logical lanes: add road type (#707)
* Add road type based on OpenDRIVE to logical lanes The road type is useful since traffic participant models might want to influence their behavior based on the type of road that they are driving on, or make decisions in terms of navigation based on that information. It is also helpful to display a road in a navigation system, as typically different road types are displayed differently. Signed-off-by: Daniel Mata <Daniel.Mata@partner.bmw.de> * Fix spelling of accommodate Signed-off-by: Pierre R. Mai <pmai@pmsf.de> --------- Signed-off-by: Daniel Mata <Daniel.Mata@partner.bmw.de> Signed-off-by: Pierre R. Mai <pmai@pmsf.de> Co-authored-by: Daniel Mata <Daniel.Mata@partner.bmw.de> Co-authored-by: Pierre R. Mai <pmai@pmsf.de>
1 parent 5b4adf1 commit 3ae2a04

File tree

1 file changed

+72
-0
lines changed

1 file changed

+72
-0
lines changed

osi_logicallane.proto

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -589,6 +589,10 @@ message LogicalLane
589589
//
590590
repeated TrafficRule traffic_rule = 17;
591591

592+
// The road type of the logical lane.
593+
//
594+
optional RoadType road_type = 18;
595+
592596
//
593597
// Definition of available lane types.
594598
//
@@ -951,5 +955,73 @@ message LogicalLane
951955
}
952956
}
953957

958+
//
959+
// Definition of available road types.
960+
//
961+
// The road types are aligned with OpenDRIVE and describe the type of a
962+
// higher structure that spans one or multiple logical lanes.
963+
//
964+
enum RoadType
965+
{
966+
// Lane of unknown type. Do not use in ground truth.
967+
//
968+
ROAD_TYPE_UNKNOWN = 0;
969+
970+
// Any other type of road.
971+
//
972+
ROAD_TYPE_OTHER = 1;
973+
974+
// A road designated to accommodate multiple road users,
975+
// such as pedestrian and cyclist.
976+
//
977+
ROAD_TYPE_LOWSPEED = 2;
978+
979+
// A road specially built for fast travel over long distances.
980+
//
981+
ROAD_TYPE_MOTORWAY = 3;
982+
983+
// A pedestrian exclusive road.
984+
//
985+
ROAD_TYPE_PEDESTRIAN = 4;
986+
987+
// A country road which is often narrow and unpaved.
988+
//
989+
ROAD_TYPE_RURAL = 5;
990+
991+
// A high capacity urban road.
992+
//
993+
ROAD_TYPE_TOWNARTERIAL = 6;
994+
995+
// An auxiliary road to direct traffic from the residential areas
996+
// to the arterial roads.
997+
//
998+
ROAD_TYPE_TOWNCOLLECTOR = 7;
999+
1000+
// A motor vehicle exclusive road designed to connect highways
1001+
// with urban areas.
1002+
//
1003+
ROAD_TYPE_TOWNEXPRESSWAY = 8;
1004+
1005+
// A road intended to serve residential areas.
1006+
//
1007+
ROAD_TYPE_TOWNLOCAL = 9;
1008+
1009+
// A street that is closed to through traffic and is designated
1010+
// for children's play activities.
1011+
//
1012+
ROAD_TYPE_TOWNPLAYSTREET = 10;
1013+
1014+
// A town road which is part of a private property.
1015+
//
1016+
ROAD_TYPE_TOWNPRIVATE = 11;
1017+
1018+
// A regular town road.
1019+
//
1020+
ROAD_TYPE_TOWN = 12;
1021+
1022+
// A road that is designated for cyclists.
1023+
//
1024+
ROAD_TYPE_BICYCLE = 13;
1025+
}
9541026
}
9551027

0 commit comments

Comments
 (0)