Provide a class for summing a set of group path corrections. Use it by instantiating the GroupPathCorrector objects that are desired and adding them to calcs. Then, call getCorr() for each observation to be corrected.
You may wish to use the init(), initGlobal(), initNB() method or manually add GroupPathCorrector objects as noted above, or really you can use both. The ordering of the correctors is key to how the results work, but is only relevant when e.g. an ISC from broadcast nav data is allowed and ISC data from a simple text file (not currently supported, example only) is added.
Definition at line 91 of file GroupPathCorr.hpp.
#include <GroupPathCorr.hpp>
Public Attributes | |
GroupPathCorrectorList | calcs |
The list of GroupPathCorrector objects to use in the calculation. More... | |
|
default |
Declaring it explicitly so people don't complain.
bool gnsstk::GroupPathCorr::getCorr | ( | const Position & | rxPos, |
const Position & | svPos, | ||
const SatID & | sat, | ||
const ObsID & | obs, | ||
const CommonTime & | when, | ||
NavType | nav, | ||
CorrectionResults & | corrOut, | ||
CorrDupHandling | dups = CorrDupHandling::ComputeFirst |
||
) |
[in] | dups | Indicate how duplicate CorrectorType objects will be used.
|
[in] | rxPos | The position of the GNSS receiver antenna. |
[in] | svPos | The position of the satellite with delayed signal. |
[in] | sat | The identity of the satellite with delayed signal. |
[in] | obs | The ID of the signal being un-delayed. |
[in] | when | The time of measurement. |
[in] | nav | The navigation message type of the signal. |
[out] | corrOut | The computed bias in meters. |
Definition at line 113 of file GroupPathCorr.cpp.
bool gnsstk::GroupPathCorr::getCorr | ( | const Position & | rxPos, |
const Position & | svPos, | ||
const SatID & | sat, | ||
const ObsID & | obs, | ||
const CommonTime & | when, | ||
NavType | nav, | ||
double & | corrOut, | ||
CorrDupHandling | dups = CorrDupHandling::ComputeFirst |
||
) |
[in] | dups | Indicate how duplicate CorrectorType objects will be used.
|
[in] | rxPos | The position of the GNSS receiver antenna. |
[in] | svPos | The position of the satellite with delayed signal. |
[in] | sat | The identity of the satellite with delayed signal. |
[in] | obs | The ID of the signal being un-delayed. |
[in] | when | The time of measurement. |
[in] | nav | The navigation message type of the signal. |
[out] | corrOut | The computed bias in meters. |
Definition at line 161 of file GroupPathCorr.cpp.
bool gnsstk::GroupPathCorr::getCorr | ( | const Position & | rxPos, |
const Xvt & | svPos, | ||
const SatID & | sat, | ||
const ObsID & | obs, | ||
const CommonTime & | when, | ||
NavType | nav, | ||
CorrectionResults & | corrOut, | ||
CorrDupHandling | dups = CorrDupHandling::ComputeFirst |
||
) |
[in] | dups | Indicate how duplicate CorrectorType objects will be used.
|
[in] | rxPos | The position of the GNSS receiver antenna. |
[in] | svPos | The position of the satellite with delayed signal. |
[in] | sat | The identity of the satellite with delayed signal. |
[in] | obs | The ID of the signal being un-delayed. |
[in] | when | The time of measurement. |
[in] | nav | The navigation message type of the signal. |
[out] | corrOut | The computed bias in meters. |
Definition at line 151 of file GroupPathCorr.cpp.
bool gnsstk::GroupPathCorr::getCorr | ( | const Position & | rxPos, |
const Xvt & | svPos, | ||
const SatID & | sat, | ||
const ObsID & | obs, | ||
const CommonTime & | when, | ||
NavType | nav, | ||
double & | corrOut, | ||
CorrDupHandling | dups = CorrDupHandling::ComputeFirst |
||
) |
[in] | dups | Indicate how duplicate CorrectorType objects will be used.
|
[in] | rxPos | The position of the GNSS receiver antenna. |
[in] | svPos | The position of the satellite with delayed signal. |
[in] | sat | The identity of the satellite with delayed signal. |
[in] | obs | The ID of the signal being un-delayed. |
[in] | when | The time of measurement. |
[in] | nav | The navigation message type of the signal. |
[out] | corrOut | The computed bias in meters. |
Definition at line 173 of file GroupPathCorr.cpp.
bool gnsstk::GroupPathCorr::init | ( | NavLibrary & | navLib | ) |
Fill calcs with the default set of BCISCorrector and BCIonoCorrector.
[in] | navLib | The NavLibrary for the correctors to use. |
Definition at line 48 of file GroupPathCorr.cpp.
bool gnsstk::GroupPathCorr::initGlobal | ( | NavLibrary & | navLib, |
const std::string & | rinMetFile = "" |
||
) |
Fill calcs with the default set of BCISCorrector, BCIonoCorrector and GlobalTropCorrector.
[in] | navLib | The NavLibrary for the correctors to use. |
[in] | rinMetFile | A path to a RINEX MET file to read for trop corrections. If no path is specified (the variable is left blank), no data will be read and it will be up to the caller to do any loading of data later. |
Definition at line 65 of file GroupPathCorr.cpp.
bool gnsstk::GroupPathCorr::initNB | ( | NavLibrary & | navLib, |
const std::string & | rinMetFile = "" |
||
) |
Fill calcs with the default set of BCISCorrector, BCIonoCorrector and NBTropCorrector.
[in] | navLib | The NavLibrary for the correctors to use. |
[in] | rinMetFile | A path to a RINEX MET file to read for trop corrections. If no path is specified (the variable is left blank), no data will be read. The NBTropModel in this case will use its own internal data model. |
Definition at line 89 of file GroupPathCorr.cpp.
GroupPathCorrectorList gnsstk::GroupPathCorr::calcs |
The list of GroupPathCorrector objects to use in the calculation.
Definition at line 172 of file GroupPathCorr.hpp.