00001 ////////////////////////////////////////////////////////////////////////////////////////////////// 00002 /*! \file IteratedExtendedKalmanFilterHistory.h 00003 * \brief Provides functionality beyond KalmanFilterHistory to store the number of iterations at each time-step. 00004 * \author $Author: cakinli $ 00005 * \version $Revision: 1.6 $ 00006 * \date $Date: 2005/03/16 18:08:13 $ 00007 *////////////////////////////////////////////////////////////////////////////////////////////////// 00008 /* 00009 */ 00010 ////////////////////////////////////////////////////////////////////////////////////////////////// 00011 00012 #ifndef __SSSL_ITERATEDEXTENDEDKALMANFILTER_HISTORY_H__ 00013 #define __SSSL_ITERATEDEXTENDEDKALMANFILTER_HISTORY_H__ 00014 00015 #include "utils/Time.h" 00016 #include <datahandling/History.h> 00017 #include <matrix/Matrix.h> 00018 #include <Logging/ExtendedKalmanFilterHistory.h> 00019 #include <Filtering/IteratedExtendedKalmanFilter.h> 00020 #include <vector> 00021 using namespace std; 00022 using namespace O_SESSAME; 00023 00024 /*! \brief Provides functionality beyond KalmanFilterHistory to store the number of iterations at each time-step. 00025 ** 00026 */ 00027 class IteratedExtendedKalmanFilterHistory : public ExtendedKalmanFilterHistory 00028 { 00029 public: 00030 IteratedExtendedKalmanFilterHistory(IteratedExtendedKalmanFilter* _ptr_filter); 00031 virtual ~IteratedExtendedKalmanFilterHistory() {}; 00032 00033 void AppendHistory(const double& _appendTime); 00034 void AppendHistory(const ssfTime& _appendTime); 00035 00036 // INSPECTORS 00037 Vector GetIterationHistory(); 00038 00039 00040 private: 00041 /*! \brief internal vector container of the number of iterations used in the measurement update. */ 00042 vector<int> m_iekfIterationHistory; 00043 00044 00045 }; 00046 00047 00048 #endif 00049 00050 00051 // Do not change the comments below - they will be added automatically by CVS 00052 /***************************************************************************** 00053 * $Log: IteratedExtendedKalmanFilterHistory.h,v $ 00054 * Revision 1.6 2005/03/16 18:08:13 cakinli 00055 * *** empty log message *** 00056 * 00057 * Revision 1.5 2003/11/01 21:00:14 rsharo 00058 * changed "Time.h" includes to "utils/Time.h" includes. Also eliminated excess compile warnings. 00059 * 00060 * Revision 1.4 2003/07/12 18:19:59 simpliciter 00061 * Fixed linker errors. 00062 * 00063 * Revision 1.3 2003/07/12 17:55:17 simpliciter 00064 * Working. 00065 * 00066 * Revision 1.2 2003/06/12 20:51:41 simpliciter 00067 * Changed from iterative-named base class to sequential. 00068 * 00069 * Revision 1.1 2003/06/11 20:58:13 simpliciter 00070 * Initial submission. 00071 * 00072 * 00073 * 00074 ******************************************************************************/