@@ -8,11 +8,11 @@ import "osi_common.proto";
88package osi3 ;
99
1010//
11- // \brief The traffic command message is provided by the scenario
12- // engine to traffic participant models to provide control commands
13- // to them based on the scenario.
11+ // \brief The scenario engine provides control commands in the traffic command
12+ // message to traffic participant models. The control commands are based on
13+ // the scenario.
1414//
15- // \note This interface is currently just a placeholder, and will be
15+ // \note This interface is currently just a placeholder and will be
1616// changed in experimental ways to support basic scenario execution.
1717// In the future this interface shall be aligned with the level of
1818// atomic actions as described in OpenSCENARIO 1.0 or later.
@@ -30,43 +30,43 @@ message TrafficCommand
3030 //
3131 // \note For traffic command data the timestamp coincides both with
3232 // the notional simulation time the data applies to and the time it was sent
33- // (there is no inherent latency for traffic command data, as opposed
34- // to sensor data) .
33+ // There is no inherent latency for traffic command data, as opposed
34+ // to sensor data.
3535 //
3636 optional Timestamp timestamp = 2 ;
3737
3838 // The ID of this traffic participant.
3939 //
4040 optional Identifier traffic_participant_id = 3 ;
4141
42- // Commanded Traffic Action (s) if any
42+ // Commanded traffic action (s) if any
4343 //
4444 // \note OSI uses singular instead of plural for repeated field names.
4545 //
46- // \note If more than one action is being supplied in one command message
46+ // \note If more than one action is supplied in one command message
4747 // all actions are executed in parallel.
4848 //
4949 repeated TrafficAction action = 4 ;
5050
5151}
5252
5353//
54- // \brief Atomic Traffic Actions to be performed
54+ // \brief Atomic traffic actions to be performed
5555//
56- // The actual commands being transmitted are the atomic traffic actions
57- // described by this message.
56+ // The transmitted commands are the atomic traffic actions described by
57+ // this message.
5858//
59- // \note This message is notionally a multiple choice selection, i.e. only
59+ // \note This message is notionally a multiple choice selection, that is, only
6060// certain combinations of atomic traffic actions shall be transmitted within
61- // certain time intervals (e.g. for plausibity reasons) . The restrictions
61+ // certain time intervals, for example, for plausibity reasons. The restrictions
6262// regarding that are not part of this message, yet are seen as a task of the
63- // scenario description (e.g. OpenSCENARIO) .
63+ // scenario description, for example, OpenSCENARIO.
6464//
65- // \note All TrafficActions are expected to be sent only once, to indicate
66- // that they must start immediately . This is also true, if their execution
67- // is expected to take simulation time. To inform the traffic participant
65+ // \note All traffic actions are sent only once just before they are about
66+ // to start. This is also true, if their execution is expected to
67+ // take simulation time. To inform the traffic participant
6868// model that certain actions must or shall be terminated, there are
69- // explicit Actions nested inside this message (AbortActionsAction,
69+ // explicit actions nested inside this message (AbortActionsAction,
7070// EndActionsAction), which hold a reference to the respective actions.
7171//
7272message TrafficAction
@@ -131,7 +131,7 @@ message StatePoint
131131}
132132
133133//
134- // \brief The ActionHeader
134+ // \brief The action header
135135//
136136//
137137message ActionHeader
@@ -147,35 +147,35 @@ message ActionHeader
147147}
148148
149149//
150- // \brief Follow Trajectory Action .
150+ // \brief Follow trajectory action .
151151//
152152// Controls a traffic participant to follow a trajectory using vertices
153153// with timings. It specifies the motion in space as a function of time.
154154//
155- // \note The StatePoint messages in trajectory_point require the timestamp
156- // to be specified.
155+ // \note The StatePoint messages in trajectory_point requires a
156+ // specified timestamp .
157157//
158158// \note This action is aligned with the FollowTrajectoryAction of
159159// OpenSCENARIO 1.0 using a 4/7D trajectory with shape Polyline.
160160//
161161message FollowTrajectoryAction
162162{
163- // The Action Header
163+ // The action header
164164 //
165165 optional ActionHeader action_header = 1 ;
166166
167167 // A list of trajectory StatePoints
168168 //
169- // The timestamp fields for all trajectory points are required to be
170- // set, as are the position fields . The orientation fields can be set
169+ // Set the timestamp fields and position fields for all
170+ // trajectory points . The orientation fields can be set
171171 // depending on the constrain_orientation field being true.
172172 //
173173 // \note OSI uses singular instead of plural for repeated field names.
174174 //
175175 repeated StatePoint trajectory_point = 2 ;
176176
177177 // Constrain the orientation of the traffic participant as specified
178- // by the trajectory points
178+ // by the trajectory points.
179179 //
180180 // This boolean flag defines whether orientation values supplied in
181181 // the trajectory points (if any) shall be used to constrain the
@@ -188,48 +188,48 @@ message FollowTrajectoryAction
188188 //
189189 optional FollowingMode following_mode = 4 ;
190190
191- // Definition of Following Mode .
191+ // Definition of following mode .
192192 //
193193 enum FollowingMode
194194 {
195195 // Following mode position forces the traffic participant to
196196 // follow the trajectory explicitly, disregarding any internal
197- // constraints, like e.g. steering dynamics.
197+ // constraints, for example, steering dynamics.
198198 //
199199 FOLLOWING_MODE_POSITION = 0 ;
200200
201201 // Following mode follow allows the traffic participant to
202202 // treat the trajectory as a target, to be achieved as closely
203203 // as possible while retaining any internal constraints,
204- // like e.g. steering dynamics.
204+ // for example, steering dynamics.
205205 //
206206 FOLLOWING_MODE_FOLLOW = 1 ;
207207 }
208208}
209209
210210//
211- // \brief Follow Path Action .
211+ // \brief Follow path action .
212212//
213213// Controls a traffic participant to follow a trajectory using vertices
214214// with timings. It specifies the motion in space independent of time.
215215//
216- // \note The StatePoint messages in path_point only require the position
217- // field to be specified . The orientation can be set optionally. Any
216+ // \note The StatePoint messages in path_point only requires a specified
217+ // position field . The orientation can be set optionally. Any
218218// timestamp StatePoint values are ignored.
219219//
220220// \note This action is aligned with the FollowTrajectoryAction of
221221// OpenSCENARIO 1.0 using a 3/6D trajectory with shape Polyline.
222222//
223223message FollowPathAction
224224{
225- // The Action Header
225+ // The action header
226226 //
227227 optional ActionHeader action_header = 1 ;
228228
229229 // A list of path StatePoints
230230 //
231- // The position fields for all path points required to be set .
232- // The timestamp field are not required to be set and are ignored.
231+ // Set the position fields for all path points.
232+ // The timestamp field are not required and ignored.
233233 // The orientation fields can be set depending on the constrain_orientation
234234 // field being true.
235235 //
@@ -238,7 +238,7 @@ message FollowPathAction
238238 repeated StatePoint path_point = 2 ;
239239
240240 // Constrain the orientation of the traffic participant as specified
241- // by the path points
241+ // by the path points.
242242 //
243243 // This boolean flag defines whether orientation values supplied in
244244 // the path points shall be used to constrain the orientation
@@ -251,27 +251,27 @@ message FollowPathAction
251251 //
252252 optional FollowingMode following_mode = 4 ;
253253
254- // Definition of Following Mode .
254+ // Definition of following mode .
255255 //
256256 enum FollowingMode
257257 {
258258 // Following mode position forces the traffic participant to
259259 // follow the path explicitly, disregarding any internal
260- // constraints, like e.g. steering dynamics.
260+ // constraints, for example, steering dynamics.
261261 //
262262 FOLLOWING_MODE_POSITION = 0 ;
263263
264264 // Following mode follow allows the traffic participant to
265265 // treat the path as a target, to be achieved as closely
266266 // as possible while retaining any internal constraints,
267- // like e.g. steering dynamics.
267+ // for example, steering dynamics.
268268 //
269269 FOLLOWING_MODE_FOLLOW = 1 ;
270270 }
271271}
272272
273273//
274- // \brief Acquire Global Position Action .
274+ // \brief Acquire global position action .
275275//
276276// This action assigns a route to a traffic participant. The route
277277// assigned will be the shortest route (along roads or satisfying any
@@ -286,7 +286,7 @@ message FollowPathAction
286286//
287287message AcquireGlobalPositionAction
288288{
289- // The Action Header
289+ // The action header
290290 //
291291 optional ActionHeader action_header = 1 ;
292292
@@ -301,14 +301,14 @@ message AcquireGlobalPositionAction
301301
302302 // Orientation in the global coordinate system.
303303 //
304- // This is optional, if no orientation is given, the end orientation
304+ // This is optional. If no orientation is given, the end orientation
305305 // is under control of the traffic participant.
306306 //
307307 optional Orientation3d orientation = 3 ;
308308}
309309
310310//
311- // \brief Lane Change Action .
311+ // \brief Lane change action .
312312//
313313// This action assigns a lane change to a traffic participant. The fields
314314// of this message enable different levels of constraint for the traffic
@@ -323,7 +323,7 @@ message AcquireGlobalPositionAction
323323
324324message LaneChangeAction
325325{
326- // The Action Header
326+ // The action header
327327 //
328328 optional ActionHeader action_header = 1 ;
329329
@@ -341,7 +341,7 @@ message LaneChangeAction
341341
342342 // Duration of the lane change.
343343 //
344- // A value of 0.0 (the default value) will impose no constraint
344+ // A value of 0.0 (the default value) imposes no constraint
345345 // on the duration, unless the dynamics shape is a step function,
346346 // where an immediate step is effected.
347347 //
@@ -351,7 +351,7 @@ message LaneChangeAction
351351
352352 // Distance of the lane change.
353353 //
354- // A value of 0.0 (the default value) will impose no constraint
354+ // A value of 0.0 (the default value) imposes no constraint
355355 // on the distance, unless the dynamics shape is a step function,
356356 // where an immediate step is effected.
357357 //
@@ -386,7 +386,7 @@ message LaneChangeAction
386386}
387387
388388//
389- // \brief Speed Action .
389+ // \brief Speed action .
390390//
391391// This action assigns a targeted speed to a traffic participant.
392392// The action can be constrained by specifying the dynamics
@@ -400,7 +400,7 @@ message LaneChangeAction
400400
401401message SpeedAction
402402{
403- // The Action Header
403+ // The action header
404404 //
405405 optional ActionHeader action_header = 1 ;
406406
@@ -416,7 +416,7 @@ message SpeedAction
416416
417417 // Duration of the speed change.
418418 //
419- // A value of 0.0 (the default value) will impose no constraint
419+ // A value of 0.0 (the default value) imposes no constraint
420420 // on the duration, unless the dynamics shape is a step function,
421421 // where an immediate step is effected.
422422 //
@@ -426,7 +426,7 @@ message SpeedAction
426426
427427 // Distance of the speed change.
428428 //
429- // A value of 0.0 (the default value) will impose no constraint
429+ // A value of 0.0 (the default value) imposes no constraint
430430 // on the distance, unless the dynamics shape is a step function,
431431 // where an immediate step is effected.
432432 //
@@ -462,17 +462,17 @@ message SpeedAction
462462}
463463
464464//
465- // \brief AbortActionsAction.
465+ // \brief Abort actions action
466466//
467- // This action tells a TrafficParticipant that it should abort the
468- // execution of other actions ( referenced within this action) immediately .
467+ // This action tells a traffic participant that it should immediately
468+ // abort the execution of other actions referenced within this action.
469469// In contrast to the EndActionsAction this action forces a hard
470470// termination of the referenced actions.
471471//
472472
473473message AbortActionsAction
474474{
475- // The Action Header
475+ // The action header
476476 //
477477 optional ActionHeader action_header = 1 ;
478478
@@ -484,17 +484,17 @@ message AbortActionsAction
484484 repeated Identifier target_action_id = 2 ;
485485}
486486
487- // \brief EndActionsAction .
487+ // \brief End actions action .
488488//
489- // This action tells a TrafficParticipant that the exection of the
489+ // This action tells a traffic participant that the exection of the
490490// referenced actions is regarded as successfully performed. The
491491// termination of the referenced actions is allowed to be performed
492492// gracefully.
493493//
494494
495495message EndActionsAction
496496{
497- // The Action Header
497+ // The action header
498498 //
499499 optional ActionHeader action_header = 1 ;
500500
0 commit comments