@@ -9,13 +9,15 @@ import "osi_object.proto";
9
9
package osi3 ;
10
10
11
11
//
12
- // \brief The traffic update message is provided by traffic
13
- // participant models to provide updates to their position, state
14
- // and future trajectory back to the simulation environment.
12
+ // \brief The traffic update message is provided by traffic participant
13
+ // models to provide updates to their position, state and future
14
+ // trajectory back to the simulation environment. The message is
15
+ // designed to update data of exactly one traffic participant,
16
+ // optionally with an attached trailer.
15
17
//
16
- // \note For reasons of convenience and consistency, the
17
- // updated information is provided as a MovingObject. Certain fields
18
- // of this sub-message are not required to be set and will be ignored by the
18
+ // \note For reasons of convenience and consistency, the updated
19
+ // information is provided as a MovingObject. Certain fields of this
20
+ // sub-message are not required to be set and will be ignored by the
19
21
// simulation environment, because they are static information.
20
22
// Instead of creating a seperate message type for only the non-static
21
23
// information, re-use existing message.
@@ -45,5 +47,9 @@ message TrafficUpdate
45
47
// or vehicle category. All dynamic fields should be populated where known,
46
48
// for example, velocity, light states, or future trajectory.
47
49
//
50
+ // \note The field is repeated because it is possible to have a trailer attached to
51
+ // a vehicle, see MovingObject::VehicleClassification::has_trailer and
52
+ // MovingObject::VehicleClassification::trailer_id.
53
+ //
48
54
repeated MovingObject update = 3 ;
49
55
}
0 commit comments