|
MRTKLIB 0.7.14
Modernized GNSS Positioning Library
|
MRTKLIB Single-Point Positioning Module — SPP functions. More...
#include "mrtklib/mrtk_context.h"#include "mrtklib/mrtk_foundation.h"#include "mrtklib/mrtk_nav.h"#include "mrtklib/mrtk_obs.h"#include "mrtklib/mrtk_opt.h"#include "mrtklib/mrtk_sol.h"#include "mrtklib/mrtk_time.h"Go to the source code of this file.
Functions | |
| int | pntpos (mrtk_ctx_t *ctx, const obsd_t *obs, int n, const nav_t *nav, const prcopt_t *opt, sol_t *sol, double *azel, ssat_t *ssat, char *msg) |
| Compute receiver position, velocity, clock bias by single-point positioning with pseudorange and doppler observables. | |
MRTKLIB Single-Point Positioning Module — SPP functions.
This header provides the standard single-point positioning function (pntpos), extracted from pntpos.c with zero algorithmic changes.
Definition in file mrtk_spp.h.
| int pntpos | ( | mrtk_ctx_t * | ctx, |
| const obsd_t * | obs, | ||
| int | n, | ||
| const nav_t * | nav, | ||
| const prcopt_t * | opt, | ||
| sol_t * | sol, | ||
| double * | azel, | ||
| ssat_t * | ssat, | ||
| char * | msg ) |
Compute receiver position, velocity, clock bias by single-point positioning with pseudorange and doppler observables.
| [in] | ctx | Runtime context (NULL = use global) |
| [in] | obs | Observation data |
| [in] | n | Number of observation data |
| [in] | nav | Navigation data |
| [in] | opt | Processing options |
| [in,out] | sol | Solution |
| [in,out] | azel | Azimuth/elevation angle (rad) (NULL: no output) |
| [in,out] | ssat | Satellite status (NULL: no output) |
| [out] | msg | Error message for error exit |
Definition at line 865 of file mrtk_spp.c.
References ssat_t::azel, DTTOL, estpos(), estvel(), free, prcopt_t::ionoopt, IONOOPT_BRDC, IONOOPT_IFLC, obsd_t::L, mat(), matcpy(), MAXOBS, MAXSAT, prcopt_t::mode, prcopt_t::nf, norm(), PMODE_SINGLE, prcopt_t::posopt, raim_fde(), ssat_t::resc, ssat_t::resp, sol_t::rr, obsd_t::sat, prcopt_t::sateph, satposs(), obsd_t::SNR, ssat_t::snr, SOLQ_NONE, ssat_t::sph, spp_detslp(), ssat_t::spt, sol_t::stat, prcopt_t::tdcp, prcopt_t::tdcpjump, prcopt_t::thresdop, gtime_t::time, obsd_t::time, sol_t::time, time_str(), timediff(), trace(), prcopt_t::tropopt, TROPOPT_SAAS, ssat_t::vs, and zeros().
Referenced by avepos(), rtkpos(), rtksvrthread(), and setopt_apppos().