GCOP
1.0
|
#include <predictor.h>
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 | |
Predictor (System< T, _nx, _nu, _np > &sys) | |
virtual | ~Predictor () |
virtual bool | Predict (T &xb, double t, const T &xa, const Vectorcd &u, double h, const Vectormd *p=0, bool cov=true)=0 |
Public Attributes | |
System< T, _nx, _nu, _np > & | sys |
system |
typedef Matrix<double, _nu, _nu> gcop::Predictor< T, _nx, _nu, _np >::Matrixcd |
Reimplemented in gcop::UnscentedPredictor< T, _nx, _nu, _np >, and gcop::KalmanPredictor< T, _nx, _nu, _np >.
typedef Matrix<double, _nu, _nx> gcop::Predictor< T, _nx, _nu, _np >::Matrixcnd |
Reimplemented in gcop::UnscentedPredictor< T, _nx, _nu, _np >, and gcop::KalmanPredictor< T, _nx, _nu, _np >.
typedef Matrix<double, _np, _np> gcop::Predictor< T, _nx, _nu, _np >::Matrixmd |
Reimplemented in gcop::UnscentedPredictor< T, _nx, _nu, _np >, and gcop::KalmanPredictor< T, _nx, _nu, _np >.
typedef Matrix<double, _np, _nx> gcop::Predictor< T, _nx, _nu, _np >::Matrixmnd |
Reimplemented in gcop::UnscentedPredictor< T, _nx, _nu, _np >, and gcop::KalmanPredictor< T, _nx, _nu, _np >.
typedef Matrix<double, _nx, _nu> gcop::Predictor< T, _nx, _nu, _np >::Matrixncd |
Reimplemented in gcop::UnscentedPredictor< T, _nx, _nu, _np >, and gcop::KalmanPredictor< T, _nx, _nu, _np >.
typedef Matrix<double, _nx, _nx> gcop::Predictor< T, _nx, _nu, _np >::Matrixnd |
Reimplemented in gcop::UnscentedPredictor< T, _nx, _nu, _np >, and gcop::KalmanPredictor< T, _nx, _nu, _np >.
typedef Matrix<double, _nx, _np> gcop::Predictor< T, _nx, _nu, _np >::Matrixnmd |
Reimplemented in gcop::UnscentedPredictor< T, _nx, _nu, _np >, and gcop::KalmanPredictor< T, _nx, _nu, _np >.
typedef Matrix<double, _nu, 1> gcop::Predictor< T, _nx, _nu, _np >::Vectorcd |
Reimplemented in gcop::UnscentedPredictor< T, _nx, _nu, _np >, and gcop::KalmanPredictor< T, _nx, _nu, _np >.
typedef Matrix<double, _np, 1> gcop::Predictor< T, _nx, _nu, _np >::Vectormd |
Reimplemented in gcop::UnscentedPredictor< T, _nx, _nu, _np >, and gcop::KalmanPredictor< T, _nx, _nu, _np >.
typedef Matrix<double, _nx, 1> gcop::Predictor< T, _nx, _nu, _np >::Vectornd |
Reimplemented in gcop::UnscentedPredictor< T, _nx, _nu, _np >, and gcop::KalmanPredictor< T, _nx, _nu, _np >.
gcop::Predictor< T, _nx, _nu, _np >::Predictor | ( | System< T, _nx, _nu, _np > & | sys | ) |
Basic Predictor
sys | system model |
gcop::Predictor< T, _nx, _nu, _np >::~Predictor | ( | ) | [virtual] |
virtual bool gcop::Predictor< T, _nx, _nu, _np >::Predict | ( | T & | xb, |
double | t, | ||
const T & | xa, | ||
const Vectorcd & | u, | ||
double | h, | ||
const Vectormd * | p = 0 , |
||
bool | cov = true |
||
) | [pure virtual] |
Prediction step.
xb | new belief state |
t | time |
xa | previous belief state |
u | control inputs |
h | time-step |
p | parameters (optional) |
cov | whether to update the covariance as well (true by default) |
Implemented in gcop::UnscentedPredictor< T, _nx, _nu, _np >, and gcop::KalmanPredictor< T, _nx, _nu, _np >.
System<T, _nx, _nu, _np>& gcop::Predictor< T, _nx, _nu, _np >::sys |
system