Kalman

constructor(R: Double, Q: Double)

Construct a new 1D Kalman filter.

Parameters

R

higher values of R puts more trust in the model

Q

higher values of Q trusts the sensor more