Skip to content

Commit 3c94e8f

Browse files
committed
Fix whitespace/comment issues, renumber lanechange enum
Signed-off-by: Pierre R. Mai <pmai@pmsf.de>
1 parent e0ad52f commit 3c94e8f

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

osi_trafficcommand.proto

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ message TrafficAction
7676
// An AcquireGlobalPositionAction
7777
//
7878
optional AcquireGlobalPositionAction acquire_global_position_action = 3;
79-
79+
8080
// A LaneChangeAction
8181
//
8282
optional LaneChangeAction lane_change_action = 4;
@@ -211,6 +211,9 @@ message AcquireGlobalPositionAction
211211
optional Orientation3d orientation = 3;
212212
}
213213

214+
//
215+
// \brief Lane Change Action.
216+
//
214217
message LaneChangeAction
215218
{
216219
// The Action Header
@@ -249,18 +252,18 @@ message LaneChangeAction
249252

250253
// Shape is linear.
251254
//
252-
DYNAMICS_SHAPE_LINEAR = 2;
255+
DYNAMICS_SHAPE_LINEAR = 1;
253256

254257
// Shape is cubic.
255258
//
256-
DYNAMICS_SHAPE_CUBIC = 3;
259+
DYNAMICS_SHAPE_CUBIC = 2;
257260

258261
// Shape is sinusoidal.
259262
//
260-
DYNAMICS_SHAPE_SINUSOIDAL = 4;
263+
DYNAMICS_SHAPE_SINUSOIDAL = 3;
261264

262265
// Shape is a step function.
263266
//
264-
DYNAMICS_SHAPE_STEP = 5;
267+
DYNAMICS_SHAPE_STEP = 4;
265268
}
266269
}

0 commit comments

Comments
 (0)