diff options
author | Martin Miller | 2017-03-18 15:14:06 -0500 |
---|---|---|
committer | Martin Miller | 2017-03-18 15:14:06 -0500 |
commit | 3b0f0774e5f5b0ed4f296cc55b5b8eecc50029e2 (patch) | |
tree | c2646db30193fcd536cb299ed47796bdf7c38a5a /src/state.h | |
parent | 9c4f2174b786d3971d64445bfb50a6ad33921f5a (diff) | |
download | refslam-3b0f0774e5f5b0ed4f296cc55b5b8eecc50029e2.zip refslam-3b0f0774e5f5b0ed4f296cc55b5b8eecc50029e2.tar.gz |
Add State class
The State class contains the body and feature classes. It is responsible
for composing matrices, and performing Kalman updates.
Diffstat (limited to 'src/state.h')
-rw-r--r-- | src/state.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/state.h b/src/state.h new file mode 100644 index 0000000..3a17ea5 --- /dev/null +++ b/src/state.h @@ -0,0 +1,39 @@ +#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 ); + + protected: + /* ==================== METHODS ======================================= */ + + /* ==================== DATA MEMBERS ======================================= */ + + private: + /* ==================== METHODS ======================================= */ + + /* ==================== DATA MEMBERS ======================================= */ + +}; /* ----- end of class State ----- */ + + + +#endif /* ----- #ifndef state_INC ----- */ |