|
| 1 | +syntax = "proto2"; |
| 2 | + |
| 3 | +option optimize_for = SPEED; |
| 4 | + |
| 5 | +import "osi_version.proto"; |
| 6 | +import "osi_common.proto"; |
| 7 | +import "osi_object.proto"; |
| 8 | + |
| 9 | +package osi3; |
| 10 | + |
| 11 | +// |
| 12 | +// \brief The traffic update message is provided by traffic |
| 13 | +// participant models to provide updates to their position and |
| 14 | +// state back to the simulation environment. |
| 15 | +// |
| 16 | +// \note Note that for reasons of convenience and consistency, the |
| 17 | +// updated information is provided as a MovingObject. Certain fields |
| 18 | +// of this sub-message need not be set and will be ignored by the |
| 19 | +// simulation environment, because they are in fact static information. |
| 20 | +// Instead of creating a seperate message type for only the non-static |
| 21 | +// information, re-use of the existing message was considered more |
| 22 | +// appropriate. |
| 23 | +// |
| 24 | +message TrafficUpdate |
| 25 | +{ |
| 26 | + // The interface version used by the sender (traffic participant model). |
| 27 | + // |
| 28 | + optional InterfaceVersion version = 1; |
| 29 | + |
| 30 | + // The data timestamp of the simulation environment. Zero time is arbitrary |
| 31 | + // but must be identical for all messages. Zero time does not need to |
| 32 | + // coincide with the UNIX epoch. Recommended is the starting time point of |
| 33 | + // the simulation. |
| 34 | + // |
| 35 | + // \note For moving object update data the timestamp coincides both with |
| 36 | + // the notional simulation time the data applies to and the time it was sent |
| 37 | + // (there is no inherent latency for moving object update data, as opposed |
| 38 | + // to sensor data). |
| 39 | + // |
| 40 | + optional Timestamp timestamp = 2; |
| 41 | + |
| 42 | + // Updated Moving Object |
| 43 | + // |
| 44 | + // \note Only the id, base member (without dimension and base_polygon), |
| 45 | + // and the vehicle_classification.light_state members are considered in |
| 46 | + // updates, all other members can be left undefined, and will be |
| 47 | + // ignored by the receiver of this message. |
| 48 | + // |
| 49 | + optional MovingObject update = 3; |
| 50 | + |
| 51 | +} |
0 commit comments