public void Predict(double motion) { mMotionDistribution.Mean = motion; mBeliefDistribution = KalmanFilter1DHelper.Predict(mBeliefDistribution, mMotionDistribution); }
public void Update(double measurement) { mMeasurementDistribution.Mean = measurement; mBeliefDistribution = KalmanFilter1DHelper.Update(mBeliefDistribution, mMeasurementDistribution); }