toggle menu
BunyipsLib
v4.1.0-master-b97a0460
BunyipsLib
switch theme
search in API
BunyipsLib
/
org.murraybridgebunyips.bunyipslib
/
Filter
/
Kalman
Kalman
open
class
Kalman
A basic 1D
Kalman filter
that estimates state from a model and sensor over time.
Members
Constructors
Kalman
Link copied to clipboard
constructor
(
R
:
Double
,
Q
:
Double
)
Construct a new 1D Kalman filter.
Properties
K_CONVERGE
Link copied to clipboard
open
var
K_CONVERGE
:
Int
Number of iterations to take during construction to converge the K gain.
Functions
calculate
Link copied to clipboard
open
fun
calculate
(
model
:
Double
,
sensor
:
Double
)
:
Double
Calculate a new Kalman filter estimate.