GCOP  1.0
Public Types | Public Member Functions | Public Attributes
gcop::Corrector< T, _nx, _nu, _np, Tz, _nz > Class Template Reference

#include <corrector.h>

Inheritance diagram for gcop::Corrector< T, _nx, _nu, _np, Tz, _nz >:
Inheritance graph
[legend]
Collaboration diagram for gcop::Corrector< T, _nx, _nu, _np, Tz, _nz >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef Matrix< double, _nx, 1 > Vectornd
typedef Matrix< double, _nu, 1 > Vectorcd
typedef Matrix< double, _np, 1 > Vectormd
typedef Matrix< double, _nx, _nx > Matrixnd
typedef Matrix< double, _nx, _nu > Matrixncd
typedef Matrix< double, _nu, _nx > Matrixcnd
typedef Matrix< double, _nu, _nu > Matrixcd
typedef Matrix< double, _np, _np > Matrixmd
typedef Matrix< double, _nx, _np > Matrixnmd
typedef Matrix< double, _np, _nx > Matrixmnd

Public Member Functions

 Corrector (Manifold< T, _nx > &X, Sensor< T, _nx, _nu, _np, Tz, _nz > &sensor)
virtual ~Corrector ()
virtual bool Correct (T &xb, double t, const T &xa, const Vectorcd &u, const Tz &z, const Vectormd *p=0, bool cov=true)=0

Public Attributes

Manifold< T, _nx > & X
 system
Sensor< T, _nx, _nu, _np, Tz,
_nz > & 
sensor
 sensor

template<typename T = VectorXd, int _nx = Dynamic, int _nu = Dynamic, int _np = Dynamic, typename Tz = VectorXd, int _nz = Dynamic>
class gcop::Corrector< T, _nx, _nu, _np, Tz, _nz >


Member Typedef Documentation

template<typename T = VectorXd, int _nx = Dynamic, int _nu = Dynamic, int _np = Dynamic, typename Tz = VectorXd, int _nz = Dynamic>
typedef Matrix<double, _nu, _nu> gcop::Corrector< T, _nx, _nu, _np, Tz, _nz >::Matrixcd
template<typename T = VectorXd, int _nx = Dynamic, int _nu = Dynamic, int _np = Dynamic, typename Tz = VectorXd, int _nz = Dynamic>
typedef Matrix<double, _nu, _nx> gcop::Corrector< T, _nx, _nu, _np, Tz, _nz >::Matrixcnd
template<typename T = VectorXd, int _nx = Dynamic, int _nu = Dynamic, int _np = Dynamic, typename Tz = VectorXd, int _nz = Dynamic>
typedef Matrix<double, _np, _np> gcop::Corrector< T, _nx, _nu, _np, Tz, _nz >::Matrixmd
template<typename T = VectorXd, int _nx = Dynamic, int _nu = Dynamic, int _np = Dynamic, typename Tz = VectorXd, int _nz = Dynamic>
typedef Matrix<double, _np, _nx> gcop::Corrector< T, _nx, _nu, _np, Tz, _nz >::Matrixmnd
template<typename T = VectorXd, int _nx = Dynamic, int _nu = Dynamic, int _np = Dynamic, typename Tz = VectorXd, int _nz = Dynamic>
typedef Matrix<double, _nx, _nu> gcop::Corrector< T, _nx, _nu, _np, Tz, _nz >::Matrixncd
template<typename T = VectorXd, int _nx = Dynamic, int _nu = Dynamic, int _np = Dynamic, typename Tz = VectorXd, int _nz = Dynamic>
typedef Matrix<double, _nx, _nx> gcop::Corrector< T, _nx, _nu, _np, Tz, _nz >::Matrixnd
template<typename T = VectorXd, int _nx = Dynamic, int _nu = Dynamic, int _np = Dynamic, typename Tz = VectorXd, int _nz = Dynamic>
typedef Matrix<double, _nx, _np> gcop::Corrector< T, _nx, _nu, _np, Tz, _nz >::Matrixnmd
template<typename T = VectorXd, int _nx = Dynamic, int _nu = Dynamic, int _np = Dynamic, typename Tz = VectorXd, int _nz = Dynamic>
typedef Matrix<double, _nu, 1> gcop::Corrector< T, _nx, _nu, _np, Tz, _nz >::Vectorcd
template<typename T = VectorXd, int _nx = Dynamic, int _nu = Dynamic, int _np = Dynamic, typename Tz = VectorXd, int _nz = Dynamic>
typedef Matrix<double, _np, 1> gcop::Corrector< T, _nx, _nu, _np, Tz, _nz >::Vectormd
template<typename T = VectorXd, int _nx = Dynamic, int _nu = Dynamic, int _np = Dynamic, typename Tz = VectorXd, int _nz = Dynamic>
typedef Matrix<double, _nx, 1> gcop::Corrector< T, _nx, _nu, _np, Tz, _nz >::Vectornd

Constructor & Destructor Documentation

template<typename T , int _nx, int _nu, int _np, typename Tz , int _nz>
gcop::Corrector< T, _nx, _nu, _np, Tz, _nz >::Corrector ( Manifold< T, _nx > &  X,
Sensor< T, _nx, _nu, _np, Tz, _nz > &  sensor 
)

Basic Corrector

Parameters:
Xsensor input manifold
sensorsensor
template<typename T , int _nx, int _nu, int _np, typename Tz , int _nz>
gcop::Corrector< T, _nx, _nu, _np, Tz, _nz >::~Corrector ( ) [virtual]

Member Function Documentation

template<typename T = VectorXd, int _nx = Dynamic, int _nu = Dynamic, int _np = Dynamic, typename Tz = VectorXd, int _nz = Dynamic>
virtual bool gcop::Corrector< T, _nx, _nu, _np, Tz, _nz >::Correct ( T &  xb,
double  t,
const T &  xa,
const Vectorcd u,
const Tz &  z,
const Vectormd p = 0,
bool  cov = true 
) [pure virtual]

Correction step.

Parameters:
xbnew belief state
ttime
xaprevious belief state
ucontrol inputs
zmeasurement
pparameters (optional)
covwhether to update the covariance as well (true by default)
Returns:
true if success

Implemented in gcop::UnscentedCorrector< T, _nx, _nu, _np, Tz, _nz >, and gcop::KalmanCorrector< T, _nx, _nu, _np, Tz, _nz >.


Member Data Documentation

template<typename T = VectorXd, int _nx = Dynamic, int _nu = Dynamic, int _np = Dynamic, typename Tz = VectorXd, int _nz = Dynamic>
Sensor<T, _nx, _nu, _np, Tz, _nz>& gcop::Corrector< T, _nx, _nu, _np, Tz, _nz >::sensor

sensor

template<typename T = VectorXd, int _nx = Dynamic, int _nu = Dynamic, int _np = Dynamic, typename Tz = VectorXd, int _nz = Dynamic>
Manifold<T, _nx>& gcop::Corrector< T, _nx, _nu, _np, Tz, _nz >::X

system


The documentation for this class was generated from the following file: