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

#include <unscentedpredictor.h>

Inheritance diagram for gcop::UnscentedPredictor< T, _nx, _nu, _np >:
Inheritance graph
[legend]
Collaboration diagram for gcop::UnscentedPredictor< T, _nx, _nu, _np >:
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

 UnscentedPredictor (System< T, _nx, _nu, _np > &sys)
virtual ~UnscentedPredictor ()
virtual bool Predict (T &xb, double t, const T &xa, const Vectorcd &u, double h, const Vectormd *p=0, bool cov=true)

Protected Attributes

vector< T > Xps
 predicted state sigma points
Matrixnd Q
 discrete-time process noise covariance

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


Member Typedef Documentation

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

Constructor & Destructor Documentation

template<typename T , int _nx, int _nu, int _np>
gcop::UnscentedPredictor< T, _nx, _nu, _np >::UnscentedPredictor ( System< T, _nx, _nu, _np > &  sys)
template<typename T , int _nx, int _nu, int _np>
gcop::UnscentedPredictor< T, _nx, _nu, _np >::~UnscentedPredictor ( ) [virtual]

Member Function Documentation

template<typename T , int _nx, int _nu, int _np>
bool gcop::UnscentedPredictor< T, _nx, _nu, _np >::Predict ( T &  xb,
double  t,
const T &  xa,
const Vectorcd u,
double  h,
const Vectormd p = 0,
bool  cov = true 
) [virtual]

Prediction step.

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

< average in exponential coordinates

< variation from propagated mean

Implements gcop::Predictor< T, _nx, _nu, _np >.


Member Data Documentation

template<typename T = VectorXd, int _nx = Dynamic, int _nu = Dynamic, int _np = Dynamic>
Matrixnd gcop::UnscentedPredictor< T, _nx, _nu, _np >::Q [protected]

discrete-time process noise covariance

Referenced by gcop::UnscentedPredictor< T, _nx, _nu, _np >::UnscentedPredictor().

template<typename T = VectorXd, int _nx = Dynamic, int _nu = Dynamic, int _np = Dynamic>
vector<T> gcop::UnscentedPredictor< T, _nx, _nu, _np >::Xps [protected]

predicted state sigma points


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