Skip to content

Commit 939daa6

Browse files
lemmer-fzipmai
authored andcommitted
Adjusted documentation for type validty.
Signed-off-by: Markus Lemmer <[email protected]>
1 parent 2b2122b commit 939daa6

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

osi_logicallane.proto

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -909,19 +909,20 @@ message LogicalLane
909909

910910
//
911911
// The type of object for which the traffic rule is valid.
912-
// Must not be UNKNOWN or OTHER
913912
//
914913
optional MovingObject.Type type = 1;
915914

916915
//
917916
// Vehicle classification type for traffic participants
918-
// May only be set if type is TYPE_VEHICLE. Must not be UNKNOWN or OTHER.
917+
// Should be set to UNKNOWN if type is not TYPE_VEHICLE or the rule
918+
// is valid for all vehicle types.
919919
//
920920
optional MovingObject.VehicleClassification.Type vehicle_type = 2;
921921

922922
//
923923
// Role of traffic participant.
924-
// May only be set if type is TYPE_VEHICLE. Must not be UNKNOWN or OTHER.
924+
// Should be set to UNKNOWN if type is not TYPE_VEHICLE or the rule
925+
// is valid for all vehicle roles.
925926
//
926927
optional MovingObject.VehicleClassification.Role vehicle_role = 3;
927928
}
@@ -935,9 +936,9 @@ message LogicalLane
935936
//
936937
// The value of the speed limit.
937938
// The unit field in the TrafficSignValue message may only be set to
938-
// units associated with velocities and must not be UNKNOWN or OTHER.
939+
// units associated with velocities and must not be UNKNOWN.
939940
//
940-
// Note: All speed limits are to be led this way, independent
941+
// Note: All speed limits are to be modeled this way, independent
941942
// of how they are induced.
942943
//
943944
optional TrafficSignValue speed_limit_value = 1;

0 commit comments

Comments
 (0)