The sensor view is flexibly defined to provide different kinds of sensor models with appropriate input. The sensor view configuration defines the configuration of a particular sensor view.
The sensor-view-configuration message is used in the initialization phase of a simulation to negotiate the sensor view configuration for a particular sensor view input. It is also included as a sub-message in sensor view messages to indicate that the sensor view configuration is valid for a particular sensor view message.
Sensor-view-configuration data has two main applications:
-
It enables the environment simulation to provide the necessary input to a sensor model.
-
It enables a sensor model to check whether the input matches its requirements. If the input does not match the requirements, the sensor model may terminate the simulation.
|
Note
|
Sensor-view-configuration data is intended for the automatic configuration of the sensor view interface between environment simulation and sensor model. The data is not intended as a mechanism to parametrize a generic sensor model. |
During the initialization phase, there are two sources for sensor-view-configuration data:
-
Sensor-view-configuration data may be provided by the sensor model to the environment simulation. In this case, the data describes the input configuration that is requested by the sensor model. If no such data is provided by the sensor model, then the environment simulation will fall back to manual configuration of the sensor view.
-
Sensor-view-configuration data may be provided by the environment simulation. In response to the request by the sensor model, or based on manual configuration, the environment simulation configures the input and provides a new message that describes the actual configuration.
The configuration requested by the sensor model may differ from the configuration provided by the environment simulation. This happens when the environment simulation does not support a requested configuration or when the requested configuration is ambiguous.
In response to this difference, the sensor model can either accept this difference and adapt to it, or it can terminate the simulation to indicate that it is not able to accept the difference.
The packaging layer defines the specifics of this auto-negotiation mechanism.
After the initialization phase, the environment simulation provides the actual sensor view configuration as part of each sensor view message.