Skip to content

Commit e41415e

Browse files
committed
Apply suggestions from code review, formatting fixes
Signed-off-by: Pierre R. Mai <[email protected]>
1 parent 939daa6 commit e41415e

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

osi_logicallane.proto

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -886,12 +886,19 @@ message LogicalLane
886886
// The starting point of the traffic rule validity on the lane.
887887
// Must be in range [\c sStart,\c sEnd] of the reference line.
888888
//
889+
// Note: The traffic rule applies only to traffic with notional
890+
// direction of travel from the start_s coordinate towards
891+
// the end_s coordinate. For unidirectional lanes this must
892+
// match the direction of travel as specified by the
893+
// move_direction field of the logical lane. For bidirectional
894+
// lanes this allows the specification of separate rules for
895+
// each direction of travel.
896+
//
889897
optional double start_s = 1;
890898

891899
//
892900
// The ending point of the traffic rule validity on the lane.
893901
// Must be in range [\c sStart,\c sEnd] of the reference line.
894-
// Note: Should always be greater than the starting point.
895902
//
896903
optional double end_s = 2;
897904

@@ -913,16 +920,18 @@ message LogicalLane
913920
optional MovingObject.Type type = 1;
914921

915922
//
916-
// Vehicle classification type for traffic participants
917-
// Should be set to UNKNOWN if type is not TYPE_VEHICLE or the rule
918-
// is valid for all vehicle types.
923+
// Vehicle classification type for traffic participants.
924+
//
925+
// Should be set to TYPE_UNKNOWN if type is not TYPE_VEHICLE
926+
// or the rule is valid for all vehicle types.
919927
//
920928
optional MovingObject.VehicleClassification.Type vehicle_type = 2;
921929

922930
//
923931
// Role of traffic participant.
924-
// Should be set to UNKNOWN if type is not TYPE_VEHICLE or the rule
925-
// is valid for all vehicle roles.
932+
//
933+
// Should be set to ROLE_UNKNOWN if type is not TYPE_VEHICLE
934+
// or the rule is valid for all vehicle roles.
926935
//
927936
optional MovingObject.VehicleClassification.Role vehicle_role = 3;
928937
}

0 commit comments

Comments
 (0)