Kalman.h
Go to the documentation of this file.
1 // Based on https://github.com/Smorodov/Multitarget-tracker/tree/master/Tracker, GPLv3
2 // Refer to README.md in this directory.
3 
4 #pragma once
5 #include "defines.h"
6 #include <opencv2/opencv.hpp>
7 
8 // http://www.morethantechnical.com/2011/06/17/simple-kalman-filter-for-tracking-using-opencv-2-2-w-code/
10 {
11 public:
12  TKalmanFilter(Point_t p, track_t deltatime = 0.2);
14  void Prediction();
15  Point_t Update(Point_t p, bool DataCorrect);
16  cv::KalmanFilter* kalman;
18  Point_t LastPosition; // contour in [px]
19  Point_t LastVelocity; // velocity in [px/s]
20 };
~TKalmanFilter()
Definition: Kalman.cpp:63
Point_t Update(Point_t p, bool DataCorrect)
Definition: Kalman.cpp:74
cv::Point3_< track_t > Point_t
Definition: defines.h:8
cv::KalmanFilter * kalman
Definition: Kalman.h:16
Point_t LastPosition
Definition: Kalman.h:18
track_t dt
Definition: Kalman.h:17
TKalmanFilter(Point_t p, track_t deltatime=0.2)
Definition: Kalman.cpp:11
float track_t
Definition: defines.h:7
Point_t LastVelocity
Definition: Kalman.h:19
void Prediction()
Definition: Kalman.cpp:66


costmap_converter
Author(s): Christoph Rösmann , Franz Albers , Otniel Rinaldo
autogenerated on Sat May 16 2020 03:19:18