34#ifndef VP_UK_SIGMA_DRAWER_MERWE_H
35#define VP_UK_SIGMA_DRAWER_MERWE_H
39#include <visp3/core/vpConfig.h>
41#include <visp3/core/vpUKSigmaDrawerAbstract.h>
42#include <visp3/core/vpUnscentedKalman.h>
44#if (VISP_CXX_STANDARD >= VISP_CXX_STANDARD_11)
112 vpUKSigmaDrawerMerwe(
const unsigned int &n,
const double &alpha,
const double &beta,
const double &kappa,
Implementation of column vector and the associated operations.
Implementation of a matrix and operations on matrices.
virtual vpSigmaPointsWeights computeWeights()=0
Computed the weights that correspond to the sigma points that have been drawn.
virtual std::vector< vpColVector > drawSigmaPoints(const vpColVector &mean, const vpMatrix &covariance)=0
Draw the sigma points according to the current mean and covariance of the state of the Unscented Kalm...
vpUKSigmaDrawerAbstract(const unsigned int &n)
vpUKSigmaDrawerMerwe(const unsigned int &n, const double &alpha, const double &beta, const double &kappa, const vpAddSubFunction &resFunc=vpUnscentedKalman::simpleResidual, const vpAddSubFunction &addFunc=vpUnscentedKalman::simpleAdd)
Construct a new vpUKSigmaDrawerMerwe object.
vpAddSubFunction m_resFunc
vpUnscentedKalman::vpAddSubFunction vpAddSubFunction
vpAddSubFunction m_addFunc
static vpColVector simpleAdd(const vpColVector &a, const vpColVector &toAdd)
Simple function to compute an addition, which just does .
static vpColVector simpleResidual(const vpColVector &a, const vpColVector &toSubtract)
Simple function to compute a residual, which just does .
std::function< vpColVector(const vpColVector &, const vpColVector &)> vpAddSubFunction
Function that computes either the equivalent of an addition or the equivalent of a subtraction in the...
The weights corresponding to the sigma points drawing.