Skip to content

Commit 5ae9fb4

Browse files
author
Habedank Clemens
committed
fixed some obvious conventional stuff
1 parent e56f185 commit 5ae9fb4

1 file changed

Lines changed: 27 additions & 17 deletions

File tree

osi_trafficcommand.proto

Lines changed: 27 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ message TrafficCommand
4747
// all actions are executed in parallel.
4848
//
4949
repeated TrafficAction action = 4;
50-
5150
}
5251

5352
//
@@ -115,7 +114,7 @@ message TrafficAction
115114
//
116115
optional LateralDistanceAction lateral_distance_action = 11;
117116

118-
// A TeleportAction
117+
// A TeleportAction
119118
//
120119
optional TeleportAction teleport_action = 12;
121120
}
@@ -491,11 +490,14 @@ message SpeedAction
491490
// defining the reference traffic participanz and the distance.
492491
//
493492

494-
message LongitudinalDistanceAction {
495-
// Action Header of the message
493+
message LongitudinalDistanceAction
494+
{
495+
// Action Header of the message
496+
//
496497
optional ActionHeader action_header = 1;
497498

498-
// Unique Id of the refence traffic participant to which the distance is defined.
499+
// Unique Id of the refence traffic participant to which the distance is defined.
500+
//
499501
optional Identifier target_traffic_participant_id = 2;
500502

501503
// The distance to reach along the lane
@@ -506,19 +508,21 @@ message LongitudinalDistanceAction {
506508

507509
// Determine the measurement of distance between TrafficParticipant
508510
// True: Lateral distance is measured using the distance between closest bounding box points.
509-
// False: Reference point distance is used
511+
// False: Reference point distance is used
512+
//
510513
optional bool freespace = 4;
511514

512-
// Define wheather the traffic participanzt should only reach the distance once
515+
// Define wheather the traffic participant should only reach the distance once
513516
// or follow.
514517
// If set to true the traffic particpant shall approach the reference participant
515518
// and follow woth the distance specified until the action is aborted.
516519
// If set to false the action end as soon as the traffic participant has reached
517520
// the
518521
optional bool follow = 5;
519522

520-
//Parameter that assings either unlimited dynamics (if omitted)
521-
//or limited maxAcceleration/maxDeceleration/maxSpeed to the action.
523+
// Parameter that assings either unlimited dynamics (if omitted)
524+
// or limited maxAcceleration/maxDeceleration/maxSpeed to the action.
525+
//
522526
optional DynamicConstraints dynamic_constraints = 6;
523527
}
524528

@@ -532,27 +536,33 @@ message LongitudinalDistanceAction {
532536
// \note This action is aligned with LateralDistanceAction of OpenSCENARIO 1.0
533537
// defining the reference traffic participanz and the distance.
534538
//
535-
message LateralDistanceAction{
536-
537-
// Action Header of the message
539+
message LateralDistanceAction
540+
{
541+
// Action Header of the message
542+
//
538543
optional ActionHeader action_header = 1;
539544

540-
// Id of the reference entity the lateral distance shall be kept to.
545+
// Id of the reference entity the lateral distance shall be kept to.
546+
//
541547
optional Identifier target_traffic_participant_id = 2;
542548

543-
// Lateral distance value. Unit: m; Range: [0...inf]
549+
// Lateral distance value. Unit: m; Range: [0...inf]
550+
//
544551
optional double distance = 3;
545552

546553
// True: Lateral distance is measured using the distance between closest bounding box points.
547-
// False: Reference point distance is used
554+
// False: Reference point distance is used
555+
//
548556
optional bool freespace = 4;
549557

550558
// If false, the action ends when the target distance is reached.
551-
// If true it does not end and can only be stopped.
559+
// If true it does not end and can only be stopped.
560+
//
552561
optional bool continuous = 5;
553562

554563
// Parameter that assings either unlimited dynamics (if omitted)
555-
// or limited maxAcceleration/maxDeceleration/maxSpeed to the action.
564+
// or limited maxAcceleration/maxDeceleration/maxSpeed to the action.
565+
//
556566
optional DynamicConstraints dynamic_constraints = 6;
557567
}
558568

0 commit comments

Comments
 (0)