GCOP
1.0
|
#include <unscentedbase.h>
Public Types | |
typedef Matrix< double, _nx, 1 > | Vectornd |
typedef Matrix< double, _nx, _nx > | Matrixnd |
Public Member Functions | |
UnscentedBase (Manifold< T, _nx > &X) | |
virtual | ~UnscentedBase () |
void | Points (vector< T > &xs, const T &x) |
Public Attributes | |
Manifold< T, _nx > & | X |
manifold | |
double | a |
UKF -param (a=1e-3 by default) | |
double | k |
UKF -param (k=0 by default) | |
double | b |
UKF -param (b=2 by default) | |
Protected Attributes | |
int | L |
number of sigma points (this is set internally to 2*model.nr + 1 | |
double | l |
the variable | |
vector< T > | Xs |
state sigma points | |
vector< double > | Ws |
points weights | |
vector< double > | Wc |
cov update weights | |
Matrixnd | A |
cholesky factor |
typedef Matrix<double, _nx, _nx> gcop::UnscentedBase< T, _nx >::Matrixnd |
typedef Matrix<double, _nx, 1> gcop::UnscentedBase< T, _nx >::Vectornd |
gcop::UnscentedBase< T, _nx >::UnscentedBase | ( | Manifold< T, _nx > & | X | ) |
References gcop::UnscentedBase< T, _nx >::a, gcop::UnscentedBase< T, _nx >::A, gcop::UnscentedBase< T, _nx >::b, gcop::UnscentedBase< T, _nx >::k, gcop::UnscentedBase< T, _nx >::L, gcop::UnscentedBase< T, _nx >::l, gcop::Manifold< T, _n >::n, gcop::UnscentedBase< T, _nx >::Wc, and gcop::UnscentedBase< T, _nx >::Ws.
gcop::UnscentedBase< T, _nx >::~UnscentedBase | ( | ) | [virtual] |
void gcop::UnscentedBase< T, _nx >::Points | ( | vector< T > & | xs, |
const T & | x | ||
) |
Compute 2*L+1 sigma points given mean x and spread A
Xs | a vector of 2*L+1 states |
x | mean state |
A | the square root of the covariance |
double gcop::UnscentedBase< T, _nx >::a |
UKF -param (a=1e-3 by default)
Referenced by gcop::UnscentedBase< T, _nx >::UnscentedBase().
Matrixnd gcop::UnscentedBase< T, _nx >::A [protected] |
cholesky factor
Referenced by gcop::UnscentedBase< T, _nx >::UnscentedBase().
double gcop::UnscentedBase< T, _nx >::b |
UKF -param (b=2 by default)
Referenced by gcop::UnscentedBase< T, _nx >::UnscentedBase().
double gcop::UnscentedBase< T, _nx >::k |
UKF -param (k=0 by default)
Referenced by gcop::UnscentedBase< T, _nx >::UnscentedBase().
int gcop::UnscentedBase< T, _nx >::L [protected] |
number of sigma points (this is set internally to 2*model.nr + 1
Referenced by gcop::UnscentedBase< T, _nx >::UnscentedBase().
double gcop::UnscentedBase< T, _nx >::l [protected] |
the variable
Referenced by gcop::UnscentedBase< T, _nx >::UnscentedBase().
vector<double> gcop::UnscentedBase< T, _nx >::Wc [protected] |
cov update weights
Referenced by gcop::UnscentedBase< T, _nx >::UnscentedBase().
vector<double> gcop::UnscentedBase< T, _nx >::Ws [protected] |
points weights
Referenced by gcop::UnscentedBase< T, _nx >::UnscentedBase().
Manifold<T, _nx>& gcop::UnscentedBase< T, _nx >::X |
manifold
vector<T> gcop::UnscentedBase< T, _nx >::Xs [protected] |
state sigma points