@@ -20,24 +20,24 @@ Kinds of Models
20
20
The current specification supports the following kinds of models, that
21
21
can be packaged as FMUs:
22
22
23
- - Environmental effect models, which consume ``osi ::SensorView `` as input
24
- and produce ``osi ::SensorView `` as output,
23
+ - Environmental effect models, which consume ``osi3 ::SensorView `` as input
24
+ and produce ``osi3 ::SensorView `` as output,
25
25
26
- - Sensor models, which consume ``osi ::SensorView `` as input and generate
27
- ``osi ::SensorData `` as output,
26
+ - Sensor models, which consume ``osi3 ::SensorView `` as input and generate
27
+ ``osi3 ::SensorData `` as output,
28
28
29
29
- Logical models, like e.g. sensor fusion models, which consume
30
- ``osi ::SensorData `` as input and produce ``osi ::SensorData `` as output.
30
+ ``osi3 ::SensorData `` as input and produce ``osi3 ::SensorData `` as output.
31
31
32
- - Traffic Participant models, which consume ``osi ::SensorView `` as input
33
- and generate ``osi ::TrafficUpdate `` as output. These models can
32
+ - Traffic Participant models, which consume ``osi3 ::SensorView `` as input
33
+ and generate ``osi3 ::TrafficUpdate `` as output. These models can
34
34
internally use e.g. Environmental effect, Sensor and/or Logical models
35
35
as part of a modeled autonomous vehicle, but they can also be used to
36
36
implement surrounding traffic in simplified ways. Optionally, traffic
37
- participant models can consume ``osi ::TrafficCommand `` as input, to
37
+ participant models can consume ``osi3 ::TrafficCommand `` as input, to
38
38
allow control by a scenario engine as part of the simulation.
39
39
40
- All models can optionally also consume a global ``osi ::GroundTruth ``
40
+ All models can optionally also consume a global ``osi3 ::GroundTruth ``
41
41
during initialization.
42
42
43
43
Additionally complex models that combine various aspects of the model
@@ -64,7 +64,7 @@ The following basic conventions apply:
64
64
65
65
.. code :: XML
66
66
67
- <Tool name="net.pmsf.osmp" xmlns:osmp="http://xsd.pmsf.net/OSISensorModelPackaging"><osmp:osmp version="1.0 .0" osi-version="3.0 .0"/></Tool>
67
+ <Tool name="net.pmsf.osmp" xmlns:osmp="http://xsd.pmsf.net/OSISensorModelPackaging"><osmp:osmp version="1.1 .0" osi-version="3.3 .0"/></Tool>
68
68
69
69
where the ``osi-version `` attribute SHOULD contain the major, minor
70
70
and patch version number of the open simulation interface
@@ -163,10 +163,10 @@ the following convention is used to define such variables for FMI 2.0:
163
163
``<mime-type> ``, which MUST be a valid MIME type specification.
164
164
165
165
In the case of OSI-specified data, the MIME type MUST be of the form
166
- ``application/x-open-simulation-interface; type=SensorView; version=3.0 .0 ``
166
+ ``application/x-open-simulation-interface; type=SensorView; version=3.3 .0 ``
167
167
indicating that the binary content is conformant to a given OSI
168
- version (3.0 .0 in this example), containing a message of the type
169
- given in the ``type `` parameter (````osi ::SensorView`` `` in this
168
+ version (3.3 .0 in this example), containing a message of the type
169
+ given in the ``type `` parameter (````osi3 ::SensorView`` `` in this
170
170
example).
171
171
172
172
The version parameter given for the MIME type
@@ -206,9 +206,9 @@ Sensor View Inputs
206
206
207
207
- The MIME type of the variable MUST specify the ``type=SensorView ``,
208
208
e.g.
209
- ``application/x-open-simulation-interface; type=SensorView; version=3.0 .0 ``.
209
+ ``application/x-open-simulation-interface; type=SensorView; version=3.3 .0 ``.
210
210
211
- - The sensor view MUST be encoded as ``osi ::SensorView `` (see the OSI
211
+ - The sensor view MUST be encoded as ``osi3 ::SensorView `` (see the OSI
212
212
specification documentation for more details).
213
213
214
214
- The guaranteed lifetime of the sensor view protocol buffer pointer
@@ -245,9 +245,9 @@ Sensor View Input Configuration
245
245
246
246
- The MIME type of both variables MUST specify the
247
247
``type=SensorViewConfiguration ``, e.g.
248
- ``application/x-open-simulation-interface; type=SensorViewConfiguration; version=3.0 .0 ``.
248
+ ``application/x-open-simulation-interface; type=SensorViewConfiguration; version=3.3 .0 ``.
249
249
250
- - The variables values MUST be encoded as ``osi ::SensorViewConfiguration ``
250
+ - The variables values MUST be encoded as ``osi3 ::SensorViewConfiguration ``
251
251
(see the OSI specification documentation for more details).
252
252
253
253
- As long as no non-zero value has been assigned to the corresponding
@@ -287,9 +287,9 @@ Sensor View Outputs
287
287
288
288
- The MIME type of the variable MUST specify the ``type=SensorView ``,
289
289
e.g.
290
- ``application/x-open-simulation-interface; type=SensorView; version=3.0 .0 ``.
290
+ ``application/x-open-simulation-interface; type=SensorView; version=3.3 .0 ``.
291
291
292
- - The sensor view MUST be encoded as ``osi ::SensorView `` (see the OSI
292
+ - The sensor view MUST be encoded as ``osi3 ::SensorView `` (see the OSI
293
293
specification documentation for more details).
294
294
295
295
- The guaranteed lifetime of the sensor view protocol buffer pointer
@@ -327,9 +327,9 @@ Sensor Data Outputs
327
327
328
328
- The MIME type of the variable MUST specify the ``type=SensorData ``,
329
329
e.g.
330
- ``application/x-open-simulation-interface; type=SensorData; version=3.0 .0 ``.
330
+ ``application/x-open-simulation-interface; type=SensorData; version=3.3 .0 ``.
331
331
332
- - The sensor data MUST be encoded as ``osi ::SensorData `` (see the OSI
332
+ - The sensor data MUST be encoded as ``osi3 ::SensorData `` (see the OSI
333
333
specification documentation for more details).
334
334
335
335
- The guaranteed lifetime of the sensor data protocol buffer pointer
@@ -368,9 +368,9 @@ Sensor Data Inputs
368
368
369
369
- The MIME type of the variable MUST specify the ``type=SensorData ``,
370
370
e.g.
371
- ``application/x-open-simulation-interface; type=SensorData; version=3.0 .0 ``.
371
+ ``application/x-open-simulation-interface; type=SensorData; version=3.3 .0 ``.
372
372
373
- - The sensor data MUST be encoded as ``osi ::SensorData `` (see the OSI
373
+ - The sensor data MUST be encoded as ``osi3 ::SensorData `` (see the OSI
374
374
specification documentation for more details).
375
375
376
376
- The guaranteed lifetime of the sensor data protocol buffer pointer
@@ -388,7 +388,7 @@ Sensor Data Inputs
388
388
GroundTruth Initialization Parameters
389
389
-------------------------------------
390
390
391
- - All models CAN optionally consume an ``osi ::GroundTruth `` as an
391
+ - All models CAN optionally consume an ``osi3 ::GroundTruth `` as an
392
392
initialization parameter.
393
393
394
394
- If a model needs a ground truth during initialization, it MUST have
@@ -403,7 +403,7 @@ GroundTruth Initialization Parameters
403
403
- The MIME type of the variable MUST specify the ``type=GroundTruth ``, e.g.
404
404
``application/x-open-simulation-interface; type=GroundTruth; version=3.3.0 ``.
405
405
406
- - ``OSMPGroundTruthInit `` MUST be encoded as ``osi ::GroundTruth `` (see the OSI
406
+ - ``OSMPGroundTruthInit `` MUST be encoded as ``osi3 ::GroundTruth `` (see the OSI
407
407
specification documentation for more details).
408
408
409
409
- ``OSMPGroundTruthInit `` MUST contain all static data (e.g. roads) encountered
@@ -444,7 +444,7 @@ Traffic Update Outputs
444
444
e.g.
445
445
``application/x-open-simulation-interface; type=TrafficUpdate; version=3.3.0 ``.
446
446
447
- - The traffic update MUST be encoded as ``osi ::TrafficUpdate `` (see the
447
+ - The traffic update MUST be encoded as ``osi3 ::TrafficUpdate `` (see the
448
448
OSI specification documentation for more details).
449
449
450
450
- The guaranteed lifetime of the traffic update protocol buffer pointer
@@ -488,7 +488,7 @@ Traffic Command Inputs
488
488
e.g.
489
489
``application/x-open-simulation-interface; type=TrafficCommand; version=3.3.0 ``.
490
490
491
- - The traffic command MUST be encoded as ``osi ::TrafficCommand `` (see
491
+ - The traffic command MUST be encoded as ``osi3 ::TrafficCommand `` (see
492
492
the OSI specification documentation for more details).
493
493
494
494
- The guaranteed lifetime of the traffic command protocol buffer pointer
@@ -521,43 +521,43 @@ with one input and output and no additional features:
521
521
canNotUseMemoryManagementFunctions="true"/>
522
522
<DefaultExperiment startTime="0.0" stepSize="0.020"/>
523
523
<VendorAnnotations>
524
- <Tool name="net.pmsf.osmp" xmlns:osmp="http://xsd.pmsf.net/OSISensorModelPackaging"><osmp:osmp version="1.0 .0" osi-version="3.0 .0"/></Tool>
524
+ <Tool name="net.pmsf.osmp" xmlns:osmp="http://xsd.pmsf.net/OSISensorModelPackaging"><osmp:osmp version="1.1 .0" osi-version="3.3 .0"/></Tool>
525
525
</VendorAnnotations>
526
526
<ModelVariables>
527
527
<ScalarVariable name="OSMPSensorViewIn.base.lo" valueReference="0" causality="input" variability="discrete">
528
528
<Integer start="0"/>
529
529
<Annotations>
530
- <Tool name="net.pmsf.osmp" xmlns:osmp="http://xsd.pmsf.net/OSISensorModelPackaging"><osmp:osmp-binary-variable name="OSMPSensorViewIn" role="base.lo" mime-type="application/x-open-simulation-interface; type=SensorView; version=3.0 .0"/></Tool>
530
+ <Tool name="net.pmsf.osmp" xmlns:osmp="http://xsd.pmsf.net/OSISensorModelPackaging"><osmp:osmp-binary-variable name="OSMPSensorViewIn" role="base.lo" mime-type="application/x-open-simulation-interface; type=SensorView; version=3.3 .0"/></Tool>
531
531
</Annotations>
532
532
</ScalarVariable>
533
533
<ScalarVariable name="OSMPSensorViewIn.base.hi" valueReference="1" causality="input" variability="discrete">
534
534
<Integer start="0"/>
535
535
<Annotations>
536
- <Tool name="net.pmsf.osmp" xmlns:osmp="http://xsd.pmsf.net/OSISensorModelPackaging"><osmp:osmp-binary-variable name="OSMPSensorViewIn" role="base.hi" mime-type="application/x-open-simulation-interface; type=SensorView; version=3.0 .0"/></Tool>
536
+ <Tool name="net.pmsf.osmp" xmlns:osmp="http://xsd.pmsf.net/OSISensorModelPackaging"><osmp:osmp-binary-variable name="OSMPSensorViewIn" role="base.hi" mime-type="application/x-open-simulation-interface; type=SensorView; version=3.3 .0"/></Tool>
537
537
</Annotations>
538
538
</ScalarVariable>
539
539
<ScalarVariable name="OSMPSensorViewIn.size" valueReference="2" causality="input" variability="discrete">
540
540
<Integer start="0"/>
541
541
<Annotations>
542
- <Tool name="net.pmsf.osmp" xmlns:osmp="http://xsd.pmsf.net/OSISensorModelPackaging"><osmp:osmp-binary-variable name="OSMPSensorViewIn" role="size" mime-type="application/x-open-simulation-interface; type=SensorView; version=3.0 .0"/></Tool>
542
+ <Tool name="net.pmsf.osmp" xmlns:osmp="http://xsd.pmsf.net/OSISensorModelPackaging"><osmp:osmp-binary-variable name="OSMPSensorViewIn" role="size" mime-type="application/x-open-simulation-interface; type=SensorView; version=3.3 .0"/></Tool>
543
543
</Annotations>
544
544
</ScalarVariable>
545
545
<ScalarVariable name="OSMPSensorDataOut.base.lo" valueReference="3" causality="output" variability="discrete" initial="exact">
546
546
<Integer start="0"/>
547
547
<Annotations>
548
- <Tool name="net.pmsf.osmp" xmlns:osmp="http://xsd.pmsf.net/OSISensorModelPackaging"><osmp:osmp-binary-variable name="OSMPSensorDataOut" role="base.lo" mime-type="application/x-open-simulation-interface; type=SensorData; version=3.0 .0"/></Tool>
548
+ <Tool name="net.pmsf.osmp" xmlns:osmp="http://xsd.pmsf.net/OSISensorModelPackaging"><osmp:osmp-binary-variable name="OSMPSensorDataOut" role="base.lo" mime-type="application/x-open-simulation-interface; type=SensorData; version=3.3 .0"/></Tool>
549
549
</Annotations>
550
550
</ScalarVariable>
551
551
<ScalarVariable name="OSMPSensorDataOut.base.hi" valueReference="4" causality="output" variability="discrete" initial="exact">
552
552
<Integer start="0"/>
553
553
<Annotations>
554
- <Tool name="net.pmsf.osmp" xmlns:osmp="http://xsd.pmsf.net/OSISensorModelPackaging"><osmp:osmp-binary-variable name="OSMPSensorDataOut" role="base.hi" mime-type="application/x-open-simulation-interface; type=SensorData; version=3.0 .0"/></Tool>
554
+ <Tool name="net.pmsf.osmp" xmlns:osmp="http://xsd.pmsf.net/OSISensorModelPackaging"><osmp:osmp-binary-variable name="OSMPSensorDataOut" role="base.hi" mime-type="application/x-open-simulation-interface; type=SensorData; version=3.3 .0"/></Tool>
555
555
</Annotations>
556
556
</ScalarVariable>
557
557
<ScalarVariable name="OSMPSensorDataOut.size" valueReference="5" causality="output" variability="discrete" initial="exact">
558
558
<Integer start="0"/>
559
559
<Annotations>
560
- <Tool name="net.pmsf.osmp" xmlns:osmp="http://xsd.pmsf.net/OSISensorModelPackaging"><osmp:osmp-binary-variable name="OSMPSensorDataOut" role="size" mime-type="application/x-open-simulation-interface; type=SensorData; version=3.0 .0"/></Tool>
560
+ <Tool name="net.pmsf.osmp" xmlns:osmp="http://xsd.pmsf.net/OSISensorModelPackaging"><osmp:osmp-binary-variable name="OSMPSensorDataOut" role="size" mime-type="application/x-open-simulation-interface; type=SensorData; version=3.3 .0"/></Tool>
561
561
</Annotations>
562
562
</ScalarVariable>
563
563
</ModelVariables>
0 commit comments