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

#include <RelativeTrackingModel.hpp>

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

List of all members.

Classes

struct  ModelParams

Public Types

enum  {
  delta_x = 0, delta_y, delta_z, psi_t,
  u_t, w_t, r_t, stateNum
}
enum  {
  d = 0, theta, depth, psi_tm,
  delta_xm, delta_ym, delta_zm, measSize
}
enum  {
  x_dot = 0, y_dot, psi, X,
  Z, N, inputSize
}
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)
void estimate_y (output_type &y)
void getNEDSpeed (double &xdot, double &ydot)
void initModel ()
 RelativeTrackingModel ()
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)
 ~RelativeTrackingModel ()

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 relative target tracking.

Definition at line 52 of file RelativeTrackingModel.hpp.


Member Typedef Documentation

Definition at line 54 of file RelativeTrackingModel.hpp.

Definition at line 56 of file RelativeTrackingModel.hpp.

Definition at line 57 of file RelativeTrackingModel.hpp.


Member Enumeration Documentation

anonymous enum
Enumerator:
delta_x 
delta_y 
delta_z 
psi_t 
u_t 
w_t 
r_t 
stateNum 

Definition at line 77 of file RelativeTrackingModel.hpp.

anonymous enum
Enumerator:
d 
theta 
depth 
psi_tm 
delta_xm 
delta_ym 
delta_zm 
measSize 

Definition at line 78 of file RelativeTrackingModel.hpp.

anonymous enum
Enumerator:
x_dot 
y_dot 
psi 
X 
Z 
N 
inputSize 

Definition at line 79 of file RelativeTrackingModel.hpp.


Constructor & Destructor Documentation

The default constructor.

Definition at line 46 of file RelativeTrackingModel.cpp.

Generic destructor.

Definition at line 54 of file RelativeTrackingModel.cpp.


Member Function Documentation

void labust::navigation::RelativeTrackingModel::calculateUVInovationVariance ( const matrix P,
double &  uin,
double &  vin 
)
void labust::navigation::RelativeTrackingModel::calculateXYInovationVariance ( const matrix P,
double &  xin,
double &  yin 
)

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.

Calculate the Jacobian matrices.

Calculates the estimated output of the model.

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

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.

Parameters:
uSystem input.

Definition at line 87 of file RelativeTrackingModel.cpp.

Setup the measurement matrix for available measurements.

Definition at line 137 of file RelativeTrackingModel.cpp.

Definition at line 143 of file RelativeTrackingModel.hpp.


Member Data Documentation

The DVL linear/nonlinear flag.

Definition at line 173 of file RelativeTrackingModel.hpp.

Definition at line 161 of file RelativeTrackingModel.hpp.

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.

The NED speeds.

Definition at line 169 of file RelativeTrackingModel.hpp.

Definition at line 181 of file RelativeTrackingModel.hpp.

Definition at line 161 of file RelativeTrackingModel.hpp.

Definition at line 169 of file RelativeTrackingModel.hpp.

The nonlinear and final y.

Definition at line 181 of file RelativeTrackingModel.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