Configuration parameters for data synchronization. More...
Functions | |
SynchronizationParameter (double windowSize, double dataSourceTimeout, bool keepLastData, double maximumLateness) | |
Default constructor. More... | |
Attributes | |
double | windowSize |
Size of synchronization windows in milliseconds. The synchronization window is used by the synchronizer to return all data present inside the current synchronization window.For efficient fusion, the synchronization window size is expected to be equal to the mean grab() duration of the camera at the lowest FPS. If not provided, the fusion SDK will compute it from the data's sources. Default value: 0 More... | |
double | dataSourceTimeout |
Duration in milliseconds before considering a camera as inactive if no more data is present (for example camera disconnection). The data_source_timeout parameter specifies the duration to wait before considering a camera as inactive if no new data is received within the specified time frame. More... | |
bool | keepLastData |
Determines whether to include the last data returned by a source in the final synchronized data. If the keep_last_data parameter is set to true and no data is present in the current synchronization window, the last data returned by the source will be included in the final synchronized data. This ensures continuity even in the absence of fresh data. More... | |
double | maximumLateness |
Maximum duration in milliseconds allowed for data to be considered as the last data. The maximum_lateness parameter sets the maximum duration within which data can be considered as the last available data. If the duration between the last received data and the current synchronization window exceeds this value, the data will not be included as the last data in the final synchronized output. More... | |
Configuration parameters for data synchronization.
|
inline |
Default constructor.
double windowSize |
Size of synchronization windows in milliseconds. The synchronization window is used by the synchronizer to return all data present inside the current synchronization window.For efficient fusion, the synchronization window size is expected to be equal to the mean grab()
duration of the camera at the lowest FPS. If not provided, the fusion SDK will compute it from the data's sources. Default value: 0
Referenced by SynchronizationParameter.SynchronizationParameter().
double dataSourceTimeout |
Duration in milliseconds before considering a camera as inactive if no more data is present (for example camera disconnection). The data_source_timeout parameter specifies the duration to wait before considering a camera as inactive if no new data is received within the specified time frame.
Referenced by SynchronizationParameter.SynchronizationParameter().
bool keepLastData |
Determines whether to include the last data returned by a source in the final synchronized data. If the keep_last_data parameter is set to true and no data is present in the current synchronization window, the last data returned by the source will be included in the final synchronized data. This ensures continuity even in the absence of fresh data.
Referenced by SynchronizationParameter.SynchronizationParameter().
double maximumLateness |
Maximum duration in milliseconds allowed for data to be considered as the last data. The maximum_lateness parameter sets the maximum duration within which data can be considered as the last available data. If the duration between the last received data and the current synchronization window exceeds this value, the data will not be included as the last data in the final synchronized output.
Referenced by SynchronizationParameter.SynchronizationParameter().