KalmanFilter.h
Go to the documentation of this file.
1 
18 #pragma once
19 
20 #include <chrono>
21 
22 #include <Eigen/Dense>
23 
24 #include <asr_msgs/AsrObject.h>
25 
26 #include <ISM/common_type/Object.hpp>
27 
37  class KalmanFilter {
38  private:
42  bool mReset;
43 
47  std::chrono::high_resolution_clock::time_point lastUpdate;
48 
52  Eigen::MatrixXd mF;
53 ;
57  Eigen::MatrixXd mH;
58 
62  Eigen::MatrixXd mQ;
63 
67  Eigen::MatrixXd mR;
68 
72  Eigen::MatrixXd mP;
73 
77  Eigen::VectorXd mX;
78 
82  Eigen::VectorXd mZ;
83 
87  ISM::Object mInstance;
88 
89 
90  public:
95  KalmanFilter(ISM::Object pObject);
96 
100  ~KalmanFilter();
101 
105  void reset();
106 
111  void update(ISM::Object pObject);
112 
118  bool isTimedOut(unsigned int threshold);
119 
124  ISM::Object getObject();
125  };
126 }
std::chrono::high_resolution_clock::time_point lastUpdate
Definition: KalmanFilter.h:47
bool isTimedOut(unsigned int threshold)


asr_psm
Author(s): Braun Kai, Gehrung Joachim, Heizmann Heinrich, Meißner Pascal
autogenerated on Fri Nov 15 2019 03:57:54