Jafar
|
00001 # ifndef CONST_POSITION_KF_H 00002 # define CONST_POSITION_KF_H 00003 00004 #include <iostream> 00005 namespace jafar{ 00006 namespace lines{ 00008 00012 class ConstPositionKF{ 00013 public: 00014 ConstPositionKF(); 00015 00019 void initKF(double initPos, double initVar); 00020 00027 void updateKF(double y, double sigmaY, double sigmaV); 00028 00032 void getPred(double& pos, double& c11){ 00033 pos = x1Pred; 00034 c11 = cov11Pred; 00035 } 00036 00040 double getPosPred(){return x1Pred;} 00041 00045 double getPosVar(){return cov11;} 00046 00047 private: 00048 double x1; 00049 00050 double cov11; 00051 00052 00053 double x1Pred; 00054 00055 double cov11Pred; 00056 00057 00058 }; 00059 } // namespace lines 00060 } // namespace jafar 00061 # endif
Generated on Wed Oct 15 2014 00:37:24 for Jafar by doxygen 1.7.6.1 |