Skip to content

Commit 481fbc9

Browse files
Adaption of description and making HostVehicleData repeated
Adaption of description and making HostVehicleData repeated
1 parent 740fe46 commit 481fbc9

File tree

1 file changed

+18
-29
lines changed

1 file changed

+18
-29
lines changed

osi_streaming.proto

Lines changed: 18 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -4,65 +4,54 @@ import "osi_version.proto";
44
import "osi_common.proto";
55
import "osi_object.proto";
66
import "osi_trafficlight.proto";
7-
//import "osi_hostvehicledata.proto";
7+
import "osi_hostvehicledata.proto";
88

99
package osi3;
1010

1111
//
12-
// ToDo: Rework Description
13-
// \brief The traffic update message is provided by traffic participant
14-
// models to provide updates to their position, state and future
15-
// trajectory back to the simulation environment. The message is
16-
// designed to update data of exactly one traffic participant,
17-
// optionally with an attached trailer.
12+
// \brief This message is about partial updates from simulation entities.
1813
//
19-
// \note For reasons of convenience and consistency, the updated
20-
// information is provided as a MovingObject. Certain fields of this
21-
// sub-message are not required to be set and will be ignored by the
22-
// simulation environment, because they are static information.
23-
// Instead of creating a seperate message type for only the non-static
24-
// information, re-use existing message.
14+
// First time message is being sent:
2515
//
26-
// RULE: Needs to include all stuff that changed.
16+
// ToDo
17+
//
18+
// Afterwards:
19+
// As streaming update this message contains objects of which at least one
20+
// property has changed. Unchanged properties are nevertheless sent.
21+
//
22+
//
2723
//
2824
message Streaming
2925
{
3026
// The interface version used by the sender (traffic participant model).
3127
//
3228
optional InterfaceVersion version = 1;
3329

34-
// The data timestamp of the simulation environment. Zero time is arbitrary
35-
// but must be identical for all messages. Zero time does not need to
36-
// coincide with the UNIX epoch. Recommended is the starting time point of
37-
// the simulation.
38-
//
39-
// \note For moving object update data the timestamp coincides both with
40-
// the notional simulation time the data applies to and the time it was sent.
41-
// There is no inherent latency for moving object update data, as opposed
42-
// to sensor data.
30+
// The data timestamp where the information of contained objects is calculated.
31+
//
32+
// Zero time is arbitrary but must be identical for all messages.
33+
// Zero time does not need to coincide with the UNIX epoch.
34+
// Recommended is the starting time point of the simulation.
4335
//
4436
optional Timestamp timestamp = 2;
4537

46-
// To discuss: Are they needed?
4738
// The list of stationary objects (excluding traffic signs and traffic
4839
// lights).
4940
//
5041
repeated StationaryObject stationary_object_update = 4;
5142

52-
// Updated traffic participant data
53-
//
5443
// \note It is not expected that static fields are populated. If they
5544
// are, they may be ignored by the receiver of this message, for example, dimensions,
5645
// or vehicle category. All dynamic fields should be populated where known,
5746
// for example, velocity, light states, or future trajectory.
5847
//
48+
// ToDo: how to handle trailers?
5949
// \note The field is repeated because it is possible to have a trailer attached to
6050
// a vehicle, see MovingObject::VehicleClassification::has_trailer and
6151
// MovingObject::VehicleClassification::trailer_id.
6252
//
6353
repeated MovingObject moving_object_update = 5;
6454

65-
// To discuss: Are they needed?
6655
// The list of traffic signs.
6756
//
6857
repeated TrafficSign traffic_sign = 6;
@@ -73,15 +62,15 @@ message Streaming
7362

7463
// Conditions of the environment.
7564
//
76-
optional EnvironmentalConditions environmental_conditions = 12;
65+
optional EnvironmentalConditions environmental_conditions_update = 12;
7766

7867
// Host vehicle data.
7968
//
8069
// Host vehicle data is data that the host vehicle knows about itself,
8170
// e.g. from location sensors, internal sensors and ECU bus data, etc.,
8271
// that is made available to sensors as input.
8372
//
84-
optional HostVehicleData host_vehicle_data = 29;
73+
repeated HostVehicleData host_vehicle_data_update = 29;
8574

8675
// Entities that will no longer be updated, because they are considered
8776
// obsolete by the sender.

0 commit comments

Comments
 (0)