GNSS-SDR  0.0.19
An Open Source GNSS Software Defined Receiver
Classes | Macros | Typedefs | Functions | Variables
algorithms_libs_rtklib

Classes

struct  gtime_t
 
struct  obsd_t
 
struct  obs_t
 
struct  erpd_t
 
struct  erp_t
 
struct  pcv_t
 
struct  pcvs_t
 
struct  alm_t
 
struct  eph_t
 
struct  geph_t
 
struct  peph_t
 
struct  pclk_t
 
struct  seph_t
 
struct  tled_t
 
struct  tle_t
 
struct  tec_t
 
struct  fcbd_t
 
struct  sbsmsg_t
 
struct  sbs_t
 
struct  sbsfcorr_t
 
struct  sbslcorr_t
 
struct  sbssatp_t
 
struct  sbssat_t
 
struct  sbsigp_t
 
struct  sbsigpband_t
 
struct  sbsion_t
 
struct  dgps_t
 
struct  ssr_t
 
struct  lexmsg_t
 
struct  lex_t
 
struct  lexeph_t
 
struct  lexion_t
 
struct  stec_t
 
struct  trop_t
 
struct  pppcorr_t
 
struct  nav_t
 
struct  sta_t
 
struct  sol_t
 
struct  solbuf_t
 
struct  solstat_t
 
struct  solstatbuf_t
 
struct  rtcm_t
 
struct  url_t
 
struct  opt_t
 
struct  exterr_t
 
struct  snrmask_t
 
struct  prcopt_t
 
struct  solopt_t
 
struct  ssat_t
 
struct  ambc_t
 
struct  rtk_t
 
struct  half_cyc_tag
 
struct  stream_t
 
struct  serial_t
 
struct  file_t
 
struct  tcp_t
 
struct  tcpsvr_t
 
struct  tcpcli_t
 
struct  ntrip_t
 
struct  ftp_t
 
struct  raw_t
 
struct  rtksvr_t
 
struct  msm_h_t
 
class  HAS_clock_corrections
 
class  HAS_orbit_corrections
 
class  HAS_obs_corrections
 

Macros

#define dev_t   int
 
#define socket_t   int
 
#define closesocket   close
 
#define lock_t   pthread_mutex_t
 
#define initlock(f)   pthread_mutex_init(f, NULL)
 
#define rtk_lock(f)   pthread_mutex_lock(f)
 
#define rtk_unlock(f)   pthread_mutex_unlock(f)
 
#define VER_RTKLIB   "2.4.2"
 
#define NTRIP_AGENT   "RTKLIB/" VER_RTKLIB
 
#define NTRIP_CLI_PORT   2101 /* default ntrip-client connection port */
 
#define NTRIP_SVR_PORT   80 /* default ntrip-server connection port */
 
#define NTRIP_MAXRSP   32768 /* max size of ntrip response */
 
#define NTRIP_MAXSTR   256 /* max length of mountpoint string */
 
#define NTRIP_RSP_OK_CLI   "ICY 200 OK\r\n" /* ntrip response: client */
 
#define NTRIP_RSP_OK_SVR   "OK\r\n" /* ntrip response: server */
 
#define NTRIP_RSP_SRCTBL   "SOURCETABLE 200 OK\r\n" /* ntrip response: source table */
 
#define NTRIP_RSP_TBLEND   "ENDSOURCETABLE"
 
#define NTRIP_RSP_HTTP   "HTTP/" /* ntrip response: http */
 
#define NTRIP_RSP_ERROR   "ERROR" /* ntrip response: error */
 
#define FTP_CMD   "wget" /* ftp/http command */
 
#define ENAGLO
 
#define ENABDS
 
#define STR_MODE_R   0x1 /* stream mode: read */
 
#define STR_MODE_W   0x2 /* stream mode: write */
 
#define STR_MODE_RW   0x3 /* stream mode: read/write */
 
#define STR_NONE   0 /* stream type: none */
 
#define STR_SERIAL   1 /* stream type: serial */
 
#define STR_FILE   2 /* stream type: file */
 
#define STR_TCPSVR   3 /* stream type: TCP server */
 
#define STR_TCPCLI   4 /* stream type: TCP client */
 
#define STR_UDP   5 /* stream type: UDP stream */
 
#define STR_NTRIPSVR   6 /* stream type: NTRIP server */
 
#define STR_NTRIPCLI   7 /* stream type: NTRIP client */
 
#define STR_FTP   8 /* stream type: ftp */
 
#define STR_HTTP   9 /* stream type: http */
 
#define NP_PPP(opt)   ((opt)->dynamics ? 9 : 3) /* number of pos solution */
 
#define IC_PPP(s, opt)   (NP_PPP(opt) + (s)) /* state index of clocks (s=0:gps,1:glo) */
 
#define IT_PPP(opt)   (IC_PPP(0, opt) + NSYS) /* state index of tropos */
 
#define NR_PPP(opt)   (IT_PPP(opt) + ((opt)->tropopt < TROPOPT_EST ? 0 : ((opt)->tropopt == TROPOPT_EST ? 1 : 3))) /* number of solutions */
 
#define IB_PPP(s, opt)   (NR_PPP(opt) + (s)-1) /* state index of phase bias */
 
#define NX_PPP(opt)   (IB_PPP(MAXSAT, opt) + 1) /* number of estimated states */
 
#define NF_RTK(opt)   ((opt)->ionoopt == IONOOPT_IFLC ? 1 : (opt)->nf)
 
#define NP_RTK(opt)   ((opt)->dynamics == 0 ? 3 : 9)
 
#define NI_RTK(opt)   ((opt)->ionoopt != IONOOPT_EST ? 0 : MAXSAT)
 
#define NT_RTK(opt)   ((opt)->tropopt < TROPOPT_EST ? 0 : ((opt)->tropopt < TROPOPT_ESTG ? 2 : 6))
 
#define NL_RTK(opt)   ((opt)->glomodear != 2 ? 0 : NFREQGLO)
 
#define NB_RTK(opt)   ((opt)->mode <= PMODE_DGPS ? 0 : MAXSAT * NF_RTK(opt))
 
#define NR_RTK(opt)   (NP_RTK(opt) + NI_RTK(opt) + NT_RTK(opt) + NL_RTK(opt))
 
#define NX_RTK(opt)   (NR_RTK(opt) + NB_RTK(opt))
 
#define II_RTK(s, opt)   (NP_RTK(opt) + (s)-1) /* ionos (s:satellite no) */
 
#define IT_RTK(r, opt)   (NP_RTK(opt) + NI_RTK(opt) + NT_RTK(opt) / 2 * (r)) /* tropos (r:0=rov,1:ref) */
 
#define IL_RTK(f, opt)   (NP_RTK(opt) + NI_RTK(opt) + NT_RTK(opt) + (f)) /* receiver h/w bias */
 
#define IB_RTK(s, f, opt)   (NR_RTK(opt) + MAXSAT * (f) + (s)-1) /* phase bias (s:satno,f:freq) */
 
#define COMMENTH   "%" /* comment line indicator for solution */
 
#define MSG_DISCONN   "$_DISCONNECT\r\n" /* disconnect message */
 

Typedefs

using fatalfunc_t = void(const char *)
 fatal callback function type More...
 
typedef struct half_cyc_tag half_cyc_t
 

Functions

eph_t eph_to_rtklib (const Galileo_Ephemeris &gal_eph)
 
eph_t eph_to_rtklib (const Galileo_Ephemeris &gal_eph, const std::map< int, HAS_orbit_corrections > &orbit_correction_map, const std::map< int, HAS_clock_corrections > &clock_correction_map)
 
eph_t eph_to_rtklib (const Gps_Ephemeris &gps_eph, bool pre_2009_file=false)
 
eph_t eph_to_rtklib (const Gps_Ephemeris &gps_eph, const std::map< int, HAS_orbit_corrections > &orbit_correction_map, const std::map< int, HAS_clock_corrections > &clock_correction_map, bool pre_2009_file=false)
 
eph_t eph_to_rtklib (const Gps_CNAV_Ephemeris &gps_cnav_eph)
 
eph_t eph_to_rtklib (const Beidou_Dnav_Ephemeris &bei_eph)
 
alm_t alm_to_rtklib (const Gps_Almanac &gps_alm)
 
alm_t alm_to_rtklib (const Galileo_Almanac &gal_alm)
 
geph_t eph_to_rtklib (const Glonass_Gnav_Ephemeris &glonass_gnav_eph, const Glonass_Gnav_Utc_Model &gnav_clock_model)
 Transforms a Glonass_Gnav_Ephemeris to its RTKLIB counterpart. More...
 
obsd_t insert_obs_to_rtklib (obsd_t &rtklib_obs, const Gnss_Synchro &gnss_synchro, const std::map< std::string, std::map< int, HAS_obs_corrections >> &has_obs_corr, int week, int band, bool pre_2009_file=false)
 
obsd_t insert_obs_to_rtklib (obsd_t &rtklib_obs, const Gnss_Synchro &gnss_synchro, int week, int band, bool pre_2009_file=false)
 
int rtkopenstat (const char *file, int level)
 
void rtkclosestat ()
 
void rtkoutstat (rtk_t *rtk)
 
void swapsolstat ()
 
void outsolstat (rtk_t *rtk)
 
void errmsg (rtk_t *rtk, const char *format,...)
 
double sdobs (const obsd_t *obs, int i, int j, int f)
 
double gfobs_L1L2 (const obsd_t *obs, int i, int j, const double *lam)
 
double gfobs_L1L5 (const obsd_t *obs, int i, int j, const double *lam)
 
double varerr (int sat, int sys, double el, double bl, double dt, int f, const prcopt_t *opt)
 
double baseline (const double *ru, const double *rb, double *dr)
 
void initx_rtk (rtk_t *rtk, double xi, double var, int i)
 
int selsat (const obsd_t *obs, const double *azel, int nu, int nr, const prcopt_t *opt, int *sat, int *iu, int *ir)
 
void udpos (rtk_t *rtk, double tt)
 
void udion (rtk_t *rtk, double tt, double bl, const int *sat, int ns)
 
void udtrop (rtk_t *rtk, double tt, double bl)
 
void udrcvbias (rtk_t *rtk, double tt)
 
void detslp_ll (rtk_t *rtk, const obsd_t *obs, int i, int rcv)
 
void detslp_gf_L1L2 (rtk_t *rtk, const obsd_t *obs, int i, int j, const nav_t *nav)
 
void detslp_gf_L1L5 (rtk_t *rtk, const obsd_t *obs, int i, int j, const nav_t *nav)
 
void detslp_dop (rtk_t *rtk, const obsd_t *obs, int i, int rcv, const nav_t *nav)
 
void udbias (rtk_t *rtk, double tt, const obsd_t *obs, const int *sat, const int *iu, const int *ir, int ns, const nav_t *nav)
 
void udstate (rtk_t *rtk, const obsd_t *obs, const int *sat, const int *iu, const int *ir, int ns, const nav_t *nav)
 
void zdres_sat (int base, double r, const obsd_t *obs, const nav_t *nav, const double *azel, const double *dant, const prcopt_t *opt, double *y)
 
int zdres (int base, const obsd_t *obs, int n, const double *rs, const double *dts, const int *svh, const nav_t *nav, const double *rr, const prcopt_t *opt, int index, double *y, double *e, double *azel)
 
int validobs (int i, int j, int f, int nf, const double *y)
 
void ddcov (const int *nb, int n, const double *Ri, const double *Rj, int nv, double *R)
 
int constbl (rtk_t *rtk, const double *x, const double *P, double *v, double *H, double *Ri, double *Rj, int index)
 
double prectrop (gtime_t time, const double *pos, int r, const double *azel, const prcopt_t *opt, const double *x, double *dtdx)
 
double gloicbcorr (int sat1, int sat2, const prcopt_t *opt, double lam1, double lam2, int f)
 
int test_sys (int sys, int m)
 
int ddres (rtk_t *rtk, const nav_t *nav, double dt, const double *x, const double *P, const int *sat, double *y, const double *e, double *azel, const int *iu, const int *ir, int ns, double *v, double *H, double *R, int *vflg)
 
double intpres (gtime_t time, const obsd_t *obs, int n, const nav_t *nav, rtk_t *rtk, double *y)
 
int ddmat (rtk_t *rtk, double *D)
 
void restamb (rtk_t *rtk, const double *bias, int nb, double *xa)
 
void holdamb (rtk_t *rtk, const double *xa)
 
int resamb_LAMBDA (rtk_t *rtk, double *bias, double *xa)
 
int valpos (rtk_t *rtk, const double *v, const double *R, const int *vflg, int nv, double thres)
 
int relpos (rtk_t *rtk, const obsd_t *obs, int nu, int nr, const nav_t *nav)
 
void rtkinit (rtk_t *rtk, const prcopt_t *opt)
 
void rtkfree (rtk_t *rtk)
 
int rtkpos (rtk_t *rtk, const obsd_t *obs, int n, const nav_t *nav)
 
const char * opt2sep (const solopt_t *opt)
 
int tonum (char *buff, const char *sep, double *v)
 
double sqvar (double covar)
 
double dmm2deg (double dmm)
 
void septime (double t, double *t1, double *t2, double *t3)
 
void soltocov (const sol_t *sol, double *P)
 
void covtosol (const double *P, sol_t *sol)
 
int decode_nmearmc (char **val, int n, sol_t *sol)
 
int decode_nmeagga (char **val, int n, sol_t *sol)
 
int decode_nmea (char *buff, sol_t *sol)
 
char * decode_soltime (char *buff, const solopt_t *opt, gtime_t *time)
 
int decode_solxyz (char *buff, const solopt_t *opt, sol_t *sol)
 
int decode_solllh (char *buff, const solopt_t *opt, sol_t *sol)
 
int decode_solenu (char *buff, const solopt_t *opt, sol_t *sol)
 
int decode_solgsi (char *buff, const solopt_t *opt, sol_t *sol)
 
int decode_solpos (char *buff, const solopt_t *opt, sol_t *sol)
 
void decode_refpos (char *buff, const solopt_t *opt, double *rb)
 
int decode_sol (char *buff, const solopt_t *opt, sol_t *sol, double *rb)
 
void decode_solopt (char *buff, solopt_t *opt)
 
void readsolopt (FILE *fp, solopt_t *opt)
 
int inputsol (unsigned char data, gtime_t ts, gtime_t te, double tint, int qflag, const solopt_t *opt, solbuf_t *solbuf)
 
int readsoldata (FILE *fp, gtime_t ts, gtime_t te, double tint, int qflag, const solopt_t *opt, solbuf_t *solbuf)
 
int cmpsol (const void *p1, const void *p2)
 
int sort_solbuf (solbuf_t *solbuf)
 
int readsolt (char *files[], int nfile, gtime_t ts, gtime_t te, double tint, int qflag, solbuf_t *solbuf)
 
int readsol (char *files[], int nfile, solbuf_t *sol)
 
int addsol (solbuf_t *solbuf, const sol_t *sol)
 
sol_tgetsol (solbuf_t *solbuf, int index)
 
void initsolbuf (solbuf_t *solbuf, int cyclic, int nmax)
 
void freesolbuf (solbuf_t *solbuf)
 
void freesolstatbuf (solstatbuf_t *solstatbuf)
 
int cmpsolstat (const void *p1, const void *p2)
 
int sort_solstat (solstatbuf_t *statbuf)
 
int decode_solstat (char *buff, solstat_t *stat)
 
void addsolstat (solstatbuf_t *statbuf, const solstat_t *stat)
 
int readsolstatdata (FILE *fp, gtime_t ts, gtime_t te, double tint, solstatbuf_t *statbuf)
 
int readsolstatt (char *files[], int nfile, gtime_t ts, gtime_t te, double tint, solstatbuf_t *statbuf)
 
int readsolstat (char *files[], int nfile, solstatbuf_t *statbuf)
 
int outecef (unsigned char *buff, const char *s, const sol_t *sol, const solopt_t *opt)
 
int outpos (unsigned char *buff, const char *s, const sol_t *sol, const solopt_t *opt)
 
int outenu (unsigned char *buff, const char *s, const sol_t *sol, const double *rb, const solopt_t *opt)
 
int outnmea_rmc (unsigned char *buff, const sol_t *sol)
 
int outnmea_gga (unsigned char *buff, const sol_t *sol)
 
int outnmea_gsa (unsigned char *buff, const sol_t *sol, const ssat_t *ssat)
 
int outnmea_gsv (unsigned char *buff, const sol_t *sol, const ssat_t *ssat)
 
int outprcopts (unsigned char *buff, const prcopt_t *opt)
 
int outsolheads (unsigned char *buff, const solopt_t *opt)
 
int outsols (unsigned char *buff, const sol_t *sol, const double *rb, const solopt_t *opt)
 
int outsolexs (unsigned char *buff, const sol_t *sol, const ssat_t *ssat, const solopt_t *opt)
 
void outprcopt (FILE *fp, const prcopt_t *opt)
 
void outsolhead (FILE *fp, const solopt_t *opt)
 
void outsol (FILE *fp, const sol_t *sol, const double *rb, const solopt_t *opt)
 
void outsolex (FILE *fp, const sol_t *sol, const ssat_t *ssat, const solopt_t *opt)
 

Variables

const int TINTACT = 200
 period for stream active (ms) More...
 
const int SERIBUFFSIZE = 4096
 serial buffer size (bytes) More...
 
const int TIMETAGH_LEN = 64
 time tag file header length More...
 
const int MAXCLI = 32
 max client connection for tcp svr More...
 
const int MAXSTATMSG = 32
 max length of status message More...
 
const int FTP_TIMEOUT = 30
 ftp/http timeout (s) More...
 
const int MAXRAWLEN = 4096
 max length of receiver raw message More...
 
const int MAXSOLBUF = 256
 max number of solution buffer More...
 
const int MAXSBSMSG = 32
 max number of SBAS msg in RTK server More...
 
const int MAXOBSBUF = 128
 max number of observation data buffer More...
 
const int FILEPATHSEP = '/'
 
const double RE_WGS84 = 6378137.0
 earth semimajor axis (WGS84) (m) More...
 
const double FE_WGS84 = (1.0 / 298.257223563)
 earth flattening (WGS84) More...
 
const double HION = 350000.0
 ionosphere height (m) More...
 
const double PRN_HWBIAS = 1e-6
 process noise of h/w bias (m/MHz/sqrt(s)) More...
 
const double INT_SWAP_STAT = 86400.0
 swap interval of solution status file (s) More...
 
const double INT_SWAP_TRAC = 86400.0
 swap interval of trace file (s) More...
 
const unsigned int POLYCRC32 = 0xEDB88320u
 CRC32 polynomial. More...
 
const unsigned int POLYCRC24Q = 0x1864CFBu
 CRC24Q polynomial. More...
 
const int PMODE_SINGLE = 0
 positioning mode: single More...
 
const int PMODE_DGPS = 1
 positioning mode: DGPS/DGNSS More...
 
const int PMODE_KINEMA = 2
 positioning mode: kinematic More...
 
const int PMODE_STATIC = 3
 positioning mode: static More...
 
const int PMODE_MOVEB = 4
 positioning mode: moving-base More...
 
const int PMODE_FIXED = 5
 positioning mode: fixed More...
 
const int PMODE_PPP_KINEMA = 6
 positioning mode: PPP-kinemaric More...
 
const int PMODE_PPP_STATIC = 7
 positioning mode: PPP-static More...
 
const int PMODE_PPP_FIXED = 8
 positioning mode: PPP-fixed More...
 
const int SOLF_LLH = 0
 solution format: lat/lon/height More...
 
const int SOLF_XYZ = 1
 solution format: x/y/z-ecef More...
 
const int SOLF_ENU = 2
 solution format: e/n/u-baseline More...
 
const int SOLF_NMEA = 3
 solution format: NMEA-183 More...
 
const int SOLF_STAT = 4
 solution format: solution status More...
 
const int SOLF_GSIF = 5
 solution format: GSI F1/F2 More...
 
const int SOLQ_NONE = 0
 solution status: no solution More...
 
const int SOLQ_FIX = 1
 solution status: fix More...
 
const int SOLQ_FLOAT = 2
 solution status: float More...
 
const int SOLQ_SBAS = 3
 solution status: SBAS More...
 
const int SOLQ_DGPS = 4
 solution status: DGPS/DGNSS More...
 
const int SOLQ_SINGLE = 5
 solution status: single More...
 
const int SOLQ_PPP = 6
 solution status: PPP More...
 
const int SOLQ_DR = 7
 solution status: dead reckoning More...
 
const int MAXSOLQ = 7
 max number of solution status More...
 
const int TIMES_GPST = 0
 time system: gps time More...
 
const int TIMES_UTC = 1
 time system: utc More...
 
const int TIMES_JST = 2
 time system: jst More...
 
const double ERR_SAAS = 0.3
 saastamoinen model error std (m) More...
 
const double ERR_BRDCI = 0.5
 broadcast iono model error factor More...
 
const double ERR_CBIAS = 0.3
 code bias error std (m) More...
 
const double REL_HUMI = 0.7
 relative humidity for saastamoinen model More...
 
const double GAP_RESION = 120
 default gap to reset ionos parameters (ep) More...
 
const int MAXFREQ = 7
 max NFREQ More...
 
const int MAXLEAPS = 64
 max number of leap seconds table More...
 
const double DTTOL = 0.005
 tolerance of time difference (s) More...
 
const int NFREQ = 3
 number of carrier frequencies More...
 
const int NFREQGLO = 2
 number of carrier frequencies of GLONASS More...
 
const int NEXOBS = 0
 number of extended obs codes More...
 
const int MAXANT = 64
 max length of station name/antenna type More...
 
const int MINPRNGPS = 1
 min satellite PRN number of GPS More...
 
const int MAXPRNGPS = 32
 max satellite PRN number of GPS More...
 
const int NSATGPS = (MAXPRNGPS - MINPRNGPS + 1)
 number of GPS satellites More...
 
const int NSYSGPS = 1
 
const int SYS_NONE = 0x00
 navigation system: none More...
 
const int SYS_GPS = 0x01
 navigation system: GPS More...
 
const int SYS_SBS = 0x02
 navigation system: SBAS More...
 
const int SYS_GLO = 0x04
 navigation system: GLONASS More...
 
const int SYS_GAL = 0x08
 navigation system: Galileo More...
 
const int SYS_QZS = 0x10
 navigation system: QZSS More...
 
const int SYS_BDS = 0x20
 navigation system: BeiDou More...
 
const int SYS_IRN = 0x40
 navigation system: IRNS More...
 
const int SYS_LEO = 0x80
 navigation system: LEO More...
 
const int SYS_ALL = 0xFF
 navigation system: all More...
 
const int MINPRNGLO = 1
 min satellite slot number of GLONASS More...
 
const int MAXPRNGLO = 27
 max satellite slot number of GLONASS More...
 
const int NSATGLO = (MAXPRNGLO - MINPRNGLO + 1)
 number of GLONASS satellites More...
 
const int NSYSGLO = 1
 
const int MINPRNGAL = 1
 min satellite PRN number of Galileo More...
 
const int MAXPRNGAL = 36
 max satellite PRN number of Galileo More...
 
const int NSATGAL = (MAXPRNGAL - MINPRNGAL + 1)
 number of Galileo satellites More...
 
const int NSYSGAL = 1
 
const int MAXPRNQZS = 199
 max satellite PRN number of QZSS More...
 
const int MINPRNQZS = 193
 min satellite PRN number of QZSS More...
 
const int MINPRNQZS_S = 0
 
const int NSATQZS = 0
 
const int NSYSQZS = 0
 
const int MINPRNBDS = 1
 min satellite sat number of BeiDou More...
 
const int MAXPRNBDS = 63
 max satellite sat number of BeiDou More...
 
const int NSATBDS = (MAXPRNBDS - MINPRNBDS + 1)
 number of BeiDou satellites More...
 
const int NSYSBDS = 1
 
const int MINPRNIRN = 1
 min satellite sat number of IRNSS More...
 
const int MAXPRNIRN = 7
 max satellite sat number of IRNSS More...
 
const int NSATIRN = 0
 
const int NSYSIRN = 0
 
const int MINPRNLEO = 1
 min satellite sat number of LEO More...
 
const int MAXPRNLEO = 10
 max satellite sat number of LEO */ More...
 
const int NSATLEO = 0
 
const int NSYSLEO = 0
 
const int NSYS = (NSYSGPS + NSYSGLO + NSYSGAL + NSYSQZS + NSYSBDS + NSYSIRN + NSYSLEO)
 number of systems More...
 
const int MINPRNSBS = 120
 min satellite PRN number of SBAS More...
 
const int MAXPRNSBS = 142
 max satellite PRN number of SBAS More...
 
const int NSATSBS = (MAXPRNSBS - MINPRNSBS + 1)
 number of SBAS satellites More...
 
const int MAXSAT = (NSATGPS + NSATGLO + NSATGAL + NSATQZS + NSATBDS + NSATIRN + NSATSBS + NSATLEO)
 
const int MAXSTA = 255
 
const int MAXOBS = 64
 max number of obs in an epoch More...
 
const int MAXRCV = 64
 max receiver number (1 to MAXRCV) More...
 
const int MAXOBSTYPE = 64
 max number of obs type in RINEX More...
 
const double MAXDTOE = 7200.0
 max time difference to GPS Toe (s) More...
 
const double MAXDTOE_QZS = 7200.0
 max time difference to QZSS Toe (s) More...
 
const double MAXDTOE_GAL = 10800.0
 max time difference to Galileo Toe (s) More...
 
const double MAXDTOE_BDS = 21600.0
 max time difference to BeiDou Toe (s) More...
 
const double MAXDTOE_GLO = 1800.0
 max time difference to GLONASS Toe (s) More...
 
const double MAXDTOE_SBS = 360.0
 max time difference to SBAS Toe (s) More...
 
const double MAXDTOE_S = 86400.0
 max time difference to ephem toe (s) for other More...
 
const double MAXGDOP = 300.0
 max GDOP More...
 
const int MAXSBSURA = 8
 max URA of SBAS satellite More...
 
const int MAXBAND = 10
 max SBAS band of IGP More...
 
const int MAXNIGP = 201
 max number of IGP in SBAS band More...
 
const int MAXNGEO = 4
 max number of GEO satellites More...
 
const int MAXSOLMSG = 8191
 max length of solution message More...
 
const int MAXERRMSG = 4096
 max length of error/warning message More...
 
const int IONOOPT_OFF = 0
 ionosphere option: correction off More...
 
const int IONOOPT_BRDC = 1
 ionosphere option: broadcast model More...
 
const int IONOOPT_SBAS = 2
 ionosphere option: SBAS model More...
 
const int IONOOPT_IFLC = 3
 ionosphere option: L1/L2 or L1/L5 iono-free LC More...
 
const int IONOOPT_EST = 4
 ionosphere option: estimation More...
 
const int IONOOPT_TEC = 5
 ionosphere option: IONEX TEC model More...
 
const int IONOOPT_QZS = 6
 ionosphere option: QZSS broadcast model More...
 
const int IONOOPT_LEX = 7
 ionosphere option: QZSS LEX ionospehre More...
 
const int IONOOPT_STEC = 8
 ionosphere option: SLANT TEC model More...
 
const int TROPOPT_OFF = 0
 troposphere option: correction off More...
 
const int TROPOPT_SAAS = 1
 troposphere option: Saastamoinen model More...
 
const int TROPOPT_SBAS = 2
 troposphere option: SBAS model More...
 
const int TROPOPT_EST = 3
 troposphere option: ZTD estimation More...
 
const int TROPOPT_ESTG = 4
 troposphere option: ZTD+grad estimation More...
 
const int TROPOPT_COR = 5
 troposphere option: ZTD correction More...
 
const int TROPOPT_CORG = 6
 troposphere option: ZTD+grad correction More...
 
const int EPHOPT_BRDC = 0
 ephemeris option: broadcast ephemeris More...
 
const int EPHOPT_PREC = 1
 ephemeris option: precise ephemeris More...
 
const int EPHOPT_SBAS = 2
 ephemeris option: broadcast + SBAS More...
 
const int EPHOPT_SSRAPC = 3
 ephemeris option: broadcast + SSR_APC More...
 
const int EPHOPT_SSRCOM = 4
 ephemeris option: broadcast + SSR_COM More...
 
const int EPHOPT_LEX = 5
 ephemeris option: QZSS LEX ephemeris More...
 
const double EFACT_GPS = 1.0
 error factor: GPS More...
 
const double EFACT_GLO = 1.5
 error factor: GLONASS More...
 
const double EFACT_GAL = 1.0
 error factor: Galileo More...
 
const double EFACT_QZS = 1.0
 error factor: QZSS More...
 
const double EFACT_BDS = 1.0
 error factor: BeiDou More...
 
const double EFACT_IRN = 1.5
 error factor: IRNSS More...
 
const double EFACT_SBS = 3.0
 error factor: SBAS More...
 
const int MAXEXFILE = 1024
 max number of expanded files More...
 
const double MAXSBSAGEF = 30.0
 max age of SBAS fast correction (s) More...
 
const double MAXSBSAGEL = 1800.0
 max age of SBAS long term corr (s) More...
 
const int ARMODE_OFF = 0
 AR mode: off. More...
 
const int ARMODE_CONT = 1
 AR mode: continuous. More...
 
const int ARMODE_INST = 2
 AR mode: instantaneous. More...
 
const int ARMODE_FIXHOLD = 3
 AR mode: fix and hold. More...
 
const int ARMODE_PPPAR = 4
 AR mode: PPP-AR. More...
 
const int ARMODE_PPPAR_ILS = 5
 AR mode: AR mode: PPP-AR ILS. More...
 
const int ARMODE_WLNL = 6
 
const int ARMODE_TCAR = 7
 
const int POSOPT_RINEX = 3
 pos option: rinex header pos More...
 
const int MAXSTRPATH = 1024
 max length of stream path More...
 
const int MAXSTRMSG = 1024
 max length of stream message More...
 
const double CHISQR [100]
 
const double LAM_CARR [MAXFREQ]
 
const int STRFMT_RTCM2 = 0
 
const int STRFMT_RTCM3 = 1
 
const int STRFMT_SP3 = 16
 
const int STRFMT_RNXCLK = 17
 
const int STRFMT_SBAS = 18
 
const int STRFMT_NMEA = 19
 
const int MAXSTRRTK = 8
 
const double VAR_POS = std::pow(30.0, 2.0)
 
const double VAR_VEL = std::pow(10.0, 2.0)
 
const double VAR_ACC = std::pow(10.0, 2.0)
 
const double VAR_HWBIAS = std::pow(1.0, 2.0)
 
const double VAR_GRA = std::pow(0.001, 2.0)
 
const double INIT_ZWD = 0.15
 
const double PRN_HWBIA = 1E-6
 
const double MAXAC = 30.0
 
const double VAR_HOLDAMB = 0.001
 
const double TTOL_MOVEB = (1.0 + 2 * DTTOL)
 

Detailed Description

Our version of the RTKLIB core library (see http://www.rtklib.com/)

Typedef Documentation

◆ fatalfunc_t

using fatalfunc_t = void(const char *)

fatal callback function type

Definition at line 320 of file rtklib.h.

Function Documentation

◆ eph_to_rtklib()

geph_t eph_to_rtklib ( const Glonass_Gnav_Ephemeris glonass_gnav_eph,
const Glonass_Gnav_Utc_Model gnav_clock_model 
)

Transforms a Glonass_Gnav_Ephemeris to its RTKLIB counterpart.

Parameters
glonass_gnav_ephGLONASS GNAV Ephemeris structure
Returns
Ephemeris structure for RTKLIB parsing

Variable Documentation

◆ ARMODE_CONT

const int ARMODE_CONT = 1

AR mode: continuous.

Definition at line 307 of file rtklib.h.

◆ ARMODE_FIXHOLD

const int ARMODE_FIXHOLD = 3

AR mode: fix and hold.

Definition at line 309 of file rtklib.h.

◆ ARMODE_INST

const int ARMODE_INST = 2

AR mode: instantaneous.

Definition at line 308 of file rtklib.h.

◆ ARMODE_OFF

const int ARMODE_OFF = 0

AR mode: off.

Definition at line 306 of file rtklib.h.

◆ ARMODE_PPPAR

const int ARMODE_PPPAR = 4

AR mode: PPP-AR.

Definition at line 310 of file rtklib.h.

◆ ARMODE_PPPAR_ILS

const int ARMODE_PPPAR_ILS = 5

AR mode: AR mode: PPP-AR ILS.

Definition at line 311 of file rtklib.h.

◆ CHISQR

const double CHISQR[100]
Initial value:
= {
10.8, 13.8, 16.3, 18.5, 20.5, 22.5, 24.3, 26.1, 27.9, 29.6,
31.3, 32.9, 34.5, 36.1, 37.7, 39.3, 40.8, 42.3, 43.8, 45.3,
46.8, 48.3, 49.7, 51.2, 52.6, 54.1, 55.5, 56.9, 58.3, 59.7,
61.1, 62.5, 63.9, 65.2, 66.6, 68.0, 69.3, 70.7, 72.1, 73.4,
74.7, 76.0, 77.3, 78.6, 80.0, 81.3, 82.6, 84.0, 85.4, 86.7,
88.0, 89.3, 90.6, 91.9, 93.3, 94.7, 96.0, 97.4, 98.7, 100,
101, 102, 103, 104, 105, 107, 108, 109, 110, 112,
113, 114, 115, 116, 118, 119, 120, 122, 123, 125,
126, 127, 128, 129, 131, 132, 133, 134, 135, 137,
138, 139, 140, 142, 143, 144, 145, 147, 148, 149}

Definition at line 1291 of file rtklib.h.

◆ DTTOL

const double DTTOL = 0.005

tolerance of time difference (s)

Definition at line 146 of file rtklib.h.

◆ EFACT_BDS

const double EFACT_BDS = 1.0

error factor: BeiDou

Definition at line 298 of file rtklib.h.

◆ EFACT_GAL

const double EFACT_GAL = 1.0

error factor: Galileo

Definition at line 296 of file rtklib.h.

◆ EFACT_GLO

const double EFACT_GLO = 1.5

error factor: GLONASS

Definition at line 295 of file rtklib.h.

◆ EFACT_GPS

const double EFACT_GPS = 1.0

error factor: GPS

Definition at line 294 of file rtklib.h.

◆ EFACT_IRN

const double EFACT_IRN = 1.5

error factor: IRNSS

Definition at line 299 of file rtklib.h.

◆ EFACT_QZS

const double EFACT_QZS = 1.0

error factor: QZSS

Definition at line 297 of file rtklib.h.

◆ EFACT_SBS

const double EFACT_SBS = 3.0

error factor: SBAS

Definition at line 300 of file rtklib.h.

◆ EPHOPT_BRDC

const int EPHOPT_BRDC = 0

ephemeris option: broadcast ephemeris

Definition at line 287 of file rtklib.h.

◆ EPHOPT_LEX

const int EPHOPT_LEX = 5

ephemeris option: QZSS LEX ephemeris

Definition at line 292 of file rtklib.h.

◆ EPHOPT_PREC

const int EPHOPT_PREC = 1

ephemeris option: precise ephemeris

Definition at line 288 of file rtklib.h.

◆ EPHOPT_SBAS

const int EPHOPT_SBAS = 2

ephemeris option: broadcast + SBAS

Definition at line 289 of file rtklib.h.

◆ EPHOPT_SSRAPC

const int EPHOPT_SSRAPC = 3

ephemeris option: broadcast + SSR_APC

Definition at line 290 of file rtklib.h.

◆ EPHOPT_SSRCOM

const int EPHOPT_SSRCOM = 4

ephemeris option: broadcast + SSR_COM

Definition at line 291 of file rtklib.h.

◆ ERR_BRDCI

const double ERR_BRDCI = 0.5

broadcast iono model error factor

Definition at line 138 of file rtklib.h.

◆ ERR_CBIAS

const double ERR_CBIAS = 0.3

code bias error std (m)

Definition at line 139 of file rtklib.h.

◆ ERR_SAAS

const double ERR_SAAS = 0.3

saastamoinen model error std (m)

Definition at line 137 of file rtklib.h.

◆ FE_WGS84

const double FE_WGS84 = (1.0 / 298.257223563)

earth flattening (WGS84)

Definition at line 94 of file rtklib.h.

◆ FTP_TIMEOUT

const int FTP_TIMEOUT = 30

ftp/http timeout (s)

Definition at line 86 of file rtklib.h.

◆ GAP_RESION

const double GAP_RESION = 120

default gap to reset ionos parameters (ep)

Definition at line 141 of file rtklib.h.

◆ HION

const double HION = 350000.0

ionosphere height (m)

Definition at line 96 of file rtklib.h.

◆ INT_SWAP_STAT

const double INT_SWAP_STAT = 86400.0

swap interval of solution status file (s)

Definition at line 99 of file rtklib.h.

◆ INT_SWAP_TRAC

const double INT_SWAP_TRAC = 86400.0

swap interval of trace file (s)

Definition at line 100 of file rtklib.h.

◆ IONOOPT_BRDC

const int IONOOPT_BRDC = 1

ionosphere option: broadcast model

Definition at line 269 of file rtklib.h.

◆ IONOOPT_EST

const int IONOOPT_EST = 4

ionosphere option: estimation

Definition at line 272 of file rtklib.h.

◆ IONOOPT_IFLC

const int IONOOPT_IFLC = 3

ionosphere option: L1/L2 or L1/L5 iono-free LC

Definition at line 271 of file rtklib.h.

◆ IONOOPT_LEX

const int IONOOPT_LEX = 7

ionosphere option: QZSS LEX ionospehre

Definition at line 275 of file rtklib.h.

◆ IONOOPT_OFF

const int IONOOPT_OFF = 0

ionosphere option: correction off

Definition at line 268 of file rtklib.h.

◆ IONOOPT_QZS

const int IONOOPT_QZS = 6

ionosphere option: QZSS broadcast model

Definition at line 274 of file rtklib.h.

◆ IONOOPT_SBAS

const int IONOOPT_SBAS = 2

ionosphere option: SBAS model

Definition at line 270 of file rtklib.h.

◆ IONOOPT_STEC

const int IONOOPT_STEC = 8

ionosphere option: SLANT TEC model

Definition at line 276 of file rtklib.h.

◆ IONOOPT_TEC

const int IONOOPT_TEC = 5

ionosphere option: IONEX TEC model

Definition at line 273 of file rtklib.h.

◆ LAM_CARR

const double LAM_CARR[MAXFREQ]
Initial value:
= {
constexpr double FREQ1
L1/E1 frequency (Hz)
constexpr double FREQ6
E6/LEX frequency (Hz)
constexpr double FREQ5
L5/E5a frequency (Hz)
constexpr double FREQ7
E5b frequency (Hz)
constexpr double FREQ2
L2 frequency (Hz)
constexpr double FREQ8
E5a+b frequency (Hz)
constexpr double SPEED_OF_LIGHT_M_S
Speed of light in vacuum [m/s].
constexpr double FREQ9
S frequency (Hz)

Definition at line 1304 of file rtklib.h.

◆ MAXANT

const int MAXANT = 64

max length of station name/antenna type

Definition at line 151 of file rtklib.h.

◆ MAXBAND

const int MAXBAND = 10

max SBAS band of IGP

Definition at line 261 of file rtklib.h.

◆ MAXCLI

const int MAXCLI = 32

max client connection for tcp svr

Definition at line 83 of file rtklib.h.

◆ MAXDTOE

const double MAXDTOE = 7200.0

max time difference to GPS Toe (s)

Definition at line 251 of file rtklib.h.

◆ MAXDTOE_BDS

const double MAXDTOE_BDS = 21600.0

max time difference to BeiDou Toe (s)

Definition at line 254 of file rtklib.h.

◆ MAXDTOE_GAL

const double MAXDTOE_GAL = 10800.0

max time difference to Galileo Toe (s)

Definition at line 253 of file rtklib.h.

◆ MAXDTOE_GLO

const double MAXDTOE_GLO = 1800.0

max time difference to GLONASS Toe (s)

Definition at line 255 of file rtklib.h.

◆ MAXDTOE_QZS

const double MAXDTOE_QZS = 7200.0

max time difference to QZSS Toe (s)

Definition at line 252 of file rtklib.h.

◆ MAXDTOE_S

const double MAXDTOE_S = 86400.0

max time difference to ephem toe (s) for other

Definition at line 257 of file rtklib.h.

◆ MAXDTOE_SBS

const double MAXDTOE_SBS = 360.0

max time difference to SBAS Toe (s)

Definition at line 256 of file rtklib.h.

◆ MAXERRMSG

const int MAXERRMSG = 4096

max length of error/warning message

Definition at line 266 of file rtklib.h.

◆ MAXEXFILE

const int MAXEXFILE = 1024

max number of expanded files

Definition at line 302 of file rtklib.h.

◆ MAXFREQ

const int MAXFREQ = 7

max NFREQ

Definition at line 143 of file rtklib.h.

◆ MAXGDOP

const double MAXGDOP = 300.0

max GDOP

Definition at line 258 of file rtklib.h.

◆ MAXLEAPS

const int MAXLEAPS = 64

max number of leap seconds table

Definition at line 145 of file rtklib.h.

◆ MAXNGEO

const int MAXNGEO = 4

max number of GEO satellites

Definition at line 263 of file rtklib.h.

◆ MAXNIGP

const int MAXNIGP = 201

max number of IGP in SBAS band

Definition at line 262 of file rtklib.h.

◆ MAXOBS

const int MAXOBS = 64

max number of obs in an epoch

Definition at line 246 of file rtklib.h.

◆ MAXOBSBUF

const int MAXOBSBUF = 128

max number of observation data buffer

Definition at line 90 of file rtklib.h.

◆ MAXOBSTYPE

const int MAXOBSTYPE = 64

max number of obs type in RINEX

Definition at line 250 of file rtklib.h.

◆ MAXPRNBDS

const int MAXPRNBDS = 63

max satellite sat number of BeiDou

Definition at line 205 of file rtklib.h.

◆ MAXPRNGAL

const int MAXPRNGAL = 36

max satellite PRN number of Galileo

Definition at line 185 of file rtklib.h.

◆ MAXPRNGLO

const int MAXPRNGLO = 27

max satellite slot number of GLONASS

Definition at line 173 of file rtklib.h.

◆ MAXPRNGPS

const int MAXPRNGPS = 32

max satellite PRN number of GPS

Definition at line 154 of file rtklib.h.

◆ MAXPRNIRN

const int MAXPRNIRN = 7

max satellite sat number of IRNSS

Definition at line 216 of file rtklib.h.

◆ MAXPRNLEO

const int MAXPRNLEO = 10

max satellite sat number of LEO */

Definition at line 226 of file rtklib.h.

◆ MAXPRNQZS

const int MAXPRNQZS = 199

max satellite PRN number of QZSS

Definition at line 189 of file rtklib.h.

◆ MAXPRNSBS

const int MAXPRNSBS = 142

max satellite PRN number of SBAS

Definition at line 238 of file rtklib.h.

◆ MAXRAWLEN

const int MAXRAWLEN = 4096

max length of receiver raw message

Definition at line 87 of file rtklib.h.

◆ MAXRCV

const int MAXRCV = 64

max receiver number (1 to MAXRCV)

Definition at line 249 of file rtklib.h.

◆ MAXSBSAGEF

const double MAXSBSAGEF = 30.0

max age of SBAS fast correction (s)

Definition at line 303 of file rtklib.h.

◆ MAXSBSAGEL

const double MAXSBSAGEL = 1800.0

max age of SBAS long term corr (s)

Definition at line 304 of file rtklib.h.

◆ MAXSBSMSG

const int MAXSBSMSG = 32

max number of SBAS msg in RTK server

Definition at line 89 of file rtklib.h.

◆ MAXSBSURA

const int MAXSBSURA = 8

max URA of SBAS satellite

Definition at line 260 of file rtklib.h.

◆ MAXSOLBUF

const int MAXSOLBUF = 256

max number of solution buffer

Definition at line 88 of file rtklib.h.

◆ MAXSOLMSG

const int MAXSOLMSG = 8191

max length of solution message

Definition at line 265 of file rtklib.h.

◆ MAXSOLQ

const int MAXSOLQ = 7

max number of solution status

Definition at line 130 of file rtklib.h.

◆ MAXSTATMSG

const int MAXSTATMSG = 32

max length of status message

Definition at line 84 of file rtklib.h.

◆ MAXSTRMSG

const int MAXSTRMSG = 1024

max length of stream message

Definition at line 318 of file rtklib.h.

◆ MAXSTRPATH

const int MAXSTRPATH = 1024

max length of stream path

Definition at line 317 of file rtklib.h.

◆ MINPRNBDS

const int MINPRNBDS = 1

min satellite sat number of BeiDou

Definition at line 204 of file rtklib.h.

◆ MINPRNGAL

const int MINPRNGAL = 1

min satellite PRN number of Galileo

Definition at line 184 of file rtklib.h.

◆ MINPRNGLO

const int MINPRNGLO = 1

min satellite slot number of GLONASS

Definition at line 172 of file rtklib.h.

◆ MINPRNGPS

const int MINPRNGPS = 1

min satellite PRN number of GPS

Definition at line 153 of file rtklib.h.

◆ MINPRNIRN

const int MINPRNIRN = 1

min satellite sat number of IRNSS

Definition at line 215 of file rtklib.h.

◆ MINPRNLEO

const int MINPRNLEO = 1

min satellite sat number of LEO

Definition at line 225 of file rtklib.h.

◆ MINPRNQZS

const int MINPRNQZS = 193

min satellite PRN number of QZSS

Definition at line 190 of file rtklib.h.

◆ MINPRNSBS

const int MINPRNSBS = 120

min satellite PRN number of SBAS

Definition at line 237 of file rtklib.h.

◆ NEXOBS

const int NEXOBS = 0

number of extended obs codes

Definition at line 150 of file rtklib.h.

◆ NFREQ

const int NFREQ = 3

number of carrier frequencies

Definition at line 148 of file rtklib.h.

◆ NFREQGLO

const int NFREQGLO = 2

number of carrier frequencies of GLONASS

Definition at line 149 of file rtklib.h.

◆ NSATBDS

const int NSATBDS = (MAXPRNBDS - MINPRNBDS + 1)

number of BeiDou satellites

Definition at line 206 of file rtklib.h.

◆ NSATGAL

const int NSATGAL = (MAXPRNGAL - MINPRNGAL + 1)

number of Galileo satellites

Definition at line 186 of file rtklib.h.

◆ NSATGLO

const int NSATGLO = (MAXPRNGLO - MINPRNGLO + 1)

number of GLONASS satellites

Definition at line 174 of file rtklib.h.

◆ NSATGPS

const int NSATGPS = (MAXPRNGPS - MINPRNGPS + 1)

number of GPS satellites

Definition at line 155 of file rtklib.h.

◆ NSATSBS

const int NSATSBS = (MAXPRNSBS - MINPRNSBS + 1)

number of SBAS satellites

Definition at line 239 of file rtklib.h.

◆ NSYS

const int NSYS = (NSYSGPS + NSYSGLO + NSYSGAL + NSYSQZS + NSYSBDS + NSYSIRN + NSYSLEO)

number of systems

Definition at line 235 of file rtklib.h.

◆ PMODE_DGPS

const int PMODE_DGPS = 1

positioning mode: DGPS/DGNSS

Definition at line 106 of file rtklib.h.

◆ PMODE_FIXED

const int PMODE_FIXED = 5

positioning mode: fixed

Definition at line 110 of file rtklib.h.

◆ PMODE_KINEMA

const int PMODE_KINEMA = 2

positioning mode: kinematic

Definition at line 107 of file rtklib.h.

◆ PMODE_MOVEB

const int PMODE_MOVEB = 4

positioning mode: moving-base

Definition at line 109 of file rtklib.h.

◆ PMODE_PPP_FIXED

const int PMODE_PPP_FIXED = 8

positioning mode: PPP-fixed

Definition at line 113 of file rtklib.h.

◆ PMODE_PPP_KINEMA

const int PMODE_PPP_KINEMA = 6

positioning mode: PPP-kinemaric

Definition at line 111 of file rtklib.h.

◆ PMODE_PPP_STATIC

const int PMODE_PPP_STATIC = 7

positioning mode: PPP-static

Definition at line 112 of file rtklib.h.

◆ PMODE_SINGLE

const int PMODE_SINGLE = 0

positioning mode: single

Definition at line 105 of file rtklib.h.

◆ PMODE_STATIC

const int PMODE_STATIC = 3

positioning mode: static

Definition at line 108 of file rtklib.h.

◆ POLYCRC24Q

const unsigned int POLYCRC24Q = 0x1864CFBu

CRC24Q polynomial.

Definition at line 103 of file rtklib.h.

◆ POLYCRC32

const unsigned int POLYCRC32 = 0xEDB88320u

CRC32 polynomial.

Definition at line 102 of file rtklib.h.

◆ POSOPT_RINEX

const int POSOPT_RINEX = 3

pos option: rinex header pos

Definition at line 316 of file rtklib.h.

◆ PRN_HWBIAS

const double PRN_HWBIAS = 1e-6

process noise of h/w bias (m/MHz/sqrt(s))

Definition at line 97 of file rtklib.h.

◆ RE_WGS84

const double RE_WGS84 = 6378137.0

earth semimajor axis (WGS84) (m)

Definition at line 93 of file rtklib.h.

◆ REL_HUMI

const double REL_HUMI = 0.7

relative humidity for saastamoinen model

Definition at line 140 of file rtklib.h.

◆ SERIBUFFSIZE

const int SERIBUFFSIZE = 4096

serial buffer size (bytes)

Definition at line 81 of file rtklib.h.

◆ SOLF_ENU

const int SOLF_ENU = 2

solution format: e/n/u-baseline

Definition at line 117 of file rtklib.h.

◆ SOLF_GSIF

const int SOLF_GSIF = 5

solution format: GSI F1/F2

Definition at line 120 of file rtklib.h.

◆ SOLF_LLH

const int SOLF_LLH = 0

solution format: lat/lon/height

Definition at line 115 of file rtklib.h.

◆ SOLF_NMEA

const int SOLF_NMEA = 3

solution format: NMEA-183

Definition at line 118 of file rtklib.h.

◆ SOLF_STAT

const int SOLF_STAT = 4

solution format: solution status

Definition at line 119 of file rtklib.h.

◆ SOLF_XYZ

const int SOLF_XYZ = 1

solution format: x/y/z-ecef

Definition at line 116 of file rtklib.h.

◆ SOLQ_DGPS

const int SOLQ_DGPS = 4

solution status: DGPS/DGNSS

Definition at line 126 of file rtklib.h.

◆ SOLQ_DR

const int SOLQ_DR = 7

solution status: dead reckoning

Definition at line 129 of file rtklib.h.

◆ SOLQ_FIX

const int SOLQ_FIX = 1

solution status: fix

Definition at line 123 of file rtklib.h.

◆ SOLQ_FLOAT

const int SOLQ_FLOAT = 2

solution status: float

Definition at line 124 of file rtklib.h.

◆ SOLQ_NONE

const int SOLQ_NONE = 0

solution status: no solution

Definition at line 122 of file rtklib.h.

◆ SOLQ_PPP

const int SOLQ_PPP = 6

solution status: PPP

Definition at line 128 of file rtklib.h.

◆ SOLQ_SBAS

const int SOLQ_SBAS = 3

solution status: SBAS

Definition at line 125 of file rtklib.h.

◆ SOLQ_SINGLE

const int SOLQ_SINGLE = 5

solution status: single

Definition at line 127 of file rtklib.h.

◆ SYS_ALL

const int SYS_ALL = 0xFF

navigation system: all

Definition at line 167 of file rtklib.h.

◆ SYS_BDS

const int SYS_BDS = 0x20

navigation system: BeiDou

Definition at line 164 of file rtklib.h.

◆ SYS_GAL

const int SYS_GAL = 0x08

navigation system: Galileo

Definition at line 162 of file rtklib.h.

◆ SYS_GLO

const int SYS_GLO = 0x04

navigation system: GLONASS

Definition at line 161 of file rtklib.h.

◆ SYS_GPS

const int SYS_GPS = 0x01

navigation system: GPS

Definition at line 159 of file rtklib.h.

◆ SYS_IRN

const int SYS_IRN = 0x40

navigation system: IRNS

Definition at line 165 of file rtklib.h.

◆ SYS_LEO

const int SYS_LEO = 0x80

navigation system: LEO

Definition at line 166 of file rtklib.h.

◆ SYS_NONE

const int SYS_NONE = 0x00

navigation system: none

Definition at line 158 of file rtklib.h.

◆ SYS_QZS

const int SYS_QZS = 0x10

navigation system: QZSS

Definition at line 163 of file rtklib.h.

◆ SYS_SBS

const int SYS_SBS = 0x02

navigation system: SBAS

Definition at line 160 of file rtklib.h.

◆ TIMES_GPST

const int TIMES_GPST = 0

time system: gps time

Definition at line 132 of file rtklib.h.

◆ TIMES_JST

const int TIMES_JST = 2

time system: jst

Definition at line 134 of file rtklib.h.

◆ TIMES_UTC

const int TIMES_UTC = 1

time system: utc

Definition at line 133 of file rtklib.h.

◆ TIMETAGH_LEN

const int TIMETAGH_LEN = 64

time tag file header length

Definition at line 82 of file rtklib.h.

◆ TINTACT

const int TINTACT = 200

period for stream active (ms)

Definition at line 80 of file rtklib.h.

◆ TROPOPT_COR

const int TROPOPT_COR = 5

troposphere option: ZTD correction

Definition at line 283 of file rtklib.h.

◆ TROPOPT_CORG

const int TROPOPT_CORG = 6

troposphere option: ZTD+grad correction

Definition at line 284 of file rtklib.h.

◆ TROPOPT_EST

const int TROPOPT_EST = 3

troposphere option: ZTD estimation

Definition at line 281 of file rtklib.h.

◆ TROPOPT_ESTG

const int TROPOPT_ESTG = 4

troposphere option: ZTD+grad estimation

Definition at line 282 of file rtklib.h.

◆ TROPOPT_OFF

const int TROPOPT_OFF = 0

troposphere option: correction off

Definition at line 278 of file rtklib.h.

◆ TROPOPT_SAAS

const int TROPOPT_SAAS = 1

troposphere option: Saastamoinen model

Definition at line 279 of file rtklib.h.

◆ TROPOPT_SBAS

const int TROPOPT_SBAS = 2

troposphere option: SBAS model

Definition at line 280 of file rtklib.h.