Skip to content

Commit 54b0791

Browse files
tbleherStefan Cyliax
authored andcommitted
Move PASSING_RULE_OTHER to the top, according to OSI convention.
Signed-off-by: Thomas Bleher <thomas.tb.bleher@bmw.de>
1 parent 466c342 commit 54b0791

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

osi_logicallane.proto

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -200,10 +200,17 @@ message LogicalLaneBoundary
200200
//
201201
PASSING_RULE_UNKNOWN = 0;
202202

203+
// Passing rule fits neither of the other categories.
204+
//
205+
// Example: this type needs to be used if passing depends on the agent
206+
// type, e.g. if cars may change lane, but trucks may not.
207+
//
208+
PASSING_RULE_OTHER = 1;
209+
203210
// No passing is allowed (neither from left to right nor from right to
204211
// left).
205212
//
206-
PASSING_RULE_NONE_ALLOWED = 1;
213+
PASSING_RULE_NONE_ALLOWED = 2;
207214

208215
// Only passing in increasing T direction allowed. Passing is allowed
209216
// from one lane to the other if the points on the target lane have
@@ -212,7 +219,7 @@ message LogicalLaneBoundary
212219
// driving direction), this means changing from right to left is
213220
// allowed.
214221
//
215-
PASSING_RULE_INCREASING_T = 2;
222+
PASSING_RULE_INCREASING_T = 3;
216223

217224
// Only passing in decreasing T direction allowed. Passing is allowed
218225
// from one lane to the other if the points on the target lane have
@@ -221,19 +228,13 @@ message LogicalLaneBoundary
221228
// driving direction), this means changing from left to right is
222229
// allowed.
223230
//
224-
PASSING_RULE_DECREASING_T = 3;
231+
PASSING_RULE_DECREASING_T = 4;
225232

226233
// Passing is allowed in both directions (left to right and right to
227234
// left).
228235
//
229-
PASSING_RULE_BOTH_ALLOWED = 4;
236+
PASSING_RULE_BOTH_ALLOWED = 5;
230237

231-
// Passing rule fits neither of the above categories.
232-
//
233-
// Example: this type needs to be used if passing depends on the agent
234-
// type, e.g. if cars may change lane, but trucks may not.
235-
//
236-
PASSING_RULE_OTHER = 5;
237238
}
238239
}
239240

0 commit comments

Comments
 (0)