You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/architecture/architecture_overview.adoc
+9-7Lines changed: 9 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,9 @@
1
1
= Overview of OSI architecture
2
2
3
-
OSI contains an object-based environment description using the message format of the https://github.com/protocolbuffers/protobuf/wiki[Protocol Buffer] library developed and maintained by Google.
3
+
OSI contains an object-based environment description that uses the message format of the https://github.com/protocolbuffers/protobuf/wiki[Protocol Buffer] library.
4
+
The Protocol Buffer library was developed and is maintained by Google.
4
5
OSI defines top-level messages that are used to exchange data between separate models.
5
-
Top-level messages define the ``GroundTruth`` interface, the ``SensorData`` interface and, since OSI version 3.0.0, the ``SensorView``, ``SensorViewConfiguration`` and ``FeatureData`` interfaces.
6
+
Top-level messages define the `GroundTruth` interface, the `SensorData` interface, and – since OSI version 3.0.0 – the interfaces `SensorView`, `SensorViewConfiguration`, and `FeatureData`.
6
7
7
8
The following figure shows the interfaces and models involved in modeling a sensor.
The ``HostVehicleData`` interface describes the measured internal states of a traffic participant
28
-
OSI currently provides only limited support for data structures describing measured internal states of traffic participants.
28
+
The `HostVehicleData` interface describes the measured internal states of a traffic participant.
29
+
OSI currently provides only limited support for data structures that describe measured internal states of traffic participants.
29
30
Actuator intentions are currently not covered by OSI and must be handled with a different data description format.
30
31
31
32
All fields in an interface are set to `optional`.
32
33
`required` is not used.
33
34
This has been done to allow backward-compatible changes in the field.
34
-
Additionally, this is the default behavior in Protocol Buffer version 3 that does no longer have the `required` type and therefore ensures update compatibility.
35
+
Additionally, this is the default behavior in Protocol Buffer version 3 that does no longer have the `required` type.
36
+
Setting all fields to `optional` thus ensures update compatibility.
35
37
However, this does not mean that filling the field is optional.
36
38
For the purpose of providing a complete interface, all existing fields should be set, unless not setting a field carries a specific meaning as indicated in the accompanying comment.
The data layer of OSI resides in the message specifications given using the ProtoBuf IDL.
4
-
It defines the data that can be transmitted using OSI, including the structure and semantics of the data.
3
+
The data layer of OSI is defined in the message specifications using the ProtoBuf IDL.
4
+
It defines the data that can be transmitted using OSI, including the structure and the semantics of the data.
5
5
6
-
Additionally, it also specifies the encoding(s) to be used when transmitting OSI data.
7
-
Currently, this is the ProtoBuf encoding, but other encodings can be supported from the same IDL, with FlatBuffer encoding a currently experimental feature.
6
+
Additionally, it specifies the encoding to be used when OSI data is transmitted.
7
+
Currently, ProtoBuf encoding is used, but other encodings are possible with the ProtoBuf IDL.
8
+
FlatBuffer encoding has been implemented as an experimental feature.
8
9
9
-
The data layer does not directly define components and transmission routes, which are defined in the packaging layer of OSI.
10
-
There can be many packaging layer implementations using the shared data layer definitions.
11
-
The flexibility this gives enables easy bridging of information between components using different packaging layer implementations since the data that is exchanged remains compatible.
10
+
The data layer does not directly define components and transmission routes.
11
+
These are defined in the packaging layer of OSI.
12
+
There may be different packaging layer implementations using the shared data layer definitions.
13
+
The data that is exchanged remains compatible regardless of the packaging layer implementation.
14
+
The use of a shared data layer ensures easy bridging between different packaging layer implementations.
The packaging layer of OSI specifies how components (like sensor models) using the OSI data layer are packaged for exchange.
3
+
The packaging layer of OSI specifies how components that use the OSI data layer, for example, sensor models, are packaged for exchange.
4
4
5
-
It specifies model types (like sensor model, traffic participant model) and their mandatory and optional OSI inputs, outputs, and parameter interfaces.
6
-
It also specifies specific component technology standards to allow encapsulation of those model types in easily exchangeable component packages that enable use across platforms and implementations.
5
+
It specifies model types and their mandatory and optional OSI inputs, OSI outputs, and parameter interfaces.
6
+
A model type may be, for example, a sensor model or a traffic participant model.
7
+
The packaging layer also specifies component technology standards.
8
+
This makes it possible to encapsulate model types in easily exchangeable component packages that can be used across platforms and implementations.
7
9
8
-
Multiple packaging layer implementations are possible within the OSI framework, with the shared data layer ensuring ease of bridging between different implementations.
9
-
The current centrally defined packaging layer is the OSI Sensor Model Packaging (OSMP) specification.
10
-
It is defined based on FMI 2.0 and certain additional conventions to allow packaging of OSI using models as FMUs.
10
+
Multiple packaging layer implementations are possible within the OSI framework.
11
+
The shared data layer ensures easy bridging between the different implementations.
12
+
The currently defined central packaging layer is the OSI Sensor Model Packaging (OSMP) specification.
13
+
It is based on FMI 2.0 and uses certain additional conventions to allow packaging of OSI using models as FMUs.
The sensor view configuration configures the sensor view.
4
3
Sensor-view-configuration data enables the environment simulation to supply the necessary input to a sensor model.
5
4
6
-
There are two sources for sensor-view-configuration data.
5
+
There are two sources for sensor-view-configuration data:
7
6
8
-
Sensor-view-configuration data can be provided by the environment simulation.
9
-
Note that the data is intended for the automatic configuration of an environment simulation.
10
-
Sensor-view-configuration data is not intended to provide parameters to a sensor model.
7
+
1. Sensor-view-configuration data may be provided by the environment simulation.
8
+
+
9
+
NOTE: The data is intended for the automatic configuration of an environment simulation. Sensor-view-configuration data is not intended to provide parameters to a sensor model.
11
10
12
-
Sensor-view-configuration data can also be provided by the sensor model to the environment simulation.
11
+
2. Sensor-view-configuration data may be provided by the sensor model to the environment simulation.
12
+
+
13
13
In this case, the data describes the input configuration that is requested by the sensor model.
14
-
In response, the environment simulation will configure the input and provide a new message which describes the actual configuration.
15
-
The configuration requested by the sensor model may differ from the configuration provided by the environment simulation.
16
-
This happens when the environment simulation does not support a requested configuration or when the requested configuration is ambiguous.
14
+
In response, the environment simulation configures the input and provides a new message that describes the actual configuration.
15
+
17
16
The message describing the configuration requested by the sensor model differs from the message describing the configuration provided by the environment simulation.
17
+
The configuration requested by the sensor model may differ from the configuration provided by the environment simulation.
18
+
This happens when the environment simulation does not support a requested configuration or when the requested configuration is ambiguous.
0 commit comments