#include <EKF_3D_USBLModel.hpp>
This class implements a EKF filter for the LDTravOcean ROV.
Definition at line 56 of file EKF_3D_USBLModel.hpp.
typedef SSModel<double> labust::navigation::EKF_3D_USBLModel::Base [private] |
Definition at line 58 of file EKF_3D_USBLModel.hpp.
Definition at line 60 of file EKF_3D_USBLModel.hpp.
Definition at line 61 of file EKF_3D_USBLModel.hpp.
anonymous enum |
u | |
v | |
w | |
p | |
q | |
r | |
xp | |
yp | |
zp | |
phi | |
theta | |
psi | |
xc | |
yc | |
b | |
buoyancy | |
roll_restore | |
pitch_restore | |
altitude | |
xb | |
yb | |
zb | |
stateNum |
Definition at line 83 of file EKF_3D_USBLModel.hpp.
anonymous enum |
Definition at line 84 of file EKF_3D_USBLModel.hpp.
anonymous enum |
Definition at line 85 of file EKF_3D_USBLModel.hpp.
The default constructor.
Definition at line 53 of file EKF_3D_USBLModel.cpp.
Generic destructor.
Definition at line 61 of file EKF_3D_USBLModel.cpp.
double EKF_3D_USBLModel::calculateAltInovationVariance | ( | const matrix & | P | ) |
Definition at line 81 of file EKF_3D_USBLModel.cpp.
void EKF_3D_USBLModel::calculateUVInovationVariance | ( | const matrix & | P, |
double & | uin, | ||
double & | vin | ||
) |
Definition at line 86 of file EKF_3D_USBLModel.cpp.
void EKF_3D_USBLModel::calculateXYInovationVariance | ( | const matrix & | P, |
double & | xin, | ||
double & | yin | ||
) |
Definition at line 75 of file EKF_3D_USBLModel.cpp.
void EKF_3D_USBLModel::derivativeAW | ( | ) | [protected] |
Calculate the Jacobian matrices.
Definition at line 119 of file EKF_3D_USBLModel.cpp.
void EKF_3D_USBLModel::derivativeH | ( | ) | [protected] |
Calculate the nonlinear H derivative.
Definition at line 210 of file EKF_3D_USBLModel.cpp.
void labust::navigation::EKF_3D_USBLModel::derivativeHV | ( | int | num | ) | [protected] |
Calculate the Jacobian matrices.
void EKF_3D_USBLModel::estimate_y | ( | output_type & | y | ) |
Calculates the estimated output of the model.
y | Inserts the estimated output values here. |
Definition at line 206 of file EKF_3D_USBLModel.cpp.
void labust::navigation::EKF_3D_USBLModel::getNEDSpeed | ( | double & | xdot, |
double & | ydot | ||
) | [inline] |
Return the speeds in the local frame.
Definition at line 146 of file EKF_3D_USBLModel.hpp.
void EKF_3D_USBLModel::initModel | ( | ) |
Initialize the model to default values
Definition at line 63 of file EKF_3D_USBLModel.cpp.
void labust::navigation::EKF_3D_USBLModel::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 124 of file EKF_3D_USBLModel.hpp.
void EKF_3D_USBLModel::step | ( | const input_type & | input | ) |
Perform a prediction step based on the system input.
u | System input. |
Definition at line 92 of file EKF_3D_USBLModel.cpp.
const EKF_3D_USBLModel::output_type & EKF_3D_USBLModel::update | ( | vector & | measurements, |
vector & | newMeas | ||
) |
Setup the measurement matrix for available measurements.
Definition at line 153 of file EKF_3D_USBLModel.cpp.
void labust::navigation::EKF_3D_USBLModel::useDvlModel | ( | int | flag | ) | [inline] |
Definition at line 152 of file EKF_3D_USBLModel.hpp.
int labust::navigation::EKF_3D_USBLModel::dvlModel [protected] |
The DVL linear/nonlinear flag.
Definition at line 182 of file EKF_3D_USBLModel.hpp.
Definition at line 170 of file EKF_3D_USBLModel.hpp.
matrix labust::navigation::EKF_3D_USBLModel::Hnl [protected] |
The nonlinear H.
Definition at line 186 of file EKF_3D_USBLModel.hpp.
The newest measurement.
Definition at line 174 of file EKF_3D_USBLModel.hpp.
Definition at line 170 of file EKF_3D_USBLModel.hpp.
Definition at line 170 of file EKF_3D_USBLModel.hpp.
The model parameters.
Definition at line 170 of file EKF_3D_USBLModel.hpp.
Definition at line 170 of file EKF_3D_USBLModel.hpp.
double labust::navigation::EKF_3D_USBLModel::xdot [protected] |
The NED speeds.
Definition at line 178 of file EKF_3D_USBLModel.hpp.
vector labust::navigation::EKF_3D_USBLModel::y [protected] |
Definition at line 190 of file EKF_3D_USBLModel.hpp.
ModelParams labust::navigation::EKF_3D_USBLModel::yaw [protected] |
Definition at line 170 of file EKF_3D_USBLModel.hpp.
double labust::navigation::EKF_3D_USBLModel::ydot [protected] |
Definition at line 178 of file EKF_3D_USBLModel.hpp.
vector labust::navigation::EKF_3D_USBLModel::ynl [protected] |
The nonlinear and final y.
Definition at line 190 of file EKF_3D_USBLModel.hpp.