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 06e5461
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 13 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;

}


}
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def find_protoc():
"osi_occupant.proto",
"osi_referenceline.proto",
"osi_roadmarking.proto",
'osi_route.proto',
"osi_route.proto",
"osi_sensordata.proto",
"osi_sensorspecific.proto",
"osi_sensorview.proto",
Expand Down

0 comments on commit 06e5461

Please sign in to comment.