#include <RelativeTrackingModel.hpp>
This class implements a EKF filter for relative target tracking.
Definition at line 52 of file RelativeTrackingModel.hpp.
typedef SSModel<double> labust::navigation::RelativeTrackingModel::Base [private] |
Definition at line 54 of file RelativeTrackingModel.hpp.
Definition at line 56 of file RelativeTrackingModel.hpp.
Definition at line 57 of file RelativeTrackingModel.hpp.
anonymous enum |
Definition at line 77 of file RelativeTrackingModel.hpp.
anonymous enum |
Definition at line 78 of file RelativeTrackingModel.hpp.
anonymous enum |
Definition at line 79 of file RelativeTrackingModel.hpp.
The default constructor.
Definition at line 46 of file RelativeTrackingModel.cpp.
Generic destructor.
Definition at line 54 of file RelativeTrackingModel.cpp.
double labust::navigation::RelativeTrackingModel::calculateAltInovationVariance | ( | const matrix & | P | ) |
void labust::navigation::RelativeTrackingModel::calculateUVInovationVariance | ( | const matrix & | P, |
double & | uin, | ||
double & | vin | ||
) |
void labust::navigation::RelativeTrackingModel::calculateXYInovationVariance | ( | const matrix & | P, |
double & | xin, | ||
double & | yin | ||
) |
void RelativeTrackingModel::derivativeAW | ( | ) | [protected] |
Calculate the Jacobian matrices.
Definition at line 109 of file RelativeTrackingModel.cpp.
void RelativeTrackingModel::derivativeH | ( | ) | [protected] |
Calculate the nonlinear H derivative.
Definition at line 203 of file RelativeTrackingModel.cpp.
void labust::navigation::RelativeTrackingModel::derivativeHV | ( | int | num | ) | [protected] |
Calculate the Jacobian matrices.
void RelativeTrackingModel::estimate_y | ( | output_type & | y | ) |
Calculates the estimated output of the model.
y | Inserts the estimated output values here. |
Definition at line 198 of file RelativeTrackingModel.cpp.
void labust::navigation::RelativeTrackingModel::getNEDSpeed | ( | double & | xdot, |
double & | ydot | ||
) | [inline] |
Return the speeds in the local frame.
Definition at line 137 of file RelativeTrackingModel.hpp.
void RelativeTrackingModel::initModel | ( | ) |
Initialize the model to default values
Definition at line 56 of file RelativeTrackingModel.cpp.
void labust::navigation::RelativeTrackingModel::setParameters | ( | const ModelParams & | surge, |
const ModelParams & | sway, | ||
const ModelParams & | heave, | ||
const ModelParams & | roll, | ||
const ModelParams & | pitch, | ||
const ModelParams & | yaw | ||
) | [inline] |
Set the model parameters.
Definition at line 115 of file RelativeTrackingModel.hpp.
void RelativeTrackingModel::step | ( | const input_type & | input | ) |
Perform a prediction step based on the system input.
u | System input. |
Definition at line 87 of file RelativeTrackingModel.cpp.
const RelativeTrackingModel::output_type & RelativeTrackingModel::update | ( | vector & | measurements, |
vector & | newMeas | ||
) |
Setup the measurement matrix for available measurements.
Definition at line 137 of file RelativeTrackingModel.cpp.
void labust::navigation::RelativeTrackingModel::useDvlModel | ( | int | flag | ) | [inline] |
Definition at line 143 of file RelativeTrackingModel.hpp.
int labust::navigation::RelativeTrackingModel::dvlModel [protected] |
The DVL linear/nonlinear flag.
Definition at line 173 of file RelativeTrackingModel.hpp.
Definition at line 161 of file RelativeTrackingModel.hpp.
matrix labust::navigation::RelativeTrackingModel::Hnl [protected] |
The nonlinear H.
Definition at line 177 of file RelativeTrackingModel.hpp.
The newest measurement.
Definition at line 165 of file RelativeTrackingModel.hpp.
Definition at line 161 of file RelativeTrackingModel.hpp.
Definition at line 161 of file RelativeTrackingModel.hpp.
The model parameters.
Definition at line 161 of file RelativeTrackingModel.hpp.
Definition at line 161 of file RelativeTrackingModel.hpp.
double labust::navigation::RelativeTrackingModel::xdot [protected] |
The NED speeds.
Definition at line 169 of file RelativeTrackingModel.hpp.
vector labust::navigation::RelativeTrackingModel::y [protected] |
Definition at line 181 of file RelativeTrackingModel.hpp.
Definition at line 161 of file RelativeTrackingModel.hpp.
double labust::navigation::RelativeTrackingModel::ydot [protected] |
Definition at line 169 of file RelativeTrackingModel.hpp.
vector labust::navigation::RelativeTrackingModel::ynl [protected] |
The nonlinear and final y.
Definition at line 181 of file RelativeTrackingModel.hpp.