Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
include
costmap_converter
costmap_to_dynamic_obstacles
multitarget_tracker
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 <opencv/cv.h>
7
8
// http://www.morethantechnical.com/2011/06/17/simple-kalman-filter-for-tracking-using-opencv-2-2-w-code/
9
class
TKalmanFilter
10
{
11
public
:
12
TKalmanFilter
(
Point_t
p,
track_t
deltatime = 0.2);
13
~TKalmanFilter
();
14
void
Prediction
();
15
Point_t
Update
(
Point_t
p,
bool
DataCorrect);
16
cv::KalmanFilter*
kalman
;
17
track_t
dt
;
18
Point_t
LastPosition
;
// contour in [px]
19
Point_t
LastVelocity
;
// velocity in [px/s]
20
};
TKalmanFilter::~TKalmanFilter
~TKalmanFilter()
Definition:
Kalman.cpp:63
TKalmanFilter::Update
Point_t Update(Point_t p, bool DataCorrect)
Definition:
Kalman.cpp:74
Point_t
cv::Point3_< track_t > Point_t
Definition:
defines.h:8
TKalmanFilter::kalman
cv::KalmanFilter * kalman
Definition:
Kalman.h:16
TKalmanFilter
Definition:
Kalman.h:9
defines.h
TKalmanFilter::LastPosition
Point_t LastPosition
Definition:
Kalman.h:18
TKalmanFilter::dt
track_t dt
Definition:
Kalman.h:17
TKalmanFilter::TKalmanFilter
TKalmanFilter(Point_t p, track_t deltatime=0.2)
Definition:
Kalman.cpp:11
track_t
float track_t
Definition:
defines.h:7
TKalmanFilter::LastVelocity
Point_t LastVelocity
Definition:
Kalman.h:19
TKalmanFilter::Prediction
void Prediction()
Definition:
Kalman.cpp:66
costmap_converter
Author(s): Christoph Rösmann
, Franz Albers
, Otniel Rinaldo
autogenerated on Fri Jun 7 2019 21:48:43