Skip to content

Commit

Permalink
Apply suggestions from code review, formatting fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Pierre R. Mai <pmai@pmsf.de>
  • Loading branch information
pmai committed Apr 4, 2024
1 parent 939daa6 commit e41415e
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions osi_logicallane.proto
Original file line number Diff line number Diff line change
Expand Up @@ -886,12 +886,19 @@ message LogicalLane
// The starting point of the traffic rule validity on the lane.
// Must be in range [\c sStart,\c sEnd] of the reference line.
//
// Note: The traffic rule applies only to traffic with notional
// direction of travel from the start_s coordinate towards
// the end_s coordinate. For unidirectional lanes this must
// match the direction of travel as specified by the
// move_direction field of the logical lane. For bidirectional
// lanes this allows the specification of separate rules for
// each direction of travel.
//
optional double start_s = 1;

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

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

//
// Vehicle classification type for traffic participants
// Should be set to UNKNOWN if type is not TYPE_VEHICLE or the rule
// is valid for all vehicle types.
// Vehicle classification type for traffic participants.
//
// Should be set to TYPE_UNKNOWN if type is not TYPE_VEHICLE
// or the rule is valid for all vehicle types.
//
optional MovingObject.VehicleClassification.Type vehicle_type = 2;

//
// Role of traffic participant.
// Should be set to UNKNOWN if type is not TYPE_VEHICLE or the rule
// is valid for all vehicle roles.
//
// Should be set to ROLE_UNKNOWN if type is not TYPE_VEHICLE
// or the rule is valid for all vehicle roles.
//
optional MovingObject.VehicleClassification.Role vehicle_role = 3;
}
Expand Down

0 comments on commit e41415e

Please sign in to comment.