Skip to content

Commit a71b8cf

Browse files
freespace and follow messages and comment changes
Signed-off-by: Sam Nichols <sam.nichols@cp.catapult.org.uk>
1 parent ec066b0 commit a71b8cf

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed

osi_trafficcommand.proto

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -489,6 +489,7 @@ message SpeedAction
489489
// \note This action is aligned with LongitudinalDistanceAction of OpenSCENARIO 1.0
490490
// defining the reference traffic participant and the distance.
491491
//
492+
492493
message LongitudinalDistanceAction
493494
{
494495
// Action Header of the message
@@ -507,15 +508,15 @@ message LongitudinalDistanceAction
507508

508509
// Determine the measurement of distance between TrafficParticipant
509510
// True: Longitudinal distance is measured using the distance between closest bounding box points.
510-
// False: Reference point distance is used
511+
// False: Longitudinal distance is mesasured using the distance between the center of each objects bounding box
511512
//
512513
optional bool freespace = 4;
513514

514515
// Define wheather the traffic participant should only reach the distance once
515516
// or follow.
516-
// If set to true the traffic particpant shall approach the reference participant
517+
// True : the traffic particpant shall approach the reference participant
517518
// and follow with the distance specified until the action is aborted.
518-
// If set to false the action end as soon as the traffic participant has reached
519+
// False : the action end as soon as the traffic participant has reached
519520
// the specified distance.
520521
//
521522
optional bool follow = 5;
@@ -536,6 +537,7 @@ message LongitudinalDistanceAction
536537
// \note This action is aligned with LateralDistanceAction of OpenSCENARIO 1.0
537538
// defining the reference traffic participant and the distance.
538539
//
540+
539541
message LateralDistanceAction
540542
{
541543
// Action Header of the message
@@ -551,14 +553,18 @@ message LateralDistanceAction
551553
optional double distance = 3;
552554

553555
// True: Lateral distance is measured using the distance between closest bounding box points.
554-
// False: Reference point distance is used
556+
// False: Lateral distance is mesasured using the distance between the center of each objects bounding box
555557
//
556558
optional bool freespace = 4;
557559

558-
// If false, the action ends when the target distance is reached.
559-
// If true it does not end and can only be stopped.
560-
//
561-
optional bool continuous = 5;
560+
// Define wheather the traffic participant should only reach the distance once
561+
// or follow.
562+
// True : the traffic particpant shall approach the reference participant
563+
// and follow with the distance specified until the action is aborted.
564+
// False : the action end as soon as the traffic participant has reached
565+
// the specified distance.
566+
//
567+
optional bool follow = 5;
562568

563569
// Parameter that assings either unlimited dynamics (if omitted)
564570
// or limited maxAcceleration/maxDeceleration/maxSpeed to the action.
@@ -631,6 +637,7 @@ message LaneOffsetAction
631637
// \note This action is aligned with the TeleportAction of
632638
// OpenSCENARIO 1.0 using a WorldPosition position argument.
633639
//
640+
634641
message TeleportAction
635642
{
636643
// The Action Header
@@ -704,6 +711,7 @@ message EndActionsAction
704711
// constraints on the TrafficParticipant not allowing them to exceed/drop below
705712
// certain speeds/acceleration levels.
706713
//
714+
707715
message DynamicConstraints{
708716

709717
//Maximum acceleration the distance contoller is allowed to use for keeping distance.

0 commit comments

Comments
 (0)