|
MRTKLIB 0.7.14
Modernized GNSS Positioning Library
|
#include "mrtklib/mrtk_ppp.h"#include <math.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include "mrtklib/mrtk_antenna.h"#include "mrtklib/mrtk_astro.h"#include "mrtklib/mrtk_atmos.h"#include "mrtklib/mrtk_bias_sinex.h"#include "mrtklib/mrtk_const.h"#include "mrtklib/mrtk_context.h"#include "mrtklib/mrtk_coords.h"#include "mrtklib/mrtk_has.h"#include "mrtklib/mrtk_ionex.h"#include "mrtklib/mrtk_madoca.h"#include "mrtklib/mrtk_mat.h"#include "mrtklib/mrtk_peph.h"#include "mrtklib/mrtk_ppp_ar.h"#include "mrtklib/mrtk_ppp_rtk.h"#include "mrtklib/mrtk_sbas.h"#include "mrtklib/mrtk_tides.h"#include "mrtklib/mrtk_trace.h"Go to the source code of this file.
Macros | |
| #define | SQR(x) |
| #define | SQRT(x) |
| #define | MAX(x, y) |
| #define | MIN(x, y) |
| #define | ROUND(x) |
| #define | PPP_NFREQ 4 /* number of freq. for PPP */ |
| #define | SOLQ_FIX_WL 99 /* solution status: wide-lane fixed */ |
| #define | MAX_ITER 8 /* max number of iterations */ |
| #define | MIN_NSAT_SOL 4 /* min satellite number for solution */ |
| #define | THRES_REJECT 4.0 /* reject threshold of posfit-res (sigma) */ |
| #define | THRES_MW_JUMP 10.0 |
| #define | VAR_POS SQR(60.0) /* init variance receiver position (m^2) */ |
| #define | VAR_VEL SQR(10.0) /* init variance of receiver vel ((m/s)^2) */ |
| #define | VAR_ACC SQR(10.0) /* init variance of receiver acc ((m/ss)^2) */ |
| #define | VAR_CLK SQR(60.0) /* init variance receiver clock (m^2) */ |
| #define | VAR_ZTD SQR(0.12) /* init variance ztd (m^2) */ |
| #define | VAR_GRA SQR(0.01) /* init variance gradient (m^2) */ |
| #define | VAR_IFB SQR(30.0) /* init variance ifb (m^2) */ |
| #define | VAR_BIAS SQR(60.0) /* init variance phase-bias (m^2) */ |
| #define | VAR_IONO SQR(60.0) /* init variance iono-delay */ |
| #define | VAR_GLO_IFB SQR(0.6) /* variance of glonass ifb */ |
| #define | ERR_SAAS 0.3 /* saastamoinen model error std (m) */ |
| #define | ERR_BRDCI 0.5 /* broadcast iono model error factor */ |
| #define | REL_HUMI 0.7 /* relative humidity for saastamoinen model */ |
| #define | GAP_RESION 120 /* default gap to reset ionos parameters (ep) */ |
| #define | NF(opt) |
| #define | NP(opt) |
| #define | NC(opt) |
| #define | NI(opt) |
| #define | N3(opt) |
| #define | N4(opt) |
| #define | NR(opt) |
| #define | NB(opt) |
| #define | NX(opt) |
| #define | IC(s, opt) |
| #define | IT(opt) |
| #define | II(s, opt) |
| #define | I3(s, opt) |
| #define | I4(s, opt) |
| #define | IB(s, f, opt) |
Functions | |
| int | satsys (int sat, int *prn) |
| int | satsys_bd2 (int sat, int *prn) |
| void | satno2id (int sat, char *id) |
| int | satid2no (const char *id) |
| double | sat2freq (int sat, uint8_t code, const nav_t *nav) |
| int | satexclude (int sat, double var, int svh, const prcopt_t *opt) |
| char * | time_str (gtime_t t, int n) |
| void | time2str (gtime_t t, char *s, int n) |
| double | time2gpst (gtime_t t, int *week) |
| void | sunmoonpos (gtime_t tut, const double *erpv, double *rsun, double *rmoon, double *gmst) |
| double | geodist (const double *rs, const double *rr, double *e) |
| double | satazel (const double *pos, const double *e, double *azel) |
| void | satantoff (gtime_t time, const double *rs, int sat, const nav_t *nav, double *dant) |
| void | ecef2pos (const double *r, double *pos) |
| void | ecef2enu (const double *pos, const double *r, double *e) |
| void | xyz2enu (const double *pos, double *E) |
| void | covecef (const double *pos, const double *Q, double *P) |
| void | covenu (const double *pos, const double *P, double *Q) |
| double | dot (const double *a, const double *b, int n) |
| double | norm (const double *a, int n) |
| int | normv3 (const double *a, double *b) |
| void | cross3 (const double *a, const double *b, double *c) |
| void | matcpy (double *A, const double *B, int n, int m) |
| void | matmul (const char *tr, int n, int k, int m, double alpha, const double *A, const double *B, double beta, double *C) |
| double * | mat (int n, int m) |
| int * | imat (int n, int m) |
| double * | zeros (int n, int m) |
| double * | eye (int n) |
| int | filter (double *x, double *P, const double *H, const double *v, const double *R, int n, int m) |
| double | sbstropcorr (gtime_t time, const double *pos, const double *azel, double *var) |
| double | ionmodel (gtime_t t, const double *ion, const double *pos, const double *azel) |
| int | iontec (gtime_t time, const nav_t *nav, const double *pos, const double *azel, int opt, double *delay, double *var) |
| int | sbsioncorr (gtime_t time, const nav_t *nav, const double *pos, const double *azel, double *delay, double *var) |
| double | tropmodel (gtime_t time, const double *pos, const double *azel, double humi) |
| double | tropmapf (gtime_t time, const double *pos, const double *azel, double *mapfw) |
| int | testsnr (int base, int freq, double el, double snr, const snrmask_t *mask) |
| void | antmodel (const pcv_t *pcv, const double *del, const double *azel, int opt, double *dant) |
| void | antmodel_s (const pcv_t *pcv, double nadir, double *dant) |
| void | satposs (gtime_t teph, const obsd_t *obs, int n, const nav_t *nav, int ephopt, double *rs, double *dts, double *var, int *svh) |
| gtime_t | gpst2utc (gtime_t t) |
| void | tidedisp (gtime_t tutc, const double *rr, int opt, const erp_t *erp, const double *odisp, double *dr) |
| unsigned int | tickget (void) |
| char * | code2obs (uint8_t code) |
| int | mcssr_sel_biascode (const int sys, const int code) |
| int | const_iono_corr (rtk_t *rtk, const obsd_t *obs, const nav_t *nav, const int n, const double *azel, const int *exc, const double *rr, const double *x, double *v, double *H, double *var) |
| static int | NT (const prcopt_t *opt) |
| static double | STD (rtk_t *rtk, int i) |
| int | pppoutstat (rtk_t *rtk, char *buff) |
| Write PPP solution status to buffer. | |
| static void | testeclipse (const obsd_t *obs, int n, const nav_t *nav, double *rs) |
| static double | yaw_nominal (double beta, double mu) |
| int | yaw_angle (int sat, const char *type, int opt, double beta, double mu, double *yaw) |
| static int | sat_yaw (gtime_t time, int sat, const char *type, int opt, const double *rs, double *exs, double *eys) |
| static int | model_phw (gtime_t time, int sat, const char *type, int opt, const double *rs, const double *rr, double *phw) |
| static double | varerr (int sat, int sys, double el, int idx, int type, const prcopt_t *opt) |
| static void | initx (rtk_t *rtk, double xi, double var, int i) |
| static double | gfmeas (const obsd_t *obs, const nav_t *nav, int f) |
| static double | mwmeas (const obsd_t *obs, const nav_t *nav, int f) |
| static void | ppp_note_autosig (int sys, uint8_t code) |
| static int | corr_meas (const obsd_t *obs, const nav_t *nav, const double *azel, const prcopt_t *opt, const double *dantr, const double *dants, double phw, double *L, double *P, double *Lc, double *Pc, int tl) |
| static void | detslp_dop (rtk_t *rtk, const obsd_t *obs, int n, const nav_t *nav) |
| static void | detslp_code (rtk_t *rtk, const obsd_t *obs, int n) |
| static void | detslp_ll (rtk_t *rtk, const obsd_t *obs, int n) |
| static void | detslp_gf (rtk_t *rtk, const obsd_t *obs, int n, const nav_t *nav) |
| static void | detslp_mw (rtk_t *rtk, const obsd_t *obs, int n, const nav_t *nav) |
| static void | detslp_ssr (rtk_t *rtk, const obsd_t *obs, int n, const nav_t *nav) |
| static void | udpos_ppp (rtk_t *rtk) |
| static void | udclk_ppp (rtk_t *rtk) |
| static void | udtrop_ppp (rtk_t *rtk) |
| static void | udiono_ppp (rtk_t *rtk, const obsd_t *obs, int n, const nav_t *nav) |
| static void | udifb_ppp (rtk_t *rtk) |
| static void | udbias_ppp (rtk_t *rtk, const obsd_t *obs, int n, const nav_t *nav) |
| static void | udstate_ppp (rtk_t *rtk, const obsd_t *obs, int n, const nav_t *nav) |
| static void | satantpcv (const double *rs, const double *rr, const pcv_t *pcv, double *dant) |
| static double | trop_model_prec (gtime_t time, const double *pos, const double *azel, const double *x, double *dtdx, double *var) |
| static int | model_trop (gtime_t time, const double *pos, const double *azel, const prcopt_t *opt, const double *x, double *dtdx, const nav_t *nav, double *dtrp, double *var) |
| static int | model_iono (gtime_t time, const double *pos, const double *azel, const prcopt_t *opt, int sat, const double *x, const nav_t *nav, double *dion, double *var) |
| static int | ppp_res (int post, const obsd_t *obs, int n, const double *rs, const double *dts, const double *var_rs, const int *svh, const double *dr, int *exc, const nav_t *nav, const double *x, const double *cov, rtk_t *rtk, double *v, double *H, double *R, double *azel, double *resrms) |
| int | pppnx (const prcopt_t *opt) |
| Number of estimated states for PPP. | |
| static void | update_stat (rtk_t *rtk, const obsd_t *obs, int n, int stat) |
| static int | test_hold_amb (rtk_t *rtk) |
| void | pppos (mrtk_ctx_t *ctx, rtk_t *rtk, const obsd_t *obs, int n, const nav_t *nav) |
| Precise point positioning. | |
| #define ERR_BRDCI 0.5 /* broadcast iono model error factor */ |
Definition at line 206 of file mrtk_ppp.c.
| #define ERR_SAAS 0.3 /* saastamoinen model error std (m) */ |
Definition at line 205 of file mrtk_ppp.c.
| #define GAP_RESION 120 /* default gap to reset ionos parameters (ep) */ |
Definition at line 208 of file mrtk_ppp.c.
Referenced by udion(), and udiono_ppp().
| #define I3 | ( | s, | |
| opt ) |
| #define I4 | ( | s, | |
| opt ) |
Definition at line 229 of file mrtk_ppp.c.
Referenced by ppp_res(), and udifb_ppp().
| #define IB | ( | s, | |
| f, | |||
| opt ) |
Definition at line 230 of file mrtk_ppp.c.
Referenced by ppp_res(), pppoutstat(), set_init_pb(), udbias(), udbias_ppp(), and udbias_ppp().
| #define IC | ( | s, | |
| opt ) |
Definition at line 225 of file mrtk_ppp.c.
Referenced by ppp_res(), pppoutstat(), udclk_ppp(), and update_stat().
| #define II | ( | s, | |
| opt ) |
Definition at line 227 of file mrtk_ppp.c.
Referenced by model_iono(), ppp_res(), pppoutstat(), and udiono_ppp().
| #define IT | ( | opt | ) |
Definition at line 226 of file mrtk_ppp.c.
Referenced by model_trop(), ppp_res(), pppoutstat(), and udtrop_ppp().
| #define MAX | ( | x, | |
| y ) |
Definition at line 181 of file mrtk_ppp.c.
Referenced by udiono_ppp().
| #define MAX_ITER 8 /* max number of iterations */ |
Definition at line 188 of file mrtk_ppp.c.
Referenced by pppos().
| #define MIN | ( | x, | |
| y ) |
Definition at line 182 of file mrtk_ppp.c.
| #define MIN_NSAT_SOL 4 /* min satellite number for solution */ |
Definition at line 189 of file mrtk_ppp.c.
Referenced by update_stat().
| #define N3 | ( | opt | ) |
| #define N4 | ( | opt | ) |
Definition at line 221 of file mrtk_ppp.c.
Referenced by udifb_ppp().
| #define NB | ( | opt | ) |
Definition at line 223 of file mrtk_ppp.c.
| #define NC | ( | opt | ) |
Definition at line 213 of file mrtk_ppp.c.
Referenced by udclk_ppp().
| #define NF | ( | opt | ) |
Definition at line 211 of file mrtk_ppp.c.
Referenced by ppp_res(), pppoutstat(), udbias_ppp(), and udstate_ppp().
| #define NI | ( | opt | ) |
Definition at line 219 of file mrtk_ppp.c.
| #define NP | ( | opt | ) |
Definition at line 212 of file mrtk_ppp.c.
Referenced by eci2ecef(), and residual_test().
| #define NR | ( | opt | ) |
| #define NX | ( | opt | ) |
Definition at line 224 of file mrtk_ppp.c.
| #define PPP_NFREQ 4 /* number of freq. for PPP */ |
Definition at line 185 of file mrtk_ppp.c.
| #define REL_HUMI 0.7 /* relative humidity for saastamoinen model */ |
Definition at line 207 of file mrtk_ppp.c.
| #define ROUND | ( | x | ) |
Definition at line 183 of file mrtk_ppp.c.
Referenced by test_hold_amb(), and udbias_ppp().
| #define SOLQ_FIX_WL 99 /* solution status: wide-lane fixed */ |
Definition at line 186 of file mrtk_ppp.c.
Referenced by pppos(), and update_stat().
| #define SQR | ( | x | ) |
Definition at line 179 of file mrtk_ppp.c.
Referenced by corr_meas(), model_iono(), model_trop(), ppp_res(), trop_model_prec(), udbias_ppp(), udifb_ppp(), udiono_ppp(), udpos_ppp(), udtrop_ppp(), and varerr().
| #define SQRT | ( | x | ) |
Definition at line 180 of file mrtk_ppp.c.
| #define THRES_MW_JUMP 10.0 |
Definition at line 192 of file mrtk_ppp.c.
Referenced by detslp_mw().
| #define THRES_REJECT 4.0 /* reject threshold of posfit-res (sigma) */ |
Definition at line 190 of file mrtk_ppp.c.
Referenced by ppp_res().
| #define VAR_ACC SQR(10.0) /* init variance of receiver acc ((m/ss)^2) */ |
Definition at line 196 of file mrtk_ppp.c.
Referenced by udpos(), udpos(), udpos_ppp(), and udpos_ppp().
| #define VAR_BIAS SQR(60.0) /* init variance phase-bias (m^2) */ |
Definition at line 201 of file mrtk_ppp.c.
Referenced by udbias_ppp().
| #define VAR_CLK SQR(60.0) /* init variance receiver clock (m^2) */ |
Definition at line 197 of file mrtk_ppp.c.
Referenced by udclk_ppp().
| #define VAR_GLO_IFB SQR(0.6) /* variance of glonass ifb */ |
Definition at line 203 of file mrtk_ppp.c.
Referenced by ppp_res().
| #define VAR_GRA SQR(0.01) /* init variance gradient (m^2) */ |
Definition at line 199 of file mrtk_ppp.c.
Referenced by udtrop(), udtrop(), udtrop(), and udtrop_ppp().
| #define VAR_IFB SQR(30.0) /* init variance ifb (m^2) */ |
Definition at line 200 of file mrtk_ppp.c.
Referenced by udifb_ppp().
| #define VAR_IONO SQR(60.0) /* init variance iono-delay */ |
Definition at line 202 of file mrtk_ppp.c.
Referenced by udiono_ppp().
| #define VAR_POS SQR(60.0) /* init variance receiver position (m^2) */ |
Definition at line 194 of file mrtk_ppp.c.
Referenced by udpos(), udpos(), udpos_ppp(), and udpos_ppp().
| #define VAR_VEL SQR(10.0) /* init variance of receiver vel ((m/s)^2) */ |
Definition at line 195 of file mrtk_ppp.c.
Referenced by udpos(), udpos(), udpos_ppp(), and udpos_ppp().
| #define VAR_ZTD SQR(0.12) /* init variance ztd (m^2) */ |
Definition at line 198 of file mrtk_ppp.c.
Referenced by udtrop_ppp().
|
extern |
Definition at line 481 of file mrtk_antenna.c.
Referenced by ppp_res().
|
extern |
Definition at line 507 of file mrtk_antenna.c.
Referenced by satantpcv().
|
extern |
Definition at line 190 of file mrtk_obs.c.
Referenced by corr_meas(), detslp_code(), ppp_note_autosig(), and ppp_res().
|
extern |
Definition at line 259 of file mrtk_ppp_iono.c.
References pppiono_t::corr, covenu(), pppiono_corr_t::dly, ecef2pos(), II, IONO_COV_RATIO, IONO_REJ_STD, IONO_THRE_H, IONO_THRE_V, MIONO_MAX_AGE, NSYS, rtk_t::nx, rtk_t::opt, nav_s::pppiono, prcopt_t::pppopt, rtk_t::prev_qr, R2D, obsd_t::sat, satno2id(), satsys(), SQR, SQRT, pppiono_corr_t::std, SYS_GAL, SYS_GLO, SYS_GPS, SYS_QZS, pppiono_corr_t::t0, gtime_t::time, obsd_t::time, time_str(), timediff(), and trace().
Referenced by ppp_res().
|
static |
Definition at line 564 of file mrtk_ppp.c.
References nav_s::cbias, ssr_t::cbias, CLIGHT, obsd_t::code, code2obs(), CODE_L1C, CODE_L2C, CODE_L5Q, CODE_L5X, CODE_NONE, CORR_GAL_HAS, CORR_IGS, CORR_IGS_RTS, CORR_NONE, prcopt_t::correction, freq_idx2ant_idx(), getsysno(), has_sel_biascode(), prcopt_t::ionoopt, IONOOPT_EST, obsd_t::L, mcssr_sel_biascode(), prcopt_t::nf, nav_s::osb, obsd_t::P, ssr_t::pbias, ppp_note_autosig(), prcopt_t::pppopt, osb_t::rsatcb, osb_t::rsyscb, obsd_t::sat, sat2freq(), satno2id(), satsys(), satsys_bd2(), osb_t::scb, obsd_t::SNR, SNR_UNIT, prcopt_t::snrmask, osb_t::spb, SQR, nav_s::ssr_ch, SSR_INVALID_CBIAS, SSR_INVALID_PBIAS, SYS_GLO, SYS_GPS, testsnr(), obsd_t::time, time_str(), trace(), prcopt_t::unbias, ssr_t::vcbias, ssr_t::vpbias, osb_t::vrsatcb, osb_t::vrsyscb, osb_t::vscb, and osb_t::vspb.
Referenced by ppp_res(), udbias_ppp(), and udiono_ppp().
|
extern |
Definition at line 202 of file mrtk_coords.c.
Referenced by udpos_ppp().
|
extern |
Definition at line 188 of file mrtk_coords.c.
|
extern |
Definition at line 172 of file mrtk_mat.c.
Referenced by model_phw(), and sat_yaw().
Definition at line 823 of file mrtk_ppp.c.
References obsd_t::code, code2obs(), CODE_NONE, ssat_t::codeprev, MAXOBS, prcopt_t::nf, rtk_t::opt, obsd_t::sat, ssat_t::slip, rtk_t::ssat, and trace().
Referenced by udbias_ppp().
Definition at line 773 of file mrtk_ppp.c.
References obsd_t::D, DTTOL, obsd_t::L, MAXOBS, prcopt_t::nf, rtk_t::opt, ssat_t::ph, ssat_t::pt, obsd_t::sat, ssat_t::slip, rtk_t::ssat, prcopt_t::thresdop, timediff(), and trace().
Referenced by udbias_ppp().
Definition at line 864 of file mrtk_ppp.c.
References ssat_t::gf, gfmeas(), MAXOBS, prcopt_t::nf, rtk_t::opt, obsd_t::sat, satno2id(), ssat_t::slip, rtk_t::ssat, prcopt_t::thresslip, and trace().
Referenced by udbias_ppp().
Definition at line 844 of file mrtk_ppp.c.
References MAXOBS, prcopt_t::nf, rtk_t::opt, obsd_t::sat, satno2id(), ssat_t::slip, rtk_t::ssat, and trace().
Referenced by udbias_ppp().
Definition at line 893 of file mrtk_ppp.c.
References MAXOBS, ssat_t::mw, mwmeas(), prcopt_t::nf, rtk_t::opt, obsd_t::sat, satno2id(), ssat_t::slip, rtk_t::ssat, THRES_MW_JUMP, and trace().
Referenced by udbias_ppp().
Definition at line 922 of file mrtk_ppp.c.
References CODE_NONE, ssr_t::discnt, ssat_t::discont, EPHOPT_SSRAPC, EPHOPT_SSRCOM, MAXOBS, mcssr_sel_biascode(), prcopt_t::nf, rtk_t::opt, ssr_t::pbias, obsd_t::sat, prcopt_t::sateph, satno2id(), satsys(), ssat_t::slip, rtk_t::ssat, nav_s::ssr_ch, ssr_t::t0, gtime_t::time, and trace().
Referenced by udbias_ppp().
|
extern |
Definition at line 151 of file mrtk_mat.c.
Referenced by model_phw(), sat_yaw(), satantpcv(), and testeclipse().
|
extern |
Definition at line 162 of file mrtk_coords.c.
Referenced by pppoutstat().
|
extern |
Definition at line 102 of file mrtk_coords.c.
Referenced by model_phw(), ppp_res(), pppoutstat(), udbias_ppp(), udiono_ppp(), udpos_ppp(), and udtrop_ppp().
|
extern |
Definition at line 129 of file mrtk_mat.c.
Referenced by udpos_ppp().
|
extern |
Definition at line 524 of file mrtk_mat.c.
Referenced by pppos().
|
extern |
Definition at line 493 of file mrtk_coords.c.
Referenced by ppp_res().
Definition at line 501 of file mrtk_ppp.c.
References CLIGHT, obsd_t::code, obsd_t::L, obsd_t::sat, and sat2freq().
Referenced by detslp_gf().
Definition at line 422 of file mrtk_time.c.
Referenced by pppos(), sat_yaw(), and testeclipse().
|
extern |
Definition at line 92 of file mrtk_mat.c.
Referenced by udpos_ppp().
|
static |
Definition at line 493 of file mrtk_ppp.c.
References rtk_t::nx, rtk_t::P, and rtk_t::x.
Referenced by udbias_ppp(), udclk_ppp(), udifb_ppp(), udiono_ppp(), udpos_ppp(), and udtrop_ppp().
|
extern |
Definition at line 63 of file mrtk_atmos.c.
Referenced by model_iono().
|
extern |
Definition at line 481 of file mrtk_ionex.c.
Referenced by model_iono().
|
extern |
Definition at line 76 of file mrtk_mat.c.
Referenced by pppos(), and udpos_ppp().
|
extern |
Definition at line 205 of file mrtk_mat.c.
Referenced by model_trop(), pppos(), and sat_yaw().
|
extern |
Definition at line 310 of file mrtk_mat.c.
Referenced by udpos_ppp().
|
extern |
Definition at line 988 of file mrtk_madoca.c.
Referenced by corr_meas(), and detslp_ssr().
|
static |
Definition at line 1410 of file mrtk_ppp.c.
References ERR_BRDCI, II, nav_s::ion_gps, ionmodel(), prcopt_t::ionoopt, IONOOPT_BRDC, IONOOPT_EST, IONOOPT_IFLC, IONOOPT_SBAS, IONOOPT_TEC, iontec(), sbsioncorr(), and SQR.
Referenced by ppp_res().
|
static |
|
static |
Definition at line 1389 of file mrtk_ppp.c.
References ERR_SAAS, IT, matcpy(), REL_HUMI, sbstropcorr(), SQR, trop_model_prec(), tropmodel(), prcopt_t::tropopt, TROPOPT_EST, TROPOPT_ESTG, TROPOPT_SAAS, and TROPOPT_SBAS.
Referenced by ppp_res().
Definition at line 512 of file mrtk_ppp.c.
References CLIGHT, obsd_t::code, obsd_t::L, obsd_t::P, obsd_t::sat, and sat2freq().
Referenced by detslp_mw().
|
extern |
Definition at line 165 of file mrtk_mat.c.
Referenced by model_phw(), pppos(), testeclipse(), and udpos_ppp().
|
extern |
Definition at line 183 of file mrtk_mat.c.
Referenced by model_phw(), sat_yaw(), satantpcv(), and testeclipse().
|
inlinestatic |
Definition at line 214 of file mrtk_ppp.c.
References prcopt_t::tropopt, and TROPOPT_EST.
|
static |
Definition at line 527 of file mrtk_ppp.c.
References code2obs(), SYS_CMP, SYS_GAL, SYS_GLO, SYS_GPS, SYS_IRN, SYS_QZS, and trace().
Referenced by corr_meas().
|
static |
Definition at line 1435 of file mrtk_ppp.c.
References prcopt_t::antdel, antmodel(), CLIGHT, code2obs(), const_iono_corr(), corr_meas(), ecef2pos(), prcopt_t::elmin, ssat_t::fix, FREQ1, geodist(), I3, I4, IB, IC, II, prcopt_t::ionocorr, prcopt_t::ionoopt, IONOOPT_EST, IONOOPT_IFLC, IT, prcopt_t::maxinno, MAXOBS, MAXSAT, model_iono(), model_phw(), model_trop(), NF, prcopt_t::nf, NFREQPCV, rtk_t::nx, rtk_t::opt, prcopt_t::pcvr, nav_s::pcvs, ssat_t::phw, prcopt_t::posopt, R2D, ssat_t::rejc, ssat_t::resc, ssat_t::resp, obsd_t::sat, sat2freq(), satantpcv(), satazel(), satexclude(), satno2id(), satsys(), satsys_bd2(), rtk_t::sol, SQR, SQRT, rtk_t::ssat, SYS_BD2, SYS_CMP, SYS_GAL, SYS_GLO, SYS_IRN, SYS_QZS, THRES_REJECT, sol_t::time, time2str(), trace(), prcopt_t::tropopt, TROPOPT_EST, TROPOPT_ESTG, pcv_t::type, prcopt_t::uraratio, VAR_GLO_IFB, varerr(), ssat_t::vs, ssat_t::vsat, and rtk_t::x.
Referenced by pppos().
|
extern |
Number of estimated states for PPP.
| [in] | opt | Processing options |
Definition at line 1681 of file mrtk_ppp.c.
References NX.
Referenced by rtkinit().
|
extern |
Precise point positioning.
| [in,out] | rtk | RTK control/result struct |
| [in] | obs | Observation data |
| [in] | n | Number of observation data |
| [in] | nav | Navigation data |
Definition at line 1783 of file mrtk_ppp.c.
References nav_s::erp, filter(), ssat_t::fix, free, gpst2utc(), mat(), matcpy(), MAX_ITER, MAXOBS, MAXSAT, prcopt_t::minfix, prcopt_t::nf, rtk_t::nfix, norm(), rtk_t::nx, prcopt_t::odisp, rtk_t::opt, rtk_t::P, rtk_t::Pa, prcopt_t::posopt, ppp_ar(), ppp_res(), prcopt_t::sateph, satposs(), SOLQ_FIX, SOLQ_FIX_WL, SOLQ_PPP, SOLQ_SINGLE, rtk_t::ssat, test_hold_amb(), testeclipse(), prcopt_t::tidecorr, tidedisp(), time2str(), trace(), udstate_ppp(), update_stat(), rtk_t::x, rtk_t::xa, and zeros().
Referenced by rtkpos().
|
extern |
Write PPP solution status to buffer.
| [in,out] | rtk | RTK control/result struct |
| [out] | buff | Output buffer |
Definition at line 240 of file mrtk_ppp.c.
References ssat_t::azel, CLIGHT, prcopt_t::dynamics, ecef2enu(), ecef2pos(), IB, IC, II, prcopt_t::ionoopt, IONOOPT_EST, IT, MAXSAT, prcopt_t::mode, NF, rtk_t::opt, PMODE_PPP_RTK, ppprtk_outstat(), R2D, sol_t::rr, satno2id(), rtk_t::sol, SOLQ_FIX, rtk_t::ssat, sol_t::stat, STD(), sol_t::time, time2gpst(), trace(), prcopt_t::tropopt, TROPOPT_EST, TROPOPT_ESTG, ssat_t::vs, rtk_t::x, and rtk_t::xa.
Referenced by rtkoutstat().
|
extern |
Definition at line 244 of file mrtk_obs.c.
Referenced by corr_meas(), gfmeas(), mwmeas(), ppp_res(), udbias_ppp(), and udiono_ppp().
|
static |
Definition at line 375 of file mrtk_ppp.c.
References cross3(), dot(), gpst2utc(), matcpy(), normv3(), OMGE, PI, sunmoonpos(), and yaw_angle().
Referenced by model_phw().
|
extern |
Definition at line 785 of file mrtk_peph.c.
|
static |
Definition at line 1343 of file mrtk_ppp.c.
References antmodel_s(), dot(), and normv3().
Referenced by ppp_res().
|
extern |
Definition at line 517 of file mrtk_coords.c.
Referenced by ppp_res().
|
extern |
|
extern |
Definition at line 753 of file mrtk_nav.c.
|
extern |
Definition at line 817 of file mrtk_nav.c.
Referenced by corr_meas(), detslp_gf(), detslp_ll(), detslp_mw(), detslp_ssr(), ppp_res(), pppoutstat(), and udiono_ppp().
|
extern |
Definition at line 940 of file mrtk_eph.c.
Referenced by pppos().
|
extern |
Definition at line 117 of file mrtk_nav.c.
Referenced by corr_meas(), detslp_ssr(), and ppp_res().
|
extern |
Definition at line 159 of file mrtk_nav.c.
Referenced by corr_meas(), and ppp_res().
|
extern |
Definition at line 823 of file mrtk_sbas.c.
Referenced by model_iono().
|
extern |
Definition at line 930 of file mrtk_sbas.c.
Referenced by model_trop(), and udtrop_ppp().
|
static |
Definition at line 233 of file mrtk_ppp.c.
References rtk_t::nx, rtk_t::P, rtk_t::Pa, rtk_t::sol, SOLQ_FIX, SQRT, and sol_t::stat.
Referenced by pppoutstat().
|
extern |
Definition at line 135 of file mrtk_astro.c.
Referenced by sat_yaw(), and testeclipse().
|
static |
Definition at line 1752 of file mrtk_ppp.c.
References rtk_t::ambc, ARMODE_FIXHOLD, ssat_t::fix, ambc_t::flags, MAXSAT, prcopt_t::minfix, prcopt_t::modear, rtk_t::nfix, rtk_t::opt, ROUND, rtk_t::ssat, and rtk_t::tt.
Referenced by pppos().
Definition at line 322 of file mrtk_ppp.c.
References dot(), gpst2utc(), norm(), normv3(), nav_s::pcvs, PI, RE_WGS84, obsd_t::sat, sunmoonpos(), time_str(), trace(), and pcv_t::type.
Referenced by pppos().
|
extern |
Definition at line 132 of file mrtk_obs.c.
Referenced by corr_meas().
|
extern |
Definition at line 566 of file mrtk_time.c.
|
extern |
Definition at line 261 of file mrtk_tides.c.
Referenced by pppos().
|
extern |
Definition at line 181 of file mrtk_time.c.
Referenced by pppoutstat(), and udbias_ppp().
|
extern |
Definition at line 507 of file mrtk_time.c.
Referenced by ppp_res(), and pppos().
|
extern |
Definition at line 530 of file mrtk_time.c.
Referenced by corr_meas(), testeclipse(), udbias_ppp(), and udiono_ppp().
|
static |
Definition at line 1364 of file mrtk_ppp.c.
References PI, SQR, tropmapf(), and tropmodel().
Referenced by model_trop().
|
extern |
|
extern |
Definition at line 162 of file mrtk_atmos.c.
Referenced by model_trop(), and trop_model_prec().
Definition at line 1211 of file mrtk_ppp.c.
References rtk_t::ambc, ARMODE_INST, ssat_t::azel, CLIGHT, prcopt_t::clockjump, corr_meas(), detslp_code(), detslp_dop(), detslp_gf(), detslp_ll(), detslp_mw(), detslp_ssr(), ecef2pos(), ambc_t::flags, IB, initx(), prcopt_t::ionoopt, IONOOPT_IFLC, MAXOBS, prcopt_t::maxout, MAXSAT, prcopt_t::modear, NF, prcopt_t::nf, NFREQPCV, rtk_t::nx, rtk_t::opt, ssat_t::outc, obsd_t::P, rtk_t::P, prcopt_t::prn, ROUND, sol_t::rr, obsd_t::sat, sat2freq(), ssat_t::slip, rtk_t::sol, SQR, rtk_t::ssat, sol_t::time, time2gpst(), time_str(), trace(), rtk_t::tt, VAR_BIAS, and rtk_t::x.
Referenced by udstate_ppp().
|
static |
Definition at line 1065 of file mrtk_ppp.c.
References CLIGHT, sol_t::dtr, EPHOPT_PREC, IC, initx(), NC, rtk_t::opt, prcopt_t::sateph, rtk_t::sol, trace(), and VAR_CLK.
Referenced by udstate_ppp().
|
static |
Definition at line 1181 of file mrtk_ppp.c.
References I3, I4, initx(), N3, N4, rtk_t::nx, rtk_t::opt, rtk_t::P, prcopt_t::prn, SQR, trace(), rtk_t::tt, VAR_IFB, and rtk_t::x.
Referenced by udstate_ppp().
Definition at line 1111 of file mrtk_ppp.c.
References ssat_t::azel, corr_meas(), D2R, ecef2pos(), prcopt_t::elmin, FREQ1, GAP_RESION, II, initx(), ssat_t::ionc, MAX, MAXSAT, NFREQPCV, rtk_t::nx, rtk_t::opt, ssat_t::outc, rtk_t::P, prcopt_t::pppopt, prcopt_t::prn, R2D, sol_t::rr, obsd_t::sat, sat2freq(), satno2id(), ssat_t::slip, rtk_t::sol, SQR, rtk_t::ssat, time_str(), trace(), rtk_t::tt, VAR_IONO, and rtk_t::x.
Referenced by udstate_ppp().
|
static |
Definition at line 965 of file mrtk_ppp.c.
References covecef(), prcopt_t::dynamics, ecef2pos(), eye(), free, imat(), initx(), mat(), matmul(), prcopt_t::mode, norm(), rtk_t::nx, rtk_t::opt, rtk_t::P, PMODE_PPP_FIXED, PMODE_PPP_STATIC, prcopt_t::prn, sol_t::rr, prcopt_t::ru, rtk_t::sol, SQR, trace(), rtk_t::tt, VAR_ACC, VAR_POS, VAR_VEL, and rtk_t::x.
Referenced by udstate_ppp().
Definition at line 1317 of file mrtk_ppp.c.
References prcopt_t::ionoopt, IONOOPT_EST, NF, rtk_t::opt, trace(), prcopt_t::tropopt, TROPOPT_EST, TROPOPT_ESTG, udbias_ppp(), udclk_ppp(), udifb_ppp(), udiono_ppp(), udpos_ppp(), and udtrop_ppp().
Referenced by pppos().
|
static |
Definition at line 1084 of file mrtk_ppp.c.
References ecef2pos(), initx(), IT, rtk_t::nx, rtk_t::opt, rtk_t::P, PI, prcopt_t::prn, sol_t::rr, sbstropcorr(), rtk_t::sol, SQR, sol_t::time, trace(), prcopt_t::tropopt, TROPOPT_ESTG, rtk_t::tt, VAR_GRA, VAR_ZTD, and rtk_t::x.
Referenced by udstate_ppp().
Definition at line 1683 of file mrtk_ppp.c.
References CLIGHT, sol_t::dtr, IC, obsd_t::L, ssat_t::lock, MAXOBS, MAXSAT, MIN_NSAT_SOL, rtk_t::na, prcopt_t::nf, sol_t::ns, rtk_t::nx, rtk_t::opt, ssat_t::outc, rtk_t::P, rtk_t::Pa, ssat_t::ph, ssat_t::pt, sol_t::qr, sol_t::rr, obsd_t::sat, ssat_t::slip, ssat_t::slipc, obsd_t::SNR, ssat_t::snr, rtk_t::sol, SOLQ_FIX, SOLQ_FIX_WL, SOLQ_NONE, SOLQ_PPP, rtk_t::ssat, sol_t::stat, obsd_t::time, ssat_t::vsat, rtk_t::x, and rtk_t::xa.
Referenced by pppos().
|
static |
Definition at line 472 of file mrtk_ppp.c.
References EFACT_CMP, EFACT_GAL, EFACT_GLO, EFACT_GPS, EFACT_IRN, EFACT_QZS, EFACT_SBS, prcopt_t::eratio, prcopt_t::err, prcopt_t::ionoopt, IONOOPT_IFLC, SQR, SYS_CMP, SYS_GAL, SYS_GLO, SYS_IRN, SYS_QZS, and SYS_SBS.
Referenced by ppp_res().
|
extern |
Definition at line 142 of file mrtk_coords.c.
Referenced by model_phw().
|
extern |
Definition at line 370 of file mrtk_ppp.c.
References yaw_nominal().
Referenced by sat_yaw().
|
static |
Definition at line 363 of file mrtk_ppp.c.
References PI.
Referenced by yaw_angle().
|
extern |
Definition at line 108 of file mrtk_mat.c.
Referenced by pppos().