LRAUV  revA
DeadReckonUsingCompactModelForecast.h
Go to the documentation of this file.
1 
11 #ifndef DEADRECKONUSINGCOMPACTMODELFORECAST_H_
12 #define DEADRECKONUSINGCOMPACTMODELFORECAST_H_
13 
14 // include parent class
15 #include "navigationModule/DeadReckoner.h" // should include component/Component.h in turn
16 
17 // forward declare classes for which this class includes a pointer
19 
32 {
33 public:
36  void initialize( void );
37 
38 protected: // TODO: why private vs. protected?
39  UniversalDataReader* speedWaterReader_; // TODO: change to vector reader
40  UniversalDataReader* uForecastReader_; // TODO: change to vector reader
41  UniversalDataReader* vForecastReader_; // TODO: change to vector reader
42 
43  // variables specific to DR using compact model forecast
44  Point3D velocityRelativeToWaterInVehicleFrame_; // from UniversalURI::PLATFORM_SPEED_WRT_SEA_WATER
45  Point3D velocityRelativeToWaterInNavigationFrame_; // rotated into navigation frame
47 
48  // read in velocity required for dead reckoning calculation
49  void readVehicleVelocity( void );
50 
51  // override deadReckon to include water velocities
52  void deadReckon( void );
53  // TODO: Consider makeing DeadReckoneWithRespectToSeawater a superclass that can read vehicle velocity and seawater velocity from many different sources.
54 
55  // all other parameters and methods are inherited
56 };
57 
58 #endif /* DEADRECKONUSINGCOMPACTMODELFORECAST_H_ */
Point3D velocityRelativeToWaterInVehicleFrame_
Definition: DeadReckonUsingCompactModelForecast.h:44
void initialize(void)
Provide a space for initialization before being run.
Definition: DeadReckonUsingCompactModelForecast.cpp:41
A DataAccessor that reads values from the Slate Contains a default dataValue that must not be NULL...
Definition: UniversalDataReader.h:26
Dead Reckoning navigator using:
Definition: DeadReckonUsingCompactModelForecast.h:31
UniversalDataReader * uForecastReader_
Definition: DeadReckonUsingCompactModelForecast.h:40
void readVehicleVelocity(void)
Definition: DeadReckonUsingCompactModelForecast.cpp:57
void deadReckon(void)
Definition: DeadReckonUsingCompactModelForecast.cpp:110
DeadReckonUsingCompactModelForecast(const Module *module)
Definition: DeadReckonUsingCompactModelForecast.cpp:19
Wraps three double precision (8-byte) floating point numbers.
Definition: Point3D.h:28
UniversalDataReader * vForecastReader_
Definition: DeadReckonUsingCompactModelForecast.h:41
Module is the abstract base class for a collection of Component objects that can be contained in a lo...
Definition: Module.h:45
Contains the DeadReckoner class declaration.
Point3D velocityOfWaterRelativeToGroundInNavigationFrame_
Definition: DeadReckonUsingCompactModelForecast.h:46
General dead reckoner class.
Definition: DeadReckoner.h:25
Point3D velocityRelativeToWaterInNavigationFrame_
Definition: DeadReckonUsingCompactModelForecast.h:45
UniversalDataReader * speedWaterReader_
Definition: DeadReckonUsingCompactModelForecast.h:39
virtual ~DeadReckonUsingCompactModelForecast()
Definition: DeadReckonUsingCompactModelForecast.cpp:38