MRTKLIB 0.7.14
Modernized GNSS Positioning Library
Loading...
Searching...
No Matches
mrtk_ppp.c File Reference
#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"
Include dependency graph for mrtk_ppp.c:

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.

Macro Definition Documentation

◆ ERR_BRDCI

#define ERR_BRDCI   0.5 /* broadcast iono model error factor */

Definition at line 206 of file mrtk_ppp.c.

◆ ERR_SAAS

#define ERR_SAAS   0.3 /* saastamoinen model error std (m) */

Definition at line 205 of file mrtk_ppp.c.

◆ GAP_RESION

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

◆ I3

#define I3 ( s,
opt )
Value:
(NP(opt) + NC(opt) + NT(opt) + NI(opt) + (s))
#define NI(opt)
Definition mrtk_ppp.c:219
#define NP(opt)
Definition mrtk_ppp.c:212
#define NC(opt)
Definition mrtk_ppp.c:213
#define NT(opt)

Definition at line 228 of file mrtk_ppp.c.

Referenced by ppp_res(), and udifb_ppp().

◆ I4

#define I4 ( s,
opt )
Value:
(NP(opt) + NC(opt) + NT(opt) + NI(opt) + N3(opt) + (s))
#define N3(opt)
Definition mrtk_ppp.c:220

Definition at line 229 of file mrtk_ppp.c.

Referenced by ppp_res(), and udifb_ppp().

◆ IB

#define IB ( s,
f,
opt )
Value:
(NR(opt) + MAXSAT * (f) + (s) - 1)
#define MAXSAT
Definition mrtk_coords.c:45
#define NR(opt)
Definition mrtk_ppp.c:222

Definition at line 230 of file mrtk_ppp.c.

Referenced by ppp_res(), pppoutstat(), set_init_pb(), udbias(), udbias_ppp(), and udbias_ppp().

◆ IC

#define IC ( s,
opt )
Value:
(NP(opt) + (s))

Definition at line 225 of file mrtk_ppp.c.

Referenced by ppp_res(), pppoutstat(), udclk_ppp(), and update_stat().

◆ II

#define II ( s,
opt )
Value:
(NP(opt) + NC(opt) + NT(opt) + (s) - 1)

Definition at line 227 of file mrtk_ppp.c.

Referenced by model_iono(), ppp_res(), pppoutstat(), and udiono_ppp().

◆ IT

#define IT ( opt)
Value:
(NP(opt) + NC(opt))

Definition at line 226 of file mrtk_ppp.c.

Referenced by model_trop(), ppp_res(), pppoutstat(), and udtrop_ppp().

◆ MAX

#define MAX ( x,
y )
Value:
((x) > (y) ? (x) : (y))

Definition at line 181 of file mrtk_ppp.c.

Referenced by udiono_ppp().

◆ MAX_ITER

#define MAX_ITER   8 /* max number of iterations */

Definition at line 188 of file mrtk_ppp.c.

Referenced by pppos().

◆ MIN

#define MIN ( x,
y )
Value:
((x) < (y) ? (x) : (y))

Definition at line 182 of file mrtk_ppp.c.

◆ MIN_NSAT_SOL

#define MIN_NSAT_SOL   4 /* min satellite number for solution */

Definition at line 189 of file mrtk_ppp.c.

Referenced by update_stat().

◆ N3

#define N3 ( opt)
Value:
(NF(opt) >= 3 ? NC(opt) : 0) /* 3rd-frequency receivre bias */
#define NF(opt)
Definition mrtk_ppp.c:211

Definition at line 220 of file mrtk_ppp.c.

Referenced by udifb_ppp().

◆ N4

#define N4 ( opt)
Value:
(NF(opt) >= 4 ? NC(opt) : 0) /* 4th-frequency receivre bias */

Definition at line 221 of file mrtk_ppp.c.

Referenced by udifb_ppp().

◆ NB

#define NB ( opt)
Value:
(NF(opt) * MAXSAT)

Definition at line 223 of file mrtk_ppp.c.

◆ NC

#define NC ( opt)
Value:
(NSYS + 1) /* BDS3 and BDS2 */
#define NSYS

Definition at line 213 of file mrtk_ppp.c.

Referenced by udclk_ppp().

◆ NF

#define NF ( opt)
Value:
((opt)->ionoopt == IONOOPT_IFLC ? 1 : (opt)->nf)
#define IONOOPT_IFLC
Definition mrtk_opt.h:95

Definition at line 211 of file mrtk_ppp.c.

Referenced by ppp_res(), pppoutstat(), udbias_ppp(), and udstate_ppp().

◆ NI

#define NI ( opt)
Value:
((opt)->ionoopt == IONOOPT_EST ? MAXSAT : 0)
#define IONOOPT_EST
Definition mrtk_opt.h:96

Definition at line 219 of file mrtk_ppp.c.

◆ NP

#define NP ( opt)
Value:
((opt)->dynamics ? 9 : 3)

Definition at line 212 of file mrtk_ppp.c.

Referenced by eci2ecef(), and residual_test().

◆ NR

#define NR ( opt)
Value:
(NP(opt) + NC(opt) + NT(opt) + NI(opt) + N3(opt) + N4(opt))
#define N4(opt)
Definition mrtk_ppp.c:221

Definition at line 222 of file mrtk_ppp.c.

Referenced by relpos(), and relposvrs().

◆ NX

#define NX ( opt)
Value:
(NR(opt) + NB(opt))
#define NB(opt)
Definition mrtk_ppp.c:223

Definition at line 224 of file mrtk_ppp.c.

Referenced by estpos(), pppnx(), and rescode().

◆ PPP_NFREQ

#define PPP_NFREQ   4 /* number of freq. for PPP */

Definition at line 185 of file mrtk_ppp.c.

◆ REL_HUMI

#define REL_HUMI   0.7 /* relative humidity for saastamoinen model */

Definition at line 207 of file mrtk_ppp.c.

◆ ROUND

#define ROUND ( x)
Value:
(int)floor((x) + 0.5)

Definition at line 183 of file mrtk_ppp.c.

Referenced by test_hold_amb(), and udbias_ppp().

◆ SOLQ_FIX_WL

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

◆ SQR

#define SQR ( x)

◆ SQRT

#define SQRT ( x)
Value:
((x) <= 0.0 || (x) != (x) ? 0.0 : sqrt(x))

Definition at line 180 of file mrtk_ppp.c.

Referenced by ppp_res(), and STD().

◆ THRES_MW_JUMP

#define THRES_MW_JUMP   10.0

Definition at line 192 of file mrtk_ppp.c.

Referenced by detslp_mw().

◆ THRES_REJECT

#define THRES_REJECT   4.0 /* reject threshold of posfit-res (sigma) */

Definition at line 190 of file mrtk_ppp.c.

Referenced by ppp_res().

◆ VAR_ACC

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

◆ VAR_BIAS

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

◆ VAR_CLK

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

◆ VAR_GLO_IFB

#define VAR_GLO_IFB   SQR(0.6) /* variance of glonass ifb */

Definition at line 203 of file mrtk_ppp.c.

Referenced by ppp_res().

◆ VAR_GRA

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

◆ VAR_IFB

#define VAR_IFB   SQR(30.0) /* init variance ifb (m^2) */

Definition at line 200 of file mrtk_ppp.c.

Referenced by udifb_ppp().

◆ VAR_IONO

#define VAR_IONO   SQR(60.0) /* init variance iono-delay */

Definition at line 202 of file mrtk_ppp.c.

Referenced by udiono_ppp().

◆ VAR_POS

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

◆ VAR_VEL

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

◆ VAR_ZTD

#define VAR_ZTD   SQR(0.12) /* init variance ztd (m^2) */

Definition at line 198 of file mrtk_ppp.c.

Referenced by udtrop_ppp().

Function Documentation

◆ antmodel()

void antmodel ( const pcv_t * pcv,
const double * del,
const double * azel,
int opt,
double * dant )
extern

Definition at line 481 of file mrtk_antenna.c.

Referenced by ppp_res().

Here is the caller graph for this function:

◆ antmodel_s()

void antmodel_s ( const pcv_t * pcv,
double nadir,
double * dant )
extern

Definition at line 507 of file mrtk_antenna.c.

Referenced by satantpcv().

Here is the caller graph for this function:

◆ code2obs()

char * code2obs ( uint8_t code)
extern

Definition at line 190 of file mrtk_obs.c.

Referenced by corr_meas(), detslp_code(), ppp_note_autosig(), and ppp_res().

Here is the caller graph for this function:

◆ const_iono_corr()

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

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

◆ corr_meas()

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

◆ covecef()

void covecef ( const double * pos,
const double * Q,
double * P )
extern

Definition at line 202 of file mrtk_coords.c.

Referenced by udpos_ppp().

Here is the caller graph for this function:

◆ covenu()

void covenu ( const double * pos,
const double * P,
double * Q )
extern

Definition at line 188 of file mrtk_coords.c.

◆ cross3()

void cross3 ( const double * a,
const double * b,
double * c )
extern

Definition at line 172 of file mrtk_mat.c.

Referenced by model_phw(), and sat_yaw().

Here is the caller graph for this function:

◆ detslp_code()

void detslp_code ( rtk_t * rtk,
const obsd_t * obs,
int n )
static

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

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

◆ detslp_dop()

void detslp_dop ( rtk_t * rtk,
const obsd_t * obs,
int n,
const nav_t * nav )
static

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

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

◆ detslp_gf()

void detslp_gf ( rtk_t * rtk,
const obsd_t * obs,
int n,
const nav_t * nav )
static

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

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

◆ detslp_ll()

void detslp_ll ( rtk_t * rtk,
const obsd_t * obs,
int n )
static

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

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

◆ detslp_mw()

void detslp_mw ( rtk_t * rtk,
const obsd_t * obs,
int n,
const nav_t * nav )
static

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

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

◆ detslp_ssr()

void detslp_ssr ( rtk_t * rtk,
const obsd_t * obs,
int n,
const nav_t * nav )
static

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

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

◆ dot()

double dot ( const double * a,
const double * b,
int n )
extern

Definition at line 151 of file mrtk_mat.c.

Referenced by model_phw(), sat_yaw(), satantpcv(), and testeclipse().

Here is the caller graph for this function:

◆ ecef2enu()

void ecef2enu ( const double * pos,
const double * r,
double * e )
extern

Definition at line 162 of file mrtk_coords.c.

Referenced by pppoutstat().

Here is the caller graph for this function:

◆ ecef2pos()

void ecef2pos ( const double * r,
double * pos )
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().

Here is the caller graph for this function:

◆ eye()

double * eye ( int n)
extern

Definition at line 129 of file mrtk_mat.c.

Referenced by udpos_ppp().

Here is the caller graph for this function:

◆ filter()

int filter ( double * x,
double * P,
const double * H,
const double * v,
const double * R,
int n,
int m )
extern

Definition at line 524 of file mrtk_mat.c.

Referenced by pppos().

Here is the caller graph for this function:

◆ geodist()

double geodist ( const double * rs,
const double * rr,
double * e )
extern

Definition at line 493 of file mrtk_coords.c.

Referenced by ppp_res().

Here is the caller graph for this function:

◆ gfmeas()

double gfmeas ( const obsd_t * obs,
const nav_t * nav,
int f )
static

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

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

◆ gpst2utc()

gtime_t gpst2utc ( gtime_t t)
extern

Definition at line 422 of file mrtk_time.c.

Referenced by pppos(), sat_yaw(), and testeclipse().

Here is the caller graph for this function:

◆ imat()

int * imat ( int n,
int m )
extern

Definition at line 92 of file mrtk_mat.c.

Referenced by udpos_ppp().

Here is the caller graph for this function:

◆ initx()

void initx ( rtk_t * rtk,
double xi,
double var,
int i )
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().

Here is the caller graph for this function:

◆ ionmodel()

double ionmodel ( gtime_t t,
const double * ion,
const double * pos,
const double * azel )
extern

Definition at line 63 of file mrtk_atmos.c.

Referenced by model_iono().

Here is the caller graph for this function:

◆ iontec()

int iontec ( gtime_t time,
const nav_t * nav,
const double * pos,
const double * azel,
int opt,
double * delay,
double * var )
extern

Definition at line 481 of file mrtk_ionex.c.

Referenced by model_iono().

Here is the caller graph for this function:

◆ mat()

double * mat ( int n,
int m )
extern

Definition at line 76 of file mrtk_mat.c.

Referenced by pppos(), and udpos_ppp().

Here is the caller graph for this function:

◆ matcpy()

void matcpy ( double * A,
const double * B,
int n,
int m )
extern

Definition at line 205 of file mrtk_mat.c.

Referenced by model_trop(), pppos(), and sat_yaw().

Here is the caller graph for this function:

◆ matmul()

void matmul ( const char * tr,
int n,
int k,
int m,
double alpha,
const double * A,
const double * B,
double beta,
double * C )
extern

Definition at line 310 of file mrtk_mat.c.

Referenced by udpos_ppp().

Here is the caller graph for this function:

◆ mcssr_sel_biascode()

int mcssr_sel_biascode ( const int sys,
const int code )
extern

Definition at line 988 of file mrtk_madoca.c.

Referenced by corr_meas(), and detslp_ssr().

Here is the caller graph for this function:

◆ model_iono()

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

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

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

◆ model_phw()

int model_phw ( gtime_t time,
int sat,
const char * type,
int opt,
const double * rs,
const double * rr,
double * phw )
static

Definition at line 416 of file mrtk_ppp.c.

References cross3(), dot(), ecef2pos(), norm(), normv3(), PI, sat_yaw(), and xyz2enu().

Referenced by ppp_res().

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

◆ model_trop()

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

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

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

◆ mwmeas()

double mwmeas ( const obsd_t * obs,
const nav_t * nav,
int f )
static

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

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

◆ norm()

double norm ( const double * a,
int n )
extern

Definition at line 165 of file mrtk_mat.c.

Referenced by model_phw(), pppos(), testeclipse(), and udpos_ppp().

Here is the caller graph for this function:

◆ normv3()

int normv3 ( const double * a,
double * b )
extern

Definition at line 183 of file mrtk_mat.c.

Referenced by model_phw(), sat_yaw(), satantpcv(), and testeclipse().

Here is the caller graph for this function:

◆ NT()

int NT ( const prcopt_t * opt)
inlinestatic

Definition at line 214 of file mrtk_ppp.c.

References prcopt_t::tropopt, and TROPOPT_EST.

◆ ppp_note_autosig()

void ppp_note_autosig ( int sys,
uint8_t code )
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().

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

◆ ppp_res()

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

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

◆ pppnx()

int pppnx ( const prcopt_t * opt)
extern

Number of estimated states for PPP.

Parameters
[in]optProcessing options
Returns
Number of states

Definition at line 1681 of file mrtk_ppp.c.

References NX.

Referenced by rtkinit().

Here is the caller graph for this function:

◆ pppos()

void pppos ( mrtk_ctx_t * ctx,
rtk_t * rtk,
const obsd_t * obs,
int n,
const nav_t * nav )
extern

Precise point positioning.

Parameters
[in,out]rtkRTK control/result struct
[in]obsObservation data
[in]nNumber of observation data
[in]navNavigation 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().

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

◆ pppoutstat()

int pppoutstat ( rtk_t * rtk,
char * buff )
extern

Write PPP solution status to buffer.

Parameters
[in,out]rtkRTK control/result struct
[out]buffOutput buffer
Returns
Number of bytes written

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

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

◆ sat2freq()

double sat2freq ( int sat,
uint8_t code,
const nav_t * nav )
extern

Definition at line 244 of file mrtk_obs.c.

Referenced by corr_meas(), gfmeas(), mwmeas(), ppp_res(), udbias_ppp(), and udiono_ppp().

Here is the caller graph for this function:

◆ sat_yaw()

int sat_yaw ( gtime_t time,
int sat,
const char * type,
int opt,
const double * rs,
double * exs,
double * eys )
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().

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

◆ satantoff()

void satantoff ( gtime_t time,
const double * rs,
int sat,
const nav_t * nav,
double * dant )
extern

Definition at line 785 of file mrtk_peph.c.

◆ satantpcv()

void satantpcv ( const double * rs,
const double * rr,
const pcv_t * pcv,
double * dant )
static

Definition at line 1343 of file mrtk_ppp.c.

References antmodel_s(), dot(), and normv3().

Referenced by ppp_res().

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

◆ satazel()

double satazel ( const double * pos,
const double * e,
double * azel )
extern

Definition at line 517 of file mrtk_coords.c.

Referenced by ppp_res().

Here is the caller graph for this function:

◆ satexclude()

int satexclude ( int sat,
double var,
int svh,
const prcopt_t * opt )
extern

◆ satid2no()

int satid2no ( const char * id)
extern

Definition at line 753 of file mrtk_nav.c.

◆ satno2id()

void satno2id ( int sat,
char * id )
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().

Here is the caller graph for this function:

◆ satposs()

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 )
extern

Definition at line 940 of file mrtk_eph.c.

Referenced by pppos().

Here is the caller graph for this function:

◆ satsys()

int satsys ( int sat,
int * prn )
extern

Definition at line 117 of file mrtk_nav.c.

Referenced by corr_meas(), detslp_ssr(), and ppp_res().

Here is the caller graph for this function:

◆ satsys_bd2()

int satsys_bd2 ( int sat,
int * prn )
extern

Definition at line 159 of file mrtk_nav.c.

Referenced by corr_meas(), and ppp_res().

Here is the caller graph for this function:

◆ sbsioncorr()

int sbsioncorr ( gtime_t time,
const nav_t * nav,
const double * pos,
const double * azel,
double * delay,
double * var )
extern

Definition at line 823 of file mrtk_sbas.c.

Referenced by model_iono().

Here is the caller graph for this function:

◆ sbstropcorr()

double sbstropcorr ( gtime_t time,
const double * pos,
const double * azel,
double * var )
extern

Definition at line 930 of file mrtk_sbas.c.

Referenced by model_trop(), and udtrop_ppp().

Here is the caller graph for this function:

◆ STD()

double STD ( rtk_t * rtk,
int i )
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().

Here is the caller graph for this function:

◆ sunmoonpos()

void sunmoonpos ( gtime_t tut,
const double * erpv,
double * rsun,
double * rmoon,
double * gmst )
extern

Definition at line 135 of file mrtk_astro.c.

Referenced by sat_yaw(), and testeclipse().

Here is the caller graph for this function:

◆ test_hold_amb()

int test_hold_amb ( rtk_t * rtk)
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().

Here is the caller graph for this function:

◆ testeclipse()

void testeclipse ( const obsd_t * obs,
int n,
const nav_t * nav,
double * rs )
static

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

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

◆ testsnr()

int testsnr ( int base,
int freq,
double el,
double snr,
const snrmask_t * mask )
extern

Definition at line 132 of file mrtk_obs.c.

Referenced by corr_meas().

Here is the caller graph for this function:

◆ tickget()

unsigned int tickget ( void )
extern

Definition at line 566 of file mrtk_time.c.

◆ tidedisp()

void tidedisp ( gtime_t tutc,
const double * rr,
int opt,
const erp_t * erp,
const double * odisp,
double * dr )
extern

Definition at line 261 of file mrtk_tides.c.

Referenced by pppos().

Here is the caller graph for this function:

◆ time2gpst()

double time2gpst ( gtime_t t,
int * week )
extern

Definition at line 181 of file mrtk_time.c.

Referenced by pppoutstat(), and udbias_ppp().

Here is the caller graph for this function:

◆ time2str()

void time2str ( gtime_t t,
char * s,
int n )
extern

Definition at line 507 of file mrtk_time.c.

Referenced by ppp_res(), and pppos().

Here is the caller graph for this function:

◆ time_str()

char * time_str ( gtime_t t,
int n )
extern

Definition at line 530 of file mrtk_time.c.

Referenced by corr_meas(), testeclipse(), udbias_ppp(), and udiono_ppp().

Here is the caller graph for this function:

◆ trop_model_prec()

double trop_model_prec ( gtime_t time,
const double * pos,
const double * azel,
const double * x,
double * dtdx,
double * var )
static

Definition at line 1364 of file mrtk_ppp.c.

References PI, SQR, tropmapf(), and tropmodel().

Referenced by model_trop().

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

◆ tropmapf()

double tropmapf ( gtime_t time,
const double * pos,
const double * azel,
double * mapfw )
extern

Referenced by trop_model_prec().

Here is the caller graph for this function:

◆ tropmodel()

double tropmodel ( gtime_t time,
const double * pos,
const double * azel,
double humi )
extern

Definition at line 162 of file mrtk_atmos.c.

Referenced by model_trop(), and trop_model_prec().

Here is the caller graph for this function:

◆ udbias_ppp()

void udbias_ppp ( rtk_t * rtk,
const obsd_t * obs,
int n,
const nav_t * nav )
static

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

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

◆ udclk_ppp()

void udclk_ppp ( rtk_t * rtk)
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().

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

◆ udifb_ppp()

void udifb_ppp ( rtk_t * rtk)
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().

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

◆ udiono_ppp()

void udiono_ppp ( rtk_t * rtk,
const obsd_t * obs,
int n,
const nav_t * nav )
static

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

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

◆ udpos_ppp()

void udpos_ppp ( rtk_t * rtk)
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().

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

◆ udstate_ppp()

void udstate_ppp ( rtk_t * rtk,
const obsd_t * obs,
int n,
const nav_t * nav )
static

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

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

◆ udtrop_ppp()

void udtrop_ppp ( rtk_t * rtk)
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().

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

◆ update_stat()

void update_stat ( rtk_t * rtk,
const obsd_t * obs,
int n,
int stat )
static

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

Here is the caller graph for this function:

◆ varerr()

double varerr ( int sat,
int sys,
double el,
int idx,
int type,
const prcopt_t * opt )
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().

Here is the caller graph for this function:

◆ xyz2enu()

void xyz2enu ( const double * pos,
double * E )
extern

Definition at line 142 of file mrtk_coords.c.

Referenced by model_phw().

Here is the caller graph for this function:

◆ yaw_angle()

int yaw_angle ( int sat,
const char * type,
int opt,
double beta,
double mu,
double * yaw )
extern

Definition at line 370 of file mrtk_ppp.c.

References yaw_nominal().

Referenced by sat_yaw().

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

◆ yaw_nominal()

double yaw_nominal ( double beta,
double mu )
static

Definition at line 363 of file mrtk_ppp.c.

References PI.

Referenced by yaw_angle().

Here is the caller graph for this function:

◆ zeros()

double * zeros ( int n,
int m )
extern

Definition at line 108 of file mrtk_mat.c.

Referenced by pppos().

Here is the caller graph for this function: