LRAUV  revA
DeadReckoner.h
Go to the documentation of this file.
1 
10 #ifndef DEADRECKONER_H_
11 #define DEADRECKONER_H_
12 
13 // include parent class
15 // forward declare classes for which this class includes a pointer
16 class ConfigReader;
17 
25 class DeadReckoner : public Navigator
26 {
27 public:
28 
35 
36  DeadReckoner( const Str& name, const Module* module );
37 
38  virtual ~DeadReckoner();
39 
40  void run( void );
41 
42 protected:
43 
44  // TODO: Some of the parameters below may be upgraded to the Navigator superclass.
45  double elapsedTime_; // seconds since last computation cycle -- this is the dt used in discrete time integration
46  double course_; // direction the vehicle is moving (in the locally-level frame)
47  double speed_, speedAccuracy_; // magnitude of vehicle velocity vector in meters per second
48  double distance_; // distance traveled during this cycle
49  double northing_, easting_; // directional displacements in meters since last computation cycle
50  double horizontalDisplacement_; // magnitude of horizontal displacement in meters since last computation cycle
51 
52  // perform actual dead reckoning computation
53  virtual void deadReckon( void ); // this is a regular virtual, as opposed to a pure virtual -- we still want to be able to override it in subclasses that need to account for water velocity, for example
54 };
55 
56 #endif /* DEADRECKONER_H_ */
double course_
Definition: DeadReckoner.h:46
Dead Reckoning navigator using:
Definition: DeadReckonUsingCompactModelForecast.h:31
virtual ~DeadReckoner()
Definition: DeadReckoner.cpp:27
Module is the abstract base class for a collection of Component objects that can be contained in a lo...
Definition: Module.h:45
Replacement for standard template class string.
Definition: Str.h:12
Dead Reckoning navigator using: UniversalURI::PLATFORM_VELOCITY_WRT_GROUND.
Definition: DeadReckonWithRespectToSeafloor.h:30
virtual void deadReckon(void)
Definition: DeadReckoner.cpp:45
void run(void)
The actual "payload" of the component.
Definition: DeadReckoner.cpp:30
double easting_
Definition: DeadReckoner.h:49
Definition: ConfigReader.h:13
Dead Reckoning navigator using UniversalURI::PLATFORM_SPEED_WRT_SEA_WATER.
Definition: DeadReckonWithRespectToWater.h:28
double speedAccuracy_
Definition: DeadReckoner.h:47
double horizontalDisplacement_
Definition: DeadReckoner.h:50
Dead Reckoning navigator using multiple sources for velocity:
Definition: DeadReckonUsingMultipleVelocitySources.h:39
double elapsedTime_
Definition: DeadReckoner.h:45
double northing_
Definition: DeadReckoner.h:49
General navigator class.
Definition: Navigator.h:30
Dead Reckoning navigator using:
Definition: DeadReckonUsingDVLWaterTrack.h:29
General dead reckoner class.
Definition: DeadReckoner.h:25
DeadReckoner(const Str &name, const Module *module)
Definition: DeadReckoner.cpp:15
double distance_
Definition: DeadReckoner.h:48
double speed_
Definition: DeadReckoner.h:47
friend class DeadReckonUsingMultipleVelocitySourcesVector
Definition: DeadReckoner.h:29