Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
tests
ekf_test.hpp
Go to the documentation of this file.
1
// Copyright (C) 2008 Willow Garage inc.
2
//
3
// This program is free software; you can redistribute it and/or modify
4
// it under the terms of the GNU General Public License as published by
5
// the Free Software Foundation; either version 2 of the License, or
6
// (at your option) any later version.
7
//
8
// This program is distributed in the hope that it will be useful,
9
// but WITHOUT ANY WARRANTY; without even the implied warranty of
10
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
// GNU General Public License for more details.
12
//
13
// You should have received a copy of the GNU General Public License
14
// along with this program; if not, write to the Free Software
15
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
16
//
17
18
#ifndef EKF_TEST_HPP
19
#define EKF_TEST_HPP
20
21
#include <cppunit/extensions/HelperMacros.h>
22
#include <
filter/extendedkalmanfilter.h
>
23
#include <
model/linearanalyticsystemmodel_gaussianuncertainty.h
>
24
#include <
model/linearanalyticmeasurementmodel_gaussianuncertainty.h
>
25
#include <
pdf/linearanalyticconditionalgaussian.h
>
26
27
28
namespace
BFL
29
{
30
31
class
EKFTest
:
public
CppUnit::TestFixture
32
{
33
CPPUNIT_TEST_SUITE
(
EKFTest
);
34
CPPUNIT_TEST
(
testMeasUpdate
);
35
CPPUNIT_TEST_SUITE_END
();
36
37
public
:
38
void
setUp
();
39
void
tearDown
();
40
41
void
testMeasUpdate
();
42
43
private
:
44
double
epsilon_
;
45
LinearAnalyticMeasurementModelGaussianUncertainty
*
meas_model_
;
46
LinearAnalyticConditionalGaussian
*
meas_pdf_
;
47
Gaussian
*
prior_
;
48
ExtendedKalmanFilter
*
filter_
;
49
50
};
51
}
52
53
#endif // EKF_TEST_HPP
BFL::ExtendedKalmanFilter
Definition:
extendedkalmanfilter.h:43
BFL::Gaussian
Class representing Gaussian (or normal density)
Definition:
gaussian.h:27
BFL::EKFTest::setUp
void setUp()
Definition:
ekf_test.cpp:35
BFL::EKFTest::testMeasUpdate
void testMeasUpdate()
Definition:
ekf_test.cpp:75
BFL
Definition:
compare_filters/nonlinearanalyticconditionalgaussianmobile.cpp:24
linearanalyticsystemmodel_gaussianuncertainty.h
extendedkalmanfilter.h
BFL::EKFTest::tearDown
void tearDown()
Definition:
ekf_test.cpp:65
BFL::EKFTest::filter_
ExtendedKalmanFilter * filter_
Definition:
ekf_test.hpp:48
BFL::EKFTest
Definition:
ekf_test.hpp:31
BFL::EKFTest::CPPUNIT_TEST_SUITE
CPPUNIT_TEST_SUITE(EKFTest)
BFL::EKFTest::meas_pdf_
LinearAnalyticConditionalGaussian * meas_pdf_
Definition:
ekf_test.hpp:46
linearanalyticmeasurementmodel_gaussianuncertainty.h
BFL::EKFTest::prior_
Gaussian * prior_
Definition:
ekf_test.hpp:47
BFL::LinearAnalyticMeasurementModelGaussianUncertainty
Class for linear analytic measurementmodels with additive gaussian noise.
Definition:
linearanalyticmeasurementmodel_gaussianuncertainty.h:32
BFL::EKFTest::epsilon_
double epsilon_
Definition:
ekf_test.hpp:44
BFL::LinearAnalyticConditionalGaussian
Linear Conditional Gaussian.
Definition:
linearanalyticconditionalgaussian.h:35
BFL::EKFTest::CPPUNIT_TEST_SUITE_END
CPPUNIT_TEST_SUITE_END()
BFL::EKFTest::meas_model_
LinearAnalyticMeasurementModelGaussianUncertainty * meas_model_
Definition:
ekf_test.hpp:45
linearanalyticconditionalgaussian.h
BFL::EKFTest::CPPUNIT_TEST
CPPUNIT_TEST(testMeasUpdate)
bfl
Author(s): Klaas Gadeyne, Wim Meeussen, Tinne Delaet and many others. See web page for a full contributor list. ROS package maintained by Wim Meeussen.
autogenerated on Mon Jun 10 2019 12:47:59