#include "filter.hpp" #include #include using namespace matrix; template class Vector; int main() { const size_t n_x = 6; const size_t n_y = 5; SquareMatrix P = eye()*0.1; SquareMatrix R = eye()*0.1; Matrix C; C(0,0) = 1; Vector r; r.setZero(); r(0) = 1; Vector dx; float beta = 0; kalman_correct(P, C, R, r, dx, beta); return 0; } /* vim: set et fenc=utf-8 ff=unix sts=0 sw=4 ts=4 : */