ComputeDOP Class Reference
[GPSTk data structures]

#include <ComputeDOP.hpp>

Inheritance diagram for ComputeDOP:

Inheritance graph
[legend]
Collaboration diagram for ComputeDOP:

Collaboration graph
[legend]
List of all members.

Detailed Description

This class computes the usual DOP values: GDOP, PDOP, TDOP, HDOP and VDOP.

This class is meant to be used with the GNSS data structures objects found in "DataStructures" class.

A typical way to use this class follows:

      // Create the input obs file stream
   RinexObsStream rin("ebre0300.02o");

      // Loads precise ephemeris object with file data
   SP3EphemerisStore SP3EphList;
   SP3EphList.loadFile("igs11513.sp3");

      // Sets nominal position of receiver
   Position nominalPos(4833520.3800, 41536.8300, 4147461.2800);

      // Object to compute basic model data
   BasicModel basicM(nominalPos, SP3EphList);

      // Declare a base-changing object: ECEF to North-East-Up (NEU)
   XYZ2NEU baseChange(nominalPos);

      // Object to compute DOP
   ComputeDOP cDOP;

   gnssRinex gRin;
   while(rin >> gRin)
   {
      gRin >> basicM >> baseChange >> cDOP;
   }

Please note that, in order to work appropriately, class ComputeDOP needs that the GNSS Data Structure contains the values of the full geometry matrix both for XYZ and ENU. This may be achieved if before calling the ComputeDOP objects, we call objects from classes like BasicModel and XYZ2NEU, among others.

Warning:
If the GNSS Data Structure does not contain the necessary geometric coefficients, ComputeDOP will return the corresponding DOP values as -1.0.
See also:
BasicModel.hpp, ModelObsFixedStation.hpp, ModelObs.hpp, ModeledReferencePR.hpp, ModeledPR.hpp, XYZ2NEU.hpp and XYZ2NED.hpp.

Definition at line 95 of file ComputeDOP.hpp.

Public Member Functions

 ComputeDOP ()
 Default constructor.
virtual satTypeValueMapProcess (const CommonTime &time, satTypeValueMap &gData) throw (ProcessingException)
 Returns a satTypeValueMap object, adding the new data generated when calling this object.
virtual gnssSatTypeValueProcess (gnssSatTypeValue &gData) throw (ProcessingException)
 Returns a gnnsSatTypeValue object, adding the new data generated when calling this object.
virtual gnssRinexProcess (gnssRinex &gData) throw (ProcessingException)
 Returns a gnnsRinex object, adding the new data generated when calling this object.
virtual double getGDOP (void) const
 Returns GDOP.
virtual double getPDOP (void) const
 Returns PDOP.
virtual double getTDOP (void) const
 Returns TDOP.
virtual double getHDOP (void) const
 Returns HDOP.
virtual double getVDOP (void) const
 Returns VDOP.
virtual std::string getClassName (void) const
 Returns a string identifying this object.
virtual ~ComputeDOP ()
 Destructor.


Constructor & Destructor Documentation

ComputeDOP  )  [inline]
 

Default constructor.

Definition at line 100 of file ComputeDOP.hpp.

virtual ~ComputeDOP  )  [inline, virtual]
 

Destructor.

Definition at line 166 of file ComputeDOP.hpp.


Member Function Documentation

std::string getClassName void   )  const [virtual]
 

Returns a string identifying this object.

Implements ProcessingClass.

Definition at line 38 of file ComputeDOP.cpp.

virtual double getGDOP void   )  const [inline, virtual]
 

Returns GDOP.

Definition at line 137 of file ComputeDOP.hpp.

virtual double getHDOP void   )  const [inline, virtual]
 

Returns HDOP.

Definition at line 152 of file ComputeDOP.hpp.

virtual double getPDOP void   )  const [inline, virtual]
 

Returns PDOP.

Definition at line 142 of file ComputeDOP.hpp.

virtual double getTDOP void   )  const [inline, virtual]
 

Returns TDOP.

Definition at line 147 of file ComputeDOP.hpp.

virtual double getVDOP void   )  const [inline, virtual]
 

Returns VDOP.

Definition at line 157 of file ComputeDOP.hpp.

virtual gnssRinex& Process gnssRinex gData  )  throw (ProcessingException) [inline, virtual]
 

Returns a gnnsRinex object, adding the new data generated when calling this object.

Parameters:
gData Data object holding the data.

Implements ProcessingClass.

Definition at line 131 of file ComputeDOP.hpp.

virtual gnssSatTypeValue& Process gnssSatTypeValue gData  )  throw (ProcessingException) [inline, virtual]
 

Returns a gnnsSatTypeValue object, adding the new data generated when calling this object.

Parameters:
gData Data object holding the data.

Implements ProcessingClass.

Definition at line 121 of file ComputeDOP.hpp.

satTypeValueMap & Process const CommonTime time,
satTypeValueMap gData
throw (ProcessingException) [virtual]
 

Returns a satTypeValueMap object, adding the new data generated when calling this object.

Parameters:
time Epoch corresponding to the data.
gData Data object holding the data.

Definition at line 49 of file ComputeDOP.cpp.

References GPSTK_THROW, gpstk::inverseChol(), gpstk::sqrt(), gpstk::transpose(), and gpstk::TypeIDSet.


The documentation for this class was generated from the following files:
Generated on Sun May 19 03:31:40 2013 for GPS ToolKit Software Library by  doxygen 1.3.9.1