@@ -56,12 +56,11 @@ message TrafficCommand
5656// The actual commands being transmitted are the atomic traffic actions
5757// described by this message.
5858//
59- // \note This message is notionally a choice selection, i.e. only one
60- // of the multiple optional fields in it must be set at any time.
61- // It is not defined as a one of field, since this is not currently
62- // used in OSI message definitions for portability reasons. From
63- // an API point of view this results in the same generated interface,
64- // but without the better enforcement of the restriction on the wire.
59+ // \note This message is notionally a multiple choice selection, i.e. only
60+ // certain combinations of atomic traffic actions shall be transmitted within
61+ // certain time intervals (e.g. for plausibity reasons). The restrictions
62+ // regarding that are not part of this message, yet are seen as a task of the
63+ // scenario description (e.g. OpenSCENARIO).
6564//
6665message TrafficAction
6766{
@@ -319,23 +318,27 @@ message LaneChangeAction
319318 //
320319 optional int32 relative_target_lane = 2 ;
321320
322- // Specified shape of the lane change action. This is optional:
323- // If no dynamics shape is given , the shape of the lane change is
324- // open to the traffic participant model.
321+ // Specified shape of the lane change action.
322+ // If the shape is unspecified (enum value 0) , the shape of the
323+ // lane change is open to the traffic participant model.
325324 //
326325 optional DynamicsShape dynamics_shape = 3 ;
327326
328- // Duration of the lane change. This is optional:
329- // If no duration is given, the duration of the lane change is
330- // open to the traffic participant model.
327+ // Duration of the lane change.
328+ //
329+ // A value of 0.0 (the default value) will impose no constraint
330+ // on the duration, unless the dynamics shape is a step function,
331+ // where an immediate step is effected.
331332 //
332333 // Unit: s
333334 //
334335 optional double duration = 4 ;
335336
336- // Distance of the lane change. This is optional:
337- // If no distance is given, the distance of the lane change is
338- // open to the traffic participant model.
337+ // Distance of the lane change.
338+ //
339+ // A value of 0.0 (the default value) will impose no constraint
340+ // on the distance, unless the dynamics shape is a step function,
341+ // where an immediate step is effected.
339342 //
340343 // Unit: m
341344 //
@@ -370,12 +373,8 @@ message LaneChangeAction
370373//
371374// \brief Speed Action.
372375//
373- // This action assigns a targeted speed to a traffic participant. To avoid
374- // contradictory constraints, it shall not be sent if the traffic participant
375- // is under impact of a FollowTrajectoryAction. Yet, it may be sent if the
376- // traffic particpiant is under impact of a FollowPathAction,
377- // AcquireGlobalPositionAction or LaneChangeAction.
378- // Furthermore, the action can be constrained by specifying the dynamics
376+ // This action assigns a targeted speed to a traffic participant.
377+ // The action can be constrained by specifying the dynamics
379378// shape or even the duration and the distance of the acceleration /
380379// deceleration process.
381380//
@@ -394,23 +393,27 @@ message SpeedAction
394393 //
395394 optional double absolute_target_speed = 2 ;
396395
397- // Specified transition shape of the speed change. This is optional:
398- // If no dynamics shape is given , the transition is
399- // open to the traffic participant model.
396+ // Specified transition shape of the speed change action.
397+ // If the shape is unspecified (enum value 0) , the shape of the
398+ // speed change is open to the traffic participant model.
400399 //
401400 optional DynamicsShape dynamics_shape = 3 ;
402401
403- // Specified duration of the speed change. This is optional:
404- // If no duration is given, the duration of the transition is
405- // open to the traffic participant model.
402+ // Duration of the speed change.
403+ //
404+ // A value of 0.0 (the default value) will impose no constraint
405+ // on the duration, unless the dynamics shape is a step function,
406+ // where an immediate step is effected.
406407 //
407408 // Unit: s
408409 //
409410 optional double duration = 4 ;
410411
411- // Specified distance of the speed change. This is optional:
412- // If no distance is given, the distance travelled while changing
413- // speed is open to the traffic participant model.
412+ // Distance of the speed change.
413+ //
414+ // A value of 0.0 (the default value) will impose no constraint
415+ // on the distance, unless the dynamics shape is a step function,
416+ // where an immediate step is effected.
414417 //
415418 // Unit: m
416419 //
@@ -441,4 +444,4 @@ message SpeedAction
441444 DYNAMICS_SHAPE_STEP = 4 ;
442445 }
443446
444- }
447+ }
0 commit comments