Classes | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Private Types
labust::navigation::LDTravModel Class Reference

#include <LDTravModel.hpp>

Inheritance diagram for labust::navigation::LDTravModel:
Inheritance graph
[legend]

List of all members.

Classes

struct  ModelParams

Public Types

enum  {
  X = 0, Y, Z, Kroll,
  M, N
}
enum  {
  u = 0, v, w, r,
  xp, yp, zp, psi,
  xc, yc, b, buoyancy
}
enum  { stateNum = 12 }
enum  { inputSize = 4 }
enum  { measSize = 7 }
enum  { X = 0, Y, Z, N }
enum  {
  u = 0, v, w, p,
  q, r, xp, yp,
  zp, phi, theta, psi,
  xc, yc, b, buoyancy,
  roll_restore, pitch_restore, altitude, stateNum = 12
}
enum  { inputSize = 4 }
enum  { measSize = 7 }
typedef vector input_type
typedef vector input_type
typedef vector output_type
typedef vector output_type

Public Member Functions

void calculateUVInovationVariance (const matrix &P, double &uin, double &vin)
void calculateUVInovationVariance (const matrix &P, double &uin, double &vin)
void calculateXYInovationVariance (const matrix &P, double &xin, double &yin)
void calculateXYInovationVariance (const matrix &P, double &xin, double &yin)
void estimate_y (output_type &y)
void estimate_y (output_type &y)
void getNEDSpeed (double &xdot, double &ydot)
void getNEDSpeed (double &xdot, double &ydot)
void initModel ()
void initModel ()
 LDTravModel ()
 LDTravModel ()
void setParameters (const ModelParams &surge, const ModelParams &sway, const ModelParams &heave, const ModelParams &yaw)
void setParameters (const ModelParams &surge, const ModelParams &sway, const ModelParams &heave, const ModelParams &roll, const ModelParams &pitch, const ModelParams &yaw)
void step (const input_type &input)
void step (const input_type &input)
const output_typeupdate (vector &measurements, vector &newMeas)
const output_typeupdate (vector &measurements, vector &newMeas)
void useDvlModel (int flag)
void useDvlModel (int flag)
 ~LDTravModel ()
 ~LDTravModel ()

Protected Member Functions

void derivativeAW ()
void derivativeAW ()
void derivativeH ()
void derivativeH ()
void derivativeHV (int num)
void derivativeHV (int num)

Protected Attributes

int dvlModel
ModelParams heave
matrix Hnl
output_type measurement
ModelParams pitch
ModelParams roll
ModelParams surge
ModelParams sway
double xdot
vector y
ModelParams yaw
double ydot
vector ynl

Private Types

typedef SSModel< double > Base
typedef SSModel< double > Base

Detailed Description

This class implements a EKF filter for the LDTravOcean ROV.

Todo:

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.

Todo:

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.


Member Typedef Documentation

Definition at line 53 of file LDTravModel.hpp.

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.


Member Enumeration Documentation

anonymous enum
Enumerator:
X 
Y 
Z 
Kroll 
M 
N 

Definition at line 83 of file LDTravModelExtended.hpp.

anonymous enum
Enumerator:
u 
v 
w 
r 
xp 
yp 
zp 
psi 
xc 
yc 
b 
buoyancy 

Definition at line 78 of file LDTravModel.hpp.

anonymous enum
Enumerator:
stateNum 

Definition at line 79 of file LDTravModel.hpp.

anonymous enum
Enumerator:
inputSize 

Definition at line 80 of file LDTravModel.hpp.

anonymous enum
Enumerator:
measSize 

Definition at line 81 of file LDTravModel.hpp.

anonymous enum
Enumerator:
X 
Y 
Z 
N 

Definition at line 82 of file LDTravModel.hpp.

anonymous enum
Enumerator:
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
Enumerator:
inputSize 

Definition at line 80 of file LDTravModelExtended.hpp.

anonymous enum
Enumerator:
measSize 

Definition at line 81 of file LDTravModelExtended.hpp.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.

Calculate the Jacobian matrices.

void LDTravModel::derivativeH ( ) [protected]

Calculate the nonlinear H derivative.

Definition at line 184 of file LDTravModel.cpp.

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.

Parameters:
yInserts the estimated output values here.

Calculates the estimated output of the model.

Parameters:
yInserts 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.

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.

Perform a prediction step based on the system input.

Parameters:
uSystem input.

Perform a prediction step based on the system input.

Parameters:
uSystem 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.


Member Data Documentation

The DVL linear/nonlinear flag.

Definition at line 171 of file LDTravModel.hpp.

Definition at line 159 of file LDTravModel.hpp.

The nonlinear H.

Definition at line 175 of file LDTravModel.hpp.

The newest measurement.

Definition at line 163 of file LDTravModel.hpp.

Definition at line 164 of file LDTravModelExtended.hpp.

Definition at line 164 of file LDTravModelExtended.hpp.

The model parameters.

Definition at line 159 of file LDTravModel.hpp.

Definition at line 159 of file LDTravModel.hpp.

The NED speeds.

Definition at line 167 of file LDTravModel.hpp.

Definition at line 179 of file LDTravModel.hpp.

Definition at line 159 of file LDTravModel.hpp.

Definition at line 167 of file LDTravModel.hpp.

The nonlinear and final y.

Definition at line 179 of file LDTravModel.hpp.


The documentation for this class was generated from the following files:


ldtravocean
Author(s):
autogenerated on Fri Feb 7 2014 11:37:01