Visual Servoing Platform version 3.7.0
Loading...
Searching...
No Matches
vpUKSigmaDrawerAbstract Class Referenceabstract

#include <vpUKSigmaDrawerAbstract.h>

Inheritance diagram for vpUKSigmaDrawerAbstract:

Classes

struct  vpSigmaPointsWeights

Public Types

typedef struct vpUKSigmaDrawerAbstract::vpSigmaPointsWeights vpSigmaPointsWeights

Public Member Functions

 vpUKSigmaDrawerAbstract (const unsigned int &n)
 vpUKSigmaDrawerAbstract (const vpUKSigmaDrawerAbstract &)=default
virtual ~vpUKSigmaDrawerAbstract ()=default
vpUKSigmaDrawerAbstractoperator= (const vpUKSigmaDrawerAbstract &)=default
virtual std::vector< vpColVectordrawSigmaPoints (const vpColVector &mean, const vpMatrix &covariance)=0
virtual vpSigmaPointsWeights computeWeights ()=0

Protected Attributes

unsigned int m_n

Detailed Description

This abstract class defines the interface to draw the sigma points for the Unscented Kalman filter.

Definition at line 50 of file vpUKSigmaDrawerAbstract.h.

Member Typedef Documentation

◆ vpSigmaPointsWeights

typedef struct vpUKSigmaDrawerAbstract::vpSigmaPointsWeights vpUKSigmaDrawerAbstract::vpSigmaPointsWeights

The weights corresponding to the sigma points drawing.

Constructor & Destructor Documentation

◆ vpUKSigmaDrawerAbstract() [1/2]

vpUKSigmaDrawerAbstract::vpUKSigmaDrawerAbstract ( const unsigned int & n)
inline

◆ vpUKSigmaDrawerAbstract() [2/2]

vpUKSigmaDrawerAbstract::vpUKSigmaDrawerAbstract ( const vpUKSigmaDrawerAbstract & )
default

◆ ~vpUKSigmaDrawerAbstract()

virtual vpUKSigmaDrawerAbstract::~vpUKSigmaDrawerAbstract ( )
virtualdefault

Member Function Documentation

◆ computeWeights()

virtual vpSigmaPointsWeights vpUKSigmaDrawerAbstract::computeWeights ( )
pure virtual

Computed the weights that correspond to the sigma points that have been drawn.

Returns
vpSigmaPointsWeights The weights that correspond to the sigma points.

Implemented in vpUKSigmaDrawerMerwe.

◆ drawSigmaPoints()

virtual std::vector< vpColVector > vpUKSigmaDrawerAbstract::drawSigmaPoints ( const vpColVector & mean,
const vpMatrix & covariance )
pure virtual

Draw the sigma points according to the current mean and covariance of the state of the Unscented Kalman filter.

Parameters
[in]meanThe current mean of the state of the UKF.
[in]covarianceThe current process covariance of the UKF.
Returns
std::vector<vpColVector> The sigma points.

Implemented in vpUKSigmaDrawerMerwe.

◆ operator=()

vpUKSigmaDrawerAbstract & vpUKSigmaDrawerAbstract::operator= ( const vpUKSigmaDrawerAbstract & )
default

Member Data Documentation

◆ m_n

unsigned int vpUKSigmaDrawerAbstract::m_n
protected