pub fn new(track: Track, sample: Sample, diagnostics: Arc<D>) -> Self {
        let filter = KalmanFilter::new(sample);
        diagnostics.record(Event::EstimateUpdated {
            track,
            offset: filter.offset(),
            sqrt_covariance: filter.sqrt_covariance(),
        });
        Estimator { filter, track, diagnostics }
    }
/// Construct a new estimator initialized to the supplied sample.
Construct a new estimator initialized to the supplied sample.
Construct a new estimator initialized to the supplied sample .
pub fn new(track: Track, sample: Sample, diagnostics: Arc<D>) -> Self {
        let filter = KalmanFilter::new(sample);
        diagnostics.record(Event::EstimateUpdated {
            track,
            offset: filter.offset(),
            sqrt_covariance: filter.sqrt_covariance(),
        });
        Estimator { filter, track, diagnostics }
    }
pub fn new ( track : Track , sample : Sample , diagnostics : Arc < D > ) -> Self { let filter = KalmanFilter :: new ( sample ) ; diagnostics . record ( Event :: EstimateUpdated { track , offset : filter . offset ( ) , sqrt_covariance : filter . sqrt_covariance ( ) , } ) ; Estimator { filter , track , diagnostics } }
Construct a new estimator initialized to the supplied sample.
Construct a new estimator initialized to the supplied sample .
track
Track
sample
Sample
diagnostics
Arc<D>
track
Track
sample
Sample
diagnostics
Arc<D>