MOPSWeight Class Reference
[GPS solution algorithms and Tropospheric]

#include <MOPSWeight.hpp>

Inheritance diagram for MOPSWeight:

Inheritance graph
[legend]
Collaboration diagram for MOPSWeight:

Collaboration graph
[legend]
List of all members.

Detailed Description

Class to assign weights to satellites based on the Appendix J of MOPS document RTCA DO-229D.

This class implements an algorithm to assign weights to satellites based on the RTCA "Minimum Operational Performance Standards" (MOPS), version C (RTCA/DO-229D), sections J.2.3. "Variance of Ionospheric Delay", J.2.4. "Variance of Airborne Receiver Errors" and J.2.5. "Variance of Tropospheric errors".

It is meant to be used with class "MOPSTropModel".

Definition at line 69 of file MOPSWeight.hpp.

Public Member Functions

 MOPSWeight (void)
 Empty constructor.
virtual int getWeights (CommonTime &time, Vector< SatID > &Satellites, GPSEphemerisStore &bcEph, Vector< double > &ionoCorrections, Vector< double > &elevationVector, Vector< double > &azimuthVector, Position rxPosition, int rxClass=2) throw (InvalidWeights)
 Computes a vector with the weights for the given satellites.
virtual int getWeights (CommonTime &time, Vector< SatID > &Satellites, TabularSatStore< Xvt > &preciseEph, Vector< double > &ionoCorrections, Vector< double > &elevationVector, Vector< double > &azimuthVector, Position rxPosition, int rxClass=2) throw (InvalidWeights)
 Computes a vector with the weights for the given satellites.
virtual bool isValid (void)
 Return validity of weights.

Public Attributes

Vector< double > weightsVector
 Vector of weights for these satellites.
Vector< SatIDavailableSV
 Vector with the PRN of satellites with weights available for computing.
Vector< SatIDrejectedSV
 Vector with the PRN of satellites rejected or with no proper weights.


Constructor & Destructor Documentation

MOPSWeight void   )  [inline]
 

Empty constructor.

Definition at line 75 of file MOPSWeight.hpp.


Member Function Documentation

int getWeights CommonTime time,
Vector< SatID > &  Satellites,
TabularSatStore< Xvt > &  preciseEph,
Vector< double > &  ionoCorrections,
Vector< double > &  elevationVector,
Vector< double > &  azimuthVector,
Position  rxPosition,
int  rxClass = 2
throw (InvalidWeights) [virtual]
 

Computes a vector with the weights for the given satellites.

Parameters:
time Epoch weights will be computed for.
Satellites Vector of satellites.
preciseEph Satellite precise ephemeris.
ionoCorrections Ionospheric corrections computed using Klobuchar model.
elevationVector Vector of elevations, in degrees.
azimuthVector Vector of azimuths, in degrees.
rxPosition Position of the receiver.
rxClass Integer indicating receiver class. according MOPS-C. It is 2 by default (conservative setting).
Returns:
Number of satellites with valid weights.
Note:
Method isValid() will return 'false' if some satellite does not have a valid weight. Also, its PRN will be set to a negative value.

Definition at line 143 of file MOPSWeight.cpp.

References SimpleIURAWeight::getWeights(), and GPSTK_THROW.

int getWeights CommonTime time,
Vector< SatID > &  Satellites,
GPSEphemerisStore bcEph,
Vector< double > &  ionoCorrections,
Vector< double > &  elevationVector,
Vector< double > &  azimuthVector,
Position  rxPosition,
int  rxClass = 2
throw (InvalidWeights) [virtual]
 

Computes a vector with the weights for the given satellites.

Parameters:
time Epoch weights will be computed for.
Satellites Vector of satellites.
bcEph Satellite broadcast ephemeris.
ionoCorrections Ionospheric corrections computed using Klobuchar model.
elevationVector Vector of elevations, in degrees.
azimuthVector Vector of azimuths, in degrees.
rxPosition Position of the receiver.
rxClass Integer indicating receiver class according MOPS-C. It is 2 by default (conservative setting).
Returns:
Number of satellites with valid weights.
Note:
Method isValid() will return 'false' if some satellite does not have a valid weight. Also, its PRN will be set to a negative value.

Definition at line 64 of file MOPSWeight.cpp.

References SimpleIURAWeight::getWeights(), and GPSTK_THROW.

virtual bool isValid void   )  [inline, virtual]
 

Return validity of weights.

Definition at line 158 of file MOPSWeight.hpp.


Member Data Documentation

Vector<SatID> availableSV
 

Vector with the PRN of satellites with weights available for computing.

Definition at line 149 of file MOPSWeight.hpp.

Vector<SatID> rejectedSV
 

Vector with the PRN of satellites rejected or with no proper weights.

Definition at line 154 of file MOPSWeight.hpp.

Vector<double> weightsVector
 

Vector of weights for these satellites.

Definition at line 144 of file MOPSWeight.hpp.


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