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

#include <EKF_3D_USBLModel.hpp>

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

List of all members.

Classes

struct  ModelParams

Public Types

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

Public Member Functions

double calculateAltInovationVariance (const matrix &P)
void calculateUVInovationVariance (const matrix &P, double &uin, double &vin)
void calculateXYInovationVariance (const matrix &P, double &xin, double &yin)
 EKF_3D_USBLModel ()
void estimate_y (output_type &y)
void getNEDSpeed (double &xdot, double &ydot)
void initModel ()
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)
const output_typeupdate (vector &measurements, vector &newMeas)
void useDvlModel (int flag)
 ~EKF_3D_USBLModel ()

Protected Member Functions

void derivativeAW ()
void derivativeH ()
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

Detailed Description

This class implements a EKF filter for the LDTravOcean ROV.

Definition at line 56 of file EKF_3D_USBLModel.hpp.


Member Typedef Documentation

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.


Member Enumeration Documentation

anonymous enum
Enumerator:
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
Enumerator:
X 
Y 
Z 
Kroll 
M 
N 
inputSize 

Definition at line 84 of file EKF_3D_USBLModel.hpp.

anonymous enum
Enumerator:
range 
bearing 
elevation 
measSize 

Definition at line 85 of file EKF_3D_USBLModel.hpp.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.

Calculate the Jacobian matrices.

Calculates the estimated output of the model.

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

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.

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

Definition at line 152 of file EKF_3D_USBLModel.hpp.


Member Data Documentation

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.

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.

The NED speeds.

Definition at line 178 of file EKF_3D_USBLModel.hpp.

Definition at line 190 of file EKF_3D_USBLModel.hpp.

Definition at line 170 of file EKF_3D_USBLModel.hpp.

Definition at line 178 of file EKF_3D_USBLModel.hpp.

The nonlinear and final y.

Definition at line 190 of file EKF_3D_USBLModel.hpp.


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


labust_navigation
Author(s): Gyula Nagy
autogenerated on Fri Aug 28 2015 11:23:33