diff --git a/osi_groundtruthinitconfiguration.proto b/osi_groundtruthinitconfiguration.proto new file mode 100644 index 000000000..89a235d5e --- /dev/null +++ b/osi_groundtruthinitconfiguration.proto @@ -0,0 +1,39 @@ +syntax = "proto2"; + +option optimize_for = SPEED; + +import "osi_common.proto"; +import "osi_version.proto"; + +package osi3; + +// +// \brief The configuration settings for splitting static and dynamic +// content for performance reasons. Static content of \c GroundTruth +// can be sent at initialization, dynamic content during simulation +// as \c SensorView. What is regarded as static content is described here. +// +message GroundTruthInitConfiguration +{ + // The interface version used by the sender (simulation environment). + // + optional InterfaceVersion version = 1; + + // Omit static street layer + // + // The street layer, i.e. \c Lane, \c LaneBoundary and \c RoadMarking + // is regarded static and should be sent only at initialization. + // + optional bool omit_static_street_layer = 2; + + // Omit static objects + // + // Objects of type \c MovingObject and \c StationaryObject which do not + // have changing attributes (e.g. changing position) during a simulation + // are regarded static and should be sent only at initialization. + // + // \note: While sending certain object at initialization and others + // at runtime, it must be ensured that each object still has a unique id. + // + optional bool omit_static_objects = 3; +} diff --git a/osi_sensorviewconfiguration.proto b/osi_sensorviewconfiguration.proto index 3df348a54..5af4a7a91 100644 --- a/osi_sensorviewconfiguration.proto +++ b/osi_sensorviewconfiguration.proto @@ -190,6 +190,15 @@ message SensorViewConfiguration // Unit: s optional Timestamp simulation_start_time = 10; + // Omit Static Information + // + // This flag specifies whether \c GroundTruth information that + // was already provided using a GroundTruthInit parameter + // at initialization time shall be omitted from the \c SensorView + // ground truth information. + // + optional bool omit_static_information = 11; + // Generic Sensor View Configuration(s). // // \note OSI uses singular instead of plural for repeated field names.