#include <LDTravModel.hpp>
This class implements a EKF filter for the LDTravOcean ROV.
Extract the update method into a separate file for future use.
Extract the ModelParams to a snippet
This class implements a EKF filter for the LDTravOcean ROV.
Extract the update method into a separate file for future use.
Extract the ModelParams to a snippet
Definition at line 51 of file LDTravModel.hpp.
typedef SSModel<double> labust::navigation::LDTravModel::Base [private] |
Definition at line 53 of file LDTravModel.hpp.
typedef SSModel<double> labust::navigation::LDTravModel::Base [private] |
Definition at line 53 of file LDTravModelExtended.hpp.
Definition at line 55 of file LDTravModelExtended.hpp.
Definition at line 55 of file LDTravModel.hpp.
Definition at line 56 of file LDTravModel.hpp.
Definition at line 56 of file LDTravModelExtended.hpp.
anonymous enum |
Definition at line 83 of file LDTravModelExtended.hpp.
anonymous enum |
Definition at line 78 of file LDTravModel.hpp.
anonymous enum |
Definition at line 79 of file LDTravModel.hpp.
anonymous enum |
Definition at line 80 of file LDTravModel.hpp.
anonymous enum |
Definition at line 81 of file LDTravModel.hpp.
anonymous enum |
Definition at line 82 of file LDTravModel.hpp.
anonymous enum |
u | |
v | |
w | |
p | |
q | |
r | |
xp | |
yp | |
zp | |
phi | |
theta | |
psi | |
xc | |
yc | |
b | |
buoyancy | |
roll_restore | |
pitch_restore | |
altitude | |
stateNum |
Definition at line 78 of file LDTravModelExtended.hpp.
anonymous enum |
Definition at line 80 of file LDTravModelExtended.hpp.
anonymous enum |
Definition at line 81 of file LDTravModelExtended.hpp.
The default constructor.
Definition at line 44 of file LDTravModel.cpp.
Generic destructor.
Definition at line 50 of file LDTravModel.cpp.
The default constructor.
Generic destructor.
void LDTravModel::calculateUVInovationVariance | ( | const matrix & | P, |
double & | uin, | ||
double & | vin | ||
) |
Definition at line 72 of file LDTravModel.cpp.
void labust::navigation::LDTravModel::calculateUVInovationVariance | ( | const matrix & | P, |
double & | uin, | ||
double & | vin | ||
) |
void LDTravModel::calculateXYInovationVariance | ( | const matrix & | P, |
double & | xin, | ||
double & | yin | ||
) |
Definition at line 66 of file LDTravModel.cpp.
void labust::navigation::LDTravModel::calculateXYInovationVariance | ( | const matrix & | P, |
double & | xin, | ||
double & | yin | ||
) |
void LDTravModel::derivativeAW | ( | ) | [protected] |
Calculate the Jacobian matrices.
Definition at line 99 of file LDTravModel.cpp.
void labust::navigation::LDTravModel::derivativeAW | ( | ) | [protected] |
Calculate the Jacobian matrices.
void LDTravModel::derivativeH | ( | ) | [protected] |
Calculate the nonlinear H derivative.
Definition at line 184 of file LDTravModel.cpp.
void labust::navigation::LDTravModel::derivativeH | ( | ) | [protected] |
Calculate the nonlinear H derivative.
void labust::navigation::LDTravModel::derivativeHV | ( | int | num | ) | [protected] |
Calculate the Jacobian matrices.
void labust::navigation::LDTravModel::derivativeHV | ( | int | num | ) | [protected] |
Calculate the Jacobian matrices.
Calculates the estimated output of the model.
y | Inserts the estimated output values here. |
Calculates the estimated output of the model.
y | Inserts the estimated output values here. |
void labust::navigation::LDTravModel::getNEDSpeed | ( | double & | xdot, |
double & | ydot | ||
) | [inline] |
Return the speeds in the local frame.
Definition at line 135 of file LDTravModel.hpp.
void labust::navigation::LDTravModel::getNEDSpeed | ( | double & | xdot, |
double & | ydot | ||
) | [inline] |
Return the speeds in the local frame.
Definition at line 140 of file LDTravModelExtended.hpp.
void LDTravModel::initModel | ( | ) |
Initialize the model to default values
Definition at line 52 of file LDTravModel.cpp.
Initialize the model to default values
void labust::navigation::LDTravModel::setParameters | ( | const ModelParams & | surge, |
const ModelParams & | sway, | ||
const ModelParams & | heave, | ||
const ModelParams & | yaw | ||
) | [inline] |
Set the model parameters.
Definition at line 118 of file LDTravModel.hpp.
void labust::navigation::LDTravModel::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 119 of file LDTravModelExtended.hpp.
void labust::navigation::LDTravModel::step | ( | const input_type & | input | ) |
Perform a prediction step based on the system input.
u | System input. |
void labust::navigation::LDTravModel::step | ( | const input_type & | input | ) |
Perform a prediction step based on the system input.
u | System input. |
const output_type& labust::navigation::LDTravModel::update | ( | vector & | measurements, |
vector & | newMeas | ||
) |
Setup the measurement matrix for available measurements.
const output_type& labust::navigation::LDTravModel::update | ( | vector & | measurements, |
vector & | newMeas | ||
) |
Setup the measurement matrix for available measurements.
void labust::navigation::LDTravModel::useDvlModel | ( | int | flag | ) | [inline] |
Definition at line 141 of file LDTravModel.hpp.
void labust::navigation::LDTravModel::useDvlModel | ( | int | flag | ) | [inline] |
Definition at line 146 of file LDTravModelExtended.hpp.
int labust::navigation::LDTravModel::dvlModel [protected] |
The DVL linear/nonlinear flag.
Definition at line 171 of file LDTravModel.hpp.
ModelParams labust::navigation::LDTravModel::heave [protected] |
Definition at line 159 of file LDTravModel.hpp.
matrix labust::navigation::LDTravModel::Hnl [protected] |
The nonlinear H.
Definition at line 175 of file LDTravModel.hpp.
The newest measurement.
Definition at line 163 of file LDTravModel.hpp.
ModelParams labust::navigation::LDTravModel::pitch [protected] |
Definition at line 164 of file LDTravModelExtended.hpp.
ModelParams labust::navigation::LDTravModel::roll [protected] |
Definition at line 164 of file LDTravModelExtended.hpp.
ModelParams labust::navigation::LDTravModel::surge [protected] |
The model parameters.
Definition at line 159 of file LDTravModel.hpp.
ModelParams labust::navigation::LDTravModel::sway [protected] |
Definition at line 159 of file LDTravModel.hpp.
double labust::navigation::LDTravModel::xdot [protected] |
The NED speeds.
Definition at line 167 of file LDTravModel.hpp.
vector labust::navigation::LDTravModel::y [protected] |
Definition at line 179 of file LDTravModel.hpp.
ModelParams labust::navigation::LDTravModel::yaw [protected] |
Definition at line 159 of file LDTravModel.hpp.
double labust::navigation::LDTravModel::ydot [protected] |
Definition at line 167 of file LDTravModel.hpp.
vector labust::navigation::LDTravModel::ynl [protected] |
The nonlinear and final y.
Definition at line 179 of file LDTravModel.hpp.