MRTKLIB 0.7.14
Modernized GNSS Positioning Library
Loading...
Searching...
No Matches
mrtk_spp.h File Reference

MRTKLIB Single-Point Positioning Module — SPP functions. More...

Include dependency graph for mrtk_spp.h:
This graph shows which files directly or indirectly include this file:

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.

Detailed Description

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.

Note
Functions declared here are implemented in mrtk_spp.c.
ionocorr/tropcorr have been moved to mrtk_atmos.h / mrtk_atmos.c.

Definition in file mrtk_spp.h.

Function Documentation

◆ pntpos()

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.

Parameters
[in]ctxRuntime context (NULL = use global)
[in]obsObservation data
[in]nNumber of observation data
[in]navNavigation data
[in]optProcessing options
[in,out]solSolution
[in,out]azelAzimuth/elevation angle (rad) (NULL: no output)
[in,out]ssatSatellite status (NULL: no output)
[out]msgError message for error exit
Returns
Status (1:ok, 0:error)

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().

Here is the call graph for this function:
Here is the caller graph for this function: