summaryrefslogtreecommitdiff
path: root/src/state.h
blob: 743f5d84ac571b320bdf55b1d18abb301a1f45fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#ifndef  state_INC
#define  state_INC
#include <Eigen/Dense>
using Eigen::Matrix;
/*
 * =====================================================================================
 *        Class:  State
 *  Description:  
 * =====================================================================================
 */
class State
{
    public:
        /* ====================  LIFECYCLE     ======================================= */
        State (){};                             /* constructor */

        /* ====================  ACCESSORS     ======================================= */

        /* ====================  MUTATORS      ======================================= */

        /* ====================  OPERATORS     ======================================= */
        void Pkk1 ( Matrix<double,9,9> &P, const Matrix<double,9,9> &F,
            const Matrix<double,9,9> &Q );
        void update (Matrix<double,9,1> &X, Matrix<double,9,9> &P, 
                const Matrix<double,1,9> H, const Matrix<double,1,1> &h,
                const Matrix<double,1,1> &z, const Matrix<double,1,1> &R);

    protected:
        /* ====================  METHODS       ======================================= */

        /* ====================  DATA MEMBERS  ======================================= */

    private:
        /* ====================  METHODS       ======================================= */

        /* ====================  DATA MEMBERS  ======================================= */

}; /* -----  end of class State  ----- */



#endif   /* ----- #ifndef state_INC  ----- */