$VULCAN/src/kalman-filter.scm
defines the class <kalman-filter>
. Suppose a discrete system described as
The class <kalman-filter>
implements the equations above. The methods associated with the class are:
(start (self <kalman-filter>) initial-state initial-covariance) (project (self <kalman-filter>) reading) (update (self <kalman-filter>) reading) (new-state (self <kalman-filter>) T G Q)The method project updates the new state of the system, given the previous state and the new reading. The method update updates the system's state given a reading. The method (new-state (self <kalman-filter>) T G Q) projects ahead the filter's state and covariance by using the dynamical part of the system. When T, G or Q are given, new-state uses them instead of the ones associated with the filter.
The state and readings of the kalman filter are represented by 1xn matrices (see 3.1.2). In the appendix we provide a complete example of how to use this class (see Appendix A.1, page ).