Marine systems simulation
KalmanHydroBall.h
1#ifndef KALMAN_HYDRO_BALL_H
2#define KALMAN_HYDRO_BALL_H
3
4#include "HydroBall.h"
5#include "KalmanObject.h"
6#include "SimObject.h"
7
8#include "sfh/constants.h"
9#include "sfh/math.h"
10#include "sfh/text.h"
11#include "sfh/util.h"
12
13#include <Eigen/Dense>
14
15#include <memory>
16
89class KalmanHydroBall : public HydroBall, public KalmanObject
90{
91 public:
92 KalmanHydroBall(const std::string& simObjectName, ISimObjectCreator* const creator);
93 estimator::Matrix GetCovarianceP0();
94 estimator::Matrix GetProcessNoiseQ();
95 estimator::Matrix GetMeasurementNoiseR();
96 estimator::Vector ExpectedMeasurementOutput(const double T, const double* const X);
97 estimator::Vector ActualMeasurementOutput(const double T, const double* const X);
98 unsigned int GetNumMeasurements();
99
100 protected:
101 ISignalPort* m_PositionMeasurement;
102
103 double m_MeasurementNoise;
104 double m_PositionUncertainty;
105 double m_VelocityUncertainty;
106 double m_InitialP[6];
107};
108
109#endif
Definition: HydroBall.h:80
Definition: KalmanHydroBall.h:90