pub struct ControllerConfig {
pub select_offset_uncertainty_window: f64,
pub select_link_uncertainty_window: f64,
pub select_delay_uncertainty_window: f64,
pub select_max_window_size: Duration,
pub minimum_agreeing_sources: usize,
}Expand description
Configuration global to the KalmanController.
This contains parameters controlling how individual sources are selected.
Fields§
§select_offset_uncertainty_window: f64Size of the window of uncertainty to assume around source offset for judging whether it is a truechimer, based on the observed noise in the offset.
select_link_uncertainty_window: f64Size of the window of uncertainty to assume around source offset for judging whether it is a truechimer, based on the observed link delay noise.
select_delay_uncertainty_window: f64Size of the window of uncertainty to assume around source offset for judging whether it is a truechimer, from potential asymmetry due to delay and root delay.
select_max_window_size: DurationMaximum size of the window of uncertainty before we judge a source to be unsuitable for synchronization.
minimum_agreeing_sources: usizeMinimum number of sources that need to agree on the current time before we enable synchronization.