|
| 1 | += Overview of OSI architecture |
| 2 | + |
| 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. |
| 5 | +OSI defines top-level messages that are used to exchange data between separate models. |
| 6 | +Top-level messages define the `GroundTruth` interface, the `SensorData` interface, and – since OSI version 3.0.0 – the interfaces `SensorView`, `SensorViewConfiguration`, and `FeatureData`. |
| 7 | + |
| 8 | +The following figure shows the interfaces and models involved in modeling a sensor. |
| 9 | + |
| 10 | +.Open Simulation Interface overview |
| 11 | +image::{images_open_simulation_interface}/osi-context.png[1100] |
| 12 | + |
| 13 | + |
| 14 | +OSI also defines interfaces for traffic participant models. |
| 15 | +The `TrafficCommand` interface makes it possible to send commands to traffic participant models. |
| 16 | +The `TrafficUpdate` interface makes it possible to receive the updated state from traffic participant models. |
| 17 | +The following figure shows the interfaces of a generic traffic participant. |
| 18 | + |
| 19 | +.Interface of a traffic participant |
| 20 | +image::{images_open_simulation_interface}/osi-traffic-participant-principle.png[1100] |
| 21 | + |
| 22 | +Traffic participant models may use other OSI interfaces internally, for example, to model autonomous vehicles. |
| 23 | +The following figure shows a more advanced use case for traffic participants. |
| 24 | + |
| 25 | +.Traffic participant with sensor models, AD function, and dynamic model |
| 26 | +image::{images_open_simulation_interface}/osi-traffic-participant-advanced.png[1100] |
| 27 | + |
| 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. |
| 30 | +Actuator intentions are currently not covered by OSI and must be handled with a different data description format. |
| 31 | + |
| 32 | +All fields in an interface are set to `optional`. |
| 33 | +`required` is not used. |
| 34 | +This has been done to allow backward-compatible changes in the field. |
| 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. |
| 37 | +However, this does not mean that filling the field is optional. |
| 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. |
| 39 | + |
| 40 | +All field numbers equal to or greater than 10000 are available for user-specific extensions via custom fields. |
| 41 | +Therefore, no future evolution of OSI will use field numbers equal to or greater than 10000. |
0 commit comments