Kalman

open class Kalman

A basic 1D Kalman filter that estimates state from a model and sensor over time.

Constructors

Link copied to clipboard
constructor(R: Double, Q: Double)
Construct a new 1D Kalman filter.

Properties

Link copied to clipboard
open var K_CONVERGE: Int
Number of iterations to take during construction to converge the K gain.

Functions

Link copied to clipboard
open fun calculate(model: Double, sensor: Double): Double
Calculate a new Kalman filter estimate.