|
| KalmanFilter () |
| Constructor which defers initialization until the initial state distribution parameters are set (with SetStateEstimate), typically on the first observation
|
|
void | SetStateEstimate (const Eigen::Matrix< T, XN, 1 > &x, const Eigen::Matrix< T, XN, XN > &P) |
| Sets the initial state belief distribution.
|
|
| KalmanFilter (const Eigen::Matrix< T, XN, 1 > &x, const Eigen::Matrix< T, XN, XN > &P) |
| Constructor which fully initializes the Kalman filter
|
|
virtual | ~KalmanFilter () |
| Destructor
|
|
void | SetTransitionMatrix (const Eigen::Matrix< T, XN, XN > &F) |
| Changes the system transition function under zero control.
|
|
void | SetTransitionNoise (const Eigen::Matrix< T, XN, XN > &Q) |
| Changes the covariance matrix of the transition noise.
|
|
void | SetObservationMatrix (const Eigen::Matrix< T, ZN, XN > &H) |
| Changes the observation matrix, which maps states to observations.
|
|
void | SetObservationNoise (const Eigen::Matrix< T, ZN, ZN > &R) |
| Changes the covariance matrix of the observation noise.
|
|
void | SetStateCovariance (const Eigen::Matrix< T, XN, XN > &P) |
| Changes the covariance matrix of current state belief distribution.
|
|
void | SetControlMatrix (const Eigen::Matrix< T, XN, UN > &B) |
| Changes the control matrix in the state transition rule.
|
|
const Eigen::Matrix< T, XN, XN > & | GetTransitionMatrix () const |
| Get the system transition function under zero control.
|
|
const Eigen::Matrix< T, XN, XN > & | GetTransitionNoise () const |
| Get the covariance matrix of the transition noise.
|
|
const Eigen::Matrix< T, ZN, XN > & | GetObservationMatrix () const |
| Get the observation matrix, which maps states to observations.
|
|
const Eigen::Matrix< T, ZN, ZN > & | GetObservationNoise () const |
| Get the covariance matrix of the observation noise.
|
|
const Eigen::Matrix< T, XN, UN > & | GetControlMatrix () const |
| Get the control matrix in the state transition rule.
|
|
void | Predict (const Eigen::Matrix< T, UN, 1 > &u=Eigen::Matrix< T, UN, 1 >::Zero()) |
| Updates the state belief distribution given the control input u.
|
|
void | Correct (const Eigen::Matrix< T, ZN, 1 > &z) |
| Updates the state belief distribution given an observation z.
|
|
Eigen::Matrix< T, XN, 1 > | GetStateEstimate () const |
| Gets mean of our current state belief distribution
|
|
Eigen::Matrix< T, XN, XN > | GetStateCovariance () const |
| Gets covariance of our current state belief distribution
|
|
std::string | DebugString () const |
| Gets debug string containing detailed information about the filter.
|
|
bool | IsInitialized () const |
| Get initialization state of the filter
|
|
template<typename T, unsigned int XN, unsigned int ZN, unsigned int UN>
class apollo::common::math::KalmanFilter< T, XN, ZN, UN >
Implements a discrete-time Kalman filter.
- 参数
-
XN | dimension of state |
ZN | dimension of observations |
UN | dimension of controls |
在文件 kalman_filter.h 第 50 行定义.