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/spec/ground_truth_init_parameters.adoc
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,8 +7,8 @@ endif::[]
7
7
All models can optionally consume `osi3::GroundTruth` via an initialization parameter called `OSMPGroundTruthInit`.
8
8
Its purpose is to provide the model with information that does not change throughout the simulation, for example the map in OSI format or the model_reference of a MovingObject.
9
9
10
-
`OSMPGroundTruthInit` contains all constant data encountered by the model during a simulation run, for example, roads.
11
-
All data provided in this message can be assumed by the receiver to be constant during the simulation run.
10
+
`OSMPGroundTruthInit` contains all data encountered by the model that does not change during a simulation run, for example, roads.
11
+
All data provided in this message can be assumed by the receiver to not change during the simulation run.
12
12
13
13
If the model is instantiated multiple times, all instantiations should receive the exact same content.
14
14
This allows a model to do expensive map calculations or loading 3D assets only once during initialization, and to share the calculated data between multiple instantiations.
@@ -28,7 +28,7 @@ OSMPGroundTruthInit
28
28
* `OSMPGroundTruthInit` shall be defined as a notional discrete binary input parameter variable, with `@causality="parameter"`, `@variability="fixed"` and `@initial="exact"`.
29
29
* The MIME type of the variable shall specify the `type=GroundTruth` as part of the MIME type parameters.
30
30
* `OSMPGroundTruthInit` shall be encoded as `osi3::GroundTruth`.
31
-
* `OSMPGroundTruthInit` shall contain all constant data encountered by the model during a simulation run.
31
+
* `OSMPGroundTruthInit` shall contain all data encountered by the model that does not change during a simulation run.
32
32
* The IDs of objects in `OSMPGroundTruthInit` shall be identical to the IDs of the same objects contained in later `OSMPSensorViewIn` or other input data.
33
33
* If the model is instantiated multiple times, then all instantiations should receive the exact same content stored in the `OSMPGroundTruthInit` parameter.
34
34
* The guaranteed lifetime of the ground-truth protocol-buffer pointer provided as input to the FMU shall be from the time of the call to `fmi2SetInteger` that provides those values until the end of the following `fmi2ExitInitializationMode` call.
0 commit comments