UnscentedTransform.h
Go to the documentation of this file.
1 // *****************************************************************
2 // Filename: UnscentedTransform.h
3 // Copyright: Kai Welke, Chair Prof. Dillmann (IAIM),
4 // Institute for Anthropomatics (IFA),
5 // Humanoids and Intelligence Systems Lab,
6 // Karlsruhe Institute of Technology. All rights reserved.
7 // Author: Kai Welke
8 // Date: 20.01.2010
9 // *****************************************************************
10 #pragma once
11 
12 #include "Gaussian.h"
13 #include <Eigen/Eigen>
14 
15 // *****************************************************************
16 // definition of class UnscenterTransform
17 // *****************************************************************
19 {
20 public:
21  // construction / destruction
22  UnscentedTransform(float fAlpha = 0.1, float fKappa = 0.0f, float fBeta = 2.0f);
23 
24  // retrieve sigmapoints in column order, if not diagonal has to be positive definite with eigenvalues >> 0
25  Eigen::MatrixXd getSigmaPoints(const Gaussian& gaussian);
26 
27  // reassemble gaussian from sigmapoints
28  Gaussian extractGaussian(Eigen::MatrixXd processedSigmaPoints);
29 
30 private:
31  Eigen::MatrixXd squareRoot(Eigen::MatrixXd input);
32 
33  float m_fAlpha;
34  float m_fKappa;
35  float m_fBeta;
36 
37  Eigen::VectorXd m_weights_m;
38  Eigen::VectorXd m_weights_c;
39 };
40 
UnscentedTransform
Definition: UnscentedTransform.h:18
UnscentedTransform::getSigmaPoints
Eigen::MatrixXd getSigmaPoints(const Gaussian &gaussian)
Definition: UnscentedTransform.cpp:23
UnscentedTransform::extractGaussian
Gaussian extractGaussian(Eigen::MatrixXd processedSigmaPoints)
Definition: UnscentedTransform.cpp:75
armarx::aron::input
ReaderT::InputType & input
Definition: rw.h:19
Gaussian.h
Gaussian
Definition: Gaussian.h:46
UnscentedTransform::UnscentedTransform
UnscentedTransform(float fAlpha=0.1, float fKappa=0.0f, float fBeta=2.0f)
Definition: UnscentedTransform.cpp:16