|
void | correct (const Eigen::Matrix< double, outputDim, 1 > &measurement) |
| Correct the state estimate with measurement data.
|
|
void | predict (const Eigen::Matrix< double, inputDim, 1 > &input) override |
| Use the model to predict the next system state, given the current inputs.
|
|
void | reset () |
| Reset the filter.
|
|
void | reset (const Eigen::Matrix< double, stateDim, 1 > &state) |
| Reset the filter.
|
|
void | reset (const Eigen::Matrix< double, stateDim, 1 > &state, const Eigen::Matrix< double, stateDim, 1 > &stdDevs) |
| Reset the filter.
|
|
void | reset (const Eigen::Matrix< double, stateDim, 1 > &state, const Eigen::Matrix< double, stateDim, stateDim > &estCovMat) |
| Reset the filter.
|
|
Eigen::Matrix< double, stateDim, 1 > | getState () const |
| Gets the current state estimate.
|
|
Eigen::Matrix< double, stateDim, stateDim > | getEstimateCovarianceMat () const |
| Get the current estimate covariance matrix.
|
|
|
static KalmanFilter | createContinuous (const Eigen::Matrix< double, stateDim, stateDim > &systemMat, const Eigen::Matrix< double, stateDim, inputDim > &inputMat, const Eigen::Matrix< double, outputDim, stateDim > &outputMat, const Eigen::Matrix< double, stateDim, 1 > &stateStdDevs, const Eigen::Matrix< double, outputDim, 1 > &measurementStdDevs, double dt) |
| Create a new Kalman Filter from a continuous-time state space model.
|
|
static KalmanFilter | createDiscrete (const Eigen::Matrix< double, stateDim, stateDim > &systemMat, const Eigen::Matrix< double, stateDim, inputDim > &inputMat, const Eigen::Matrix< double, outputDim, stateDim > &outputMat, const Eigen::Matrix< double, stateDim, 1 > &stateStdDevs, const Eigen::Matrix< double, outputDim, 1 > &measurementStdDevs, double dt) |
| Create a new Kalman Filter from a discrete-time state space model.
|
|
template<int stateDim, int inputDim, int outputDim>
class filters::KalmanFilter< stateDim, inputDim, outputDim >
Implements a Kalman Filter.
Unlike the "standard" Kalman Filter this uses the asymptotic Kalman gain.
- Template Parameters
-
stateDim | The dimension of the state vector. |
inputDim | The dimension of the system input vector. |
outputDim | The dimension of the system output vector, or the sensor measurement. |