Skip to content

Commit

Permalink
Fix proto syntax and formatting
Browse files Browse the repository at this point in the history
Signed-off-by: Pierre R. Mai <[email protected]>
  • Loading branch information
pmai committed Jan 15, 2024
1 parent 02d086a commit ee55743
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions osi_route.proto
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
syntax = "proto3";
syntax = "proto2";

option optimize_for = SPEED;

Expand Down Expand Up @@ -33,7 +33,6 @@ package osi3;
//
message Route
{

// The unique id of the route.
//
// \note This field is mandatory.
Expand All @@ -54,11 +53,11 @@ message Route
// \brief A segment of a logical lane.
//
// \note The #LogicalLaneSegment allows that #start_s > #end_s.
// If #start_s < #end_s, then the traffic agent should traverse the
// segment in the logical lane's reference line definition direction.
// If #end_s > #start_s, then the traffic agent should traverse the
// segment in the opposite of the logical lane's reference line
// definition direction.
// If #start_s < #end_s, then the traffic agent should traverse the
// segment in the logical lane's reference line definition direction.
// If #end_s > #start_s, then the traffic agent should traverse the
// segment in the opposite of the logical lane's reference line
// definition direction.
//
message LogicalLaneSegment
{
Expand Down Expand Up @@ -127,12 +126,9 @@ message Route
// Logical lane segments that form a route segment.
//
// The logical lane segments of a route segment should be connected without
// gaps, meaning that, together, the lane segments should form a
// continuous area.
// gaps, meaning that, together, the lane segments should form a continuous
// area.
//
repeated LogicalLaneSegment lane_segment = 1;

}


}

0 comments on commit ee55743

Please sign in to comment.