|
MRTKLIB 0.7.14
Modernized GNSS Positioning Library
|
MRTKLIB Constants — Physical, navigation, and system constants. More...
#include <stdio.h>#include "mrtklib/mrtk_foundation.h"#include "mrtklib/mrtk_peph.h"#include "mrtklib/mrtk_rinex.h"#include "mrtklib/mrtk_time.h"#include "mrtklib/mrtk_version.h"Go to the source code of this file.
Classes | |
| struct | event_tag |
| struct | tled_t |
| struct | tle_t |
| struct | url_t |
| struct | gis_pnt_t |
| struct | gis_poly_t |
| struct | gis_polygon_t |
| struct | gisd_tag |
| struct | gis_t |
Macros | |
| #define | COPYRIGHT_MRTKLIB |
| #define | PI 3.1415926535897932 /* pi */ |
| #define | D2R (PI / 180.0) /* deg to rad */ |
| #define | R2D (180.0 / PI) /* rad to deg */ |
| #define | CLIGHT 299792458.0 /* speed of light (m/s) */ |
| #define | SC2RAD 3.1415926535898 /* semi-circle to radian (IS-GPS) */ |
| #define | AU 149597870691.0 /* 1 AU (m) */ |
| #define | AS2R (D2R / 3600.0) /* arc sec to radian */ |
| #define | M2NS (1E9 / CLIGHT) /* m to ns */ |
| #define | NS2M (CLIGHT / 1E9) /* ns to m */ |
| #define | OMGE 7.2921151467E-5 /* earth angular velocity (IS-GPS) (rad/s) */ |
| #define | RE_WGS84 6378137.0 /* earth semimajor axis (WGS84) (m) */ |
| #define | FE_WGS84 (1.0 / 298.257223563) /* earth flattening (WGS84) */ |
| #define | HION 350000.0 /* ionosphere height (m) */ |
| #define | MAXFREQ 7 /* max NFREQ */ |
| #define | FREQ1 1.57542E9 /* L1/E1/B1C frequency (Hz) */ |
| #define | FREQ2 1.22760E9 /* L2 frequency (Hz) */ |
| #define | FREQ5 1.17645E9 /* L5/E5a/B2a frequency (Hz) */ |
| #define | FREQ6 1.27875E9 /* E6/L6 frequency (Hz) */ |
| #define | FREQ7 1.20714E9 /* E5b frequency (Hz) */ |
| #define | FREQ8 1.191795E9 /* E5a+b frequency (Hz) */ |
| #define | FREQ9 2.492028E9 /* S frequency (Hz) */ |
| #define | FREQ1_GLO 1.60200E9 /* GLONASS G1 base frequency (Hz) */ |
| #define | DFRQ1_GLO 0.56250E6 /* GLONASS G1 bias frequency (Hz/n) */ |
| #define | FREQ2_GLO 1.24600E9 /* GLONASS G2 base frequency (Hz) */ |
| #define | DFRQ2_GLO 0.43750E6 /* GLONASS G2 bias frequency (Hz/n) */ |
| #define | FREQ3_GLO 1.202025E9 /* GLONASS G3 frequency (Hz) */ |
| #define | FREQ1a_GLO 1.600995E9 /* GLONASS G1a frequency (Hz) */ |
| #define | FREQ2a_GLO 1.248060E9 /* GLONASS G2a frequency (Hz) */ |
| #define | FREQ1_CMP 1.561098E9 /* BDS B1I frequency (Hz) */ |
| #define | FREQ2_CMP 1.20714E9 /* BDS B2I/B2b frequency (Hz) */ |
| #define | FREQ3_CMP 1.26852E9 /* BDS B3 frequency (Hz) */ |
| #define | EFACT_GPS 1.0 /* error factor: GPS */ |
| #define | EFACT_GLO 1.5 /* error factor: GLONASS */ |
| #define | EFACT_GAL 1.0 /* error factor: Galileo */ |
| #define | EFACT_QZS 1.0 /* error factor: QZSS */ |
| #define | EFACT_CMP 1.0 /* error factor: BeiDou */ |
| #define | EFACT_IRN 1.5 /* error factor: NavIC */ |
| #define | EFACT_SBS 3.0 /* error factor: SBAS */ |
| #define | SYS_NONE 0x00 /* navigation system: none */ |
| #define | SYS_GPS 0x01 /* navigation system: GPS */ |
| #define | SYS_SBS 0x02 /* navigation system: SBAS */ |
| #define | SYS_GLO 0x04 /* navigation system: GLONASS */ |
| #define | SYS_GAL 0x08 /* navigation system: Galileo */ |
| #define | SYS_QZS 0x10 /* navigation system: QZSS */ |
| #define | SYS_CMP 0x20 /* navigation system: BeiDou */ |
| #define | SYS_IRN 0x40 /* navigation system: NavIC */ |
| #define | SYS_LEO 0x80 /* navigation system: LEO */ |
| #define | SYS_BD2 0x100 /* navigation system: BeiDou-2 */ |
| #define | BDSGEN_2 2 /* BeiDou generation: BDS-2 (bds_gen()) */ |
| #define | BDSGEN_3 3 /* BeiDou generation: BDS-3 (bds_gen()) */ |
| #define | SYS_ALL 0xFFF /* navigation system: all */ |
| #define | TSYS_GPS 0 /* time system: GPS time */ |
| #define | TSYS_UTC 1 /* time system: UTC */ |
| #define | TSYS_GLO 2 /* time system: GLONASS time */ |
| #define | TSYS_GAL 3 /* time system: Galileo time */ |
| #define | TSYS_QZS 4 /* time system: QZSS time */ |
| #define | TSYS_CMP 5 /* time system: BeiDou time */ |
| #define | TSYS_IRN 6 /* time system: IRNSS time */ |
| #define | MAXDTOE 7200.0 /* max time difference to GPS Toe (s) */ |
| #define | MAXDTOE_QZS 7200.0 /* max time difference to QZSS Toe (s) */ |
| #define | MAXDTOE_GAL 14400.0 /* max time difference to Galileo Toe (s) */ |
| #define | MAXDTOE_CMP 21600.0 /* max time difference to BeiDou Toe (s) */ |
| #define | MAXDTOE_GLO 1800.0 /* max time difference to GLONASS Toe (s) */ |
| #define | MAXDTOE_IRN 7200.0 /* max time difference to IRNSS Toe (s) */ |
| #define | MAXDTOE_SBS 360.0 /* max time difference to SBAS Toe (s) */ |
| #define | MAXDTOE_S 86400.0 /* max time difference to ephem toe (s) for other */ |
| #define | MAXGDOP 300.0 /* max GDOP */ |
| #define | INT_SWAP_TRAC 86400.0 /* swap interval of trace file (s) */ |
| #define | INT_SWAP_STAT 86400.0 /* swap interval of solution status file (s) */ |
| #define | MAXSBSAGEF 30.0 /* max age of SBAS fast correction (s) */ |
| #define | MAXSBSAGEL 1800.0 /* max age of SBAS long term corr (s) */ |
| #define | MAXSBSURA 8 /* max URA of SBAS satellite */ |
| #define | RNX2VER 2.10 /* RINEX ver.2 default output version */ |
| #define | RNX3VER 3.00 /* RINEX ver.3 default output version */ |
| #define | OBSTYPE_PR 0x01 /* observation type: pseudorange */ |
| #define | OBSTYPE_CP 0x02 /* observation type: carrier-phase */ |
| #define | OBSTYPE_DOP 0x04 /* observation type: doppler-freq */ |
| #define | OBSTYPE_SNR 0x08 /* observation type: SNR */ |
| #define | OBSTYPE_ALL 0xFF /* observation type: all */ |
| #define | FREQTYPE_L1 0x01 /* frequency type: L1/E1/B1 */ |
| #define | FREQTYPE_L2 0x02 /* frequency type: L2/E5b/B2 */ |
| #define | FREQTYPE_L3 0x04 /* frequency type: L5/E5a/L3 */ |
| #define | FREQTYPE_L4 0x08 /* frequency type: L6/E6/B3 */ |
| #define | FREQTYPE_L5 0x10 /* frequency type: E5ab */ |
| #define | FREQTYPE_ALL 0xFF /* frequency type: all */ |
| #define | COMMENTH "%" /* comment line indicator for solution */ |
| #define | LLI_SLIP 0x01 /* LLI: cycle-slip */ |
| #define | LLI_HALFC 0x02 /* LLI: half-cycle not resovled */ |
| #define | LLI_BOCTRK 0x04 /* LLI: boc tracking of mboc signal */ |
| #define | LLI_HALFA 0x40 /* LLI: half-cycle added */ |
| #define | LLI_HALFS 0x80 /* LLI: half-cycle subtracted */ |
| #define | P2_5 0.03125 /* 2^-5 */ |
| #define | P2_6 0.015625 /* 2^-6 */ |
| #define | P2_11 4.882812500000000E-04 /* 2^-11 */ |
| #define | P2_15 3.051757812500000E-05 /* 2^-15 */ |
| #define | P2_17 7.629394531250000E-06 /* 2^-17 */ |
| #define | P2_19 1.907348632812500E-06 /* 2^-19 */ |
| #define | P2_20 9.536743164062500E-07 /* 2^-20 */ |
| #define | P2_21 4.768371582031250E-07 /* 2^-21 */ |
| #define | P2_23 1.192092895507810E-07 /* 2^-23 */ |
| #define | P2_24 5.960464477539063E-08 /* 2^-24 */ |
| #define | P2_27 7.450580596923828E-09 /* 2^-27 */ |
| #define | P2_29 1.862645149230957E-09 /* 2^-29 */ |
| #define | P2_30 9.313225746154785E-10 /* 2^-30 */ |
| #define | P2_31 4.656612873077393E-10 /* 2^-31 */ |
| #define | P2_32 2.328306436538696E-10 /* 2^-32 */ |
| #define | P2_33 1.164153218269348E-10 /* 2^-33 */ |
| #define | P2_35 2.910383045673370E-11 /* 2^-35 */ |
| #define | P2_38 3.637978807091710E-12 /* 2^-38 */ |
| #define | P2_39 1.818989403545856E-12 /* 2^-39 */ |
| #define | P2_40 9.094947017729280E-13 /* 2^-40 */ |
| #define | P2_43 1.136868377216160E-13 /* 2^-43 */ |
| #define | P2_48 3.552713678800501E-15 /* 2^-48 */ |
| #define | P2_50 8.881784197001252E-16 /* 2^-50 */ |
| #define | P2_55 2.775557561562891E-17 /* 2^-55 */ |
| #define | SSR_VENDOR_L6 0 /* vendor type L6(MADOCA-PPP) */ |
| #define | SSR_VENDOR_RTCM 1 /* vendor type RTCM3(JAXA-MADOCA) */ |
| #define | MAXAGESSRL6 60.0 /* max age of ssr satellite code and phase bias (s) */ |
| #define | MIONO_MAX_AGE 300.0 /* max age of STEC correction (s) (Table 6.3.2-3) */ |
| #define | SSR_INVALID_CBIAS -81.92 /* invalid value of ssr code bias (m) */ |
| #define | SSR_INVALID_PBIAS -52.4288 /* invalid value of ssr phase bias (m) */ |
| #define | SATT_NORMAL 0 /* nominal attitude */ |
| #define | GM_EGM 3.986004415E14 /* earth grav. constant (EGM96/2008) */ |
| #define | DT_BETA_R 10.0 /* delta time for beta angle rate (s) */ |
| #define | STYPE_NONE 0 /* satellite type: unknown */ |
| #define | STYPE_GPSII 1 /* satellite type: GPS Block II */ |
| #define | STYPE_GPSIIA 2 /* satellite type: GPS Block IIA */ |
| #define | STYPE_GPSIIR 3 /* satellite type: GPS Block IIR */ |
| #define | STYPE_GPSIIRM 4 /* satellite type: GPS Block IIR-M */ |
| #define | STYPE_GPSIIF 5 /* satellite type: GPS Block IIF */ |
| #define | STYPE_GPSIIIA 6 /* satellite type: GPS Block III-A */ |
| #define | STYPE_GPSIIIB 7 /* satellite type: GPS Block III-B */ |
| #define | STYPE_GLO 8 /* satellite type: GLONASS */ |
| #define | STYPE_GLOM 9 /* satellite type: GLONASS-M */ |
| #define | STYPE_GLOK 10 /* satellite type: GLONASS-K */ |
| #define | STYPE_GAL 11 /* satellite type: Galileo IOV */ |
| #define | STYPE_QZS 12 /* satellite type: QZSS Block IQ */ |
| #define | STYPE_QZSIIQ 13 /* satellite type: QZSS Block IIQ */ |
| #define | STYPE_QZSIIG 14 /* satellite type: QZSS Block IIG */ |
| #define | STYPE_QZSIIIQ 15 /* satellite type: QZSS Block IIIQ */ |
| #define | STYPE_QZSIIIG 16 /* satellite type: QZSS Block IIIG */ |
| #define | STYPE_GAL_FOC 17 /* satellite type: Galileo FOC */ |
| #define | STYPE_BDS_G 18 /* satellite type: BeiDou GEO */ |
| #define | STYPE_BDS_I 19 /* satellite type: BeiDou IGSO */ |
| #define | STYPE_BDS_M 20 /* satellite type: BeiDou MEO */ |
| #define | STYPE_BDS_I_YS 21 /* satellite type: BeiDou IGSO(no ON mode) */ |
| #define | STYPE_BDS_M_YS 22 /* satellite type: BeiDou MEO(no ON mode) */ |
| #define | STYPE_BDS3_G 23 /* satellite type: BeiDou-3 GEO */ |
| #define | STYPE_BDS3_I_C 24 /* satellite type: BeiDou-3 IGSO by CAST */ |
| #define | STYPE_BDS3_I_S 25 /* satellite type: BeiDou-3 IGSO by SECM */ |
| #define | STYPE_BDS3_M_C 26 /* satellite type: BeiDou-3 MEO by CAST */ |
| #define | STYPE_BDS3_M_S 27 /* satellite type: BeiDou-3 MEO by SECM */ |
| #define | STYPE_QZS_I_YS 30 /* satellite type: QZSS Block IQ(beta 15/17.5 deg) */ |
| #define | STYPE_LEO 31 /* satellite type: LEO */ |
| #define | STYPE_MAX 32 /* max satellite type */ |
| #define | MAXNP_EVENT 6 /* max number of event parameters */ |
| #define | EVENT_NONE 0 /* orbit event: no event */ |
| #define | EVENT_ATT_EC 1 /* orbit event: ATT_EC */ |
| #define | EVENT_ATT_YS 2 /* orbit event: ATT_YS */ |
| #define | EVENT_ATT_EC_YS 3 /* orbit event: ATT_EC_YS */ |
| #define | EVENT_ATT_YS_EC 4 /* orbit event: ATT_YS_EC */ |
| #define | TOW_LSB 30.0 /* epoch time 30s */ |
| #define | MAXTRP 2880 /* all time data, (1hour/1day) */ |
| #define | SVR_CYCLE 10 /* server cycle (ms) */ |
| #define | LOGIN_PROMPT "*** LCLCMBRT MONITOR CONSOLE (" MRTKLIB_SOFTNAME " ver." MRTKLIB_VERSION_STRING ") ***" |
| #define | LOGIN_USER "admin" /* console login user */ |
| #define | LOGIN_PASSWD "root" /* console login password */ |
| #define | INACT_TIMEOUT 300 /* console inactive timeout (s) */ |
| #define | ESC_CLEAR "\033[H\033[2J" /* ansi/vt100 escape: erase screen */ |
| #define | ESC_RESET "\033[0m" /* ansi/vt100 escape: reset attribute */ |
| #define | ESC_BOLD "\033[1m" /* ansi/vt100 escape: bold */ |
| #define | RTCM3PREAMB 0xD3 /* rtcm ver.3 frame preamble */ |
| #define | DLOPT_FORCE 0x01 /* download option: force download existing */ |
| #define | DLOPT_KEEPCMP 0x02 /* download option: keep compressed file */ |
| #define | DLOPT_HOLDERR 0x04 /* download option: hold on error file */ |
| #define | DLOPT_HOLDLST 0x08 /* download option: hold on listing file */ |
Typedefs | |
| typedef struct event_tag | event_t |
| typedef struct gisd_tag | gisd_t |
Functions | |
| int | loaddatump (const char *file) |
| int | tokyo2jgd (double *pos) |
| int | jgd2tokyo (double *pos) |
| int | convrnx (int format, rnxopt_t *opt, const char *file, char **ofile) |
| int | tle_read (const char *file, tle_t *tle) |
| int | tle_name_read (const char *file, tle_t *tle) |
| int | tle_pos (gtime_t time, const char *name, const char *satno, const char *desig, const tle_t *tle, const erp_t *erp, double *rs) |
| int | convkml (const char *infile, const char *outfile, gtime_t ts, gtime_t te, double tint, int qflg, double *offset, int tcolor, int pcolor, int outalt, int outtime) |
| int | convgpx (const char *infile, const char *outfile, gtime_t ts, gtime_t te, double tint, int qflg, double *offset, int outtrk, int outpnt, int outalt, int outtime) |
| int | dl_readurls (const char *file, char **types, int ntype, url_t *urls, int nmax) |
| int | dl_readstas (const char *file, char **stas, int nmax) |
| int | dl_exec (gtime_t ts, gtime_t te, double ti, int seqnos, int seqnoe, const url_t *urls, int nurl, char **stas, int nsta, const char *dir, const char *usr, const char *pwd, const char *proxy, int opts, char *msg, FILE *fp) |
| void | dl_test (gtime_t ts, gtime_t te, double ti, const url_t *urls, int nurl, char **stas, int nsta, const char *dir, int ncol, int datefmt, FILE *fp) |
| int | gis_read (const char *file, gis_t *gis, int layer) |
| void | gis_free (gis_t *gis) |
| int | showmsg (const char *format,...) |
| Show status message (application-defined). | |
| void | settspan (gtime_t ts, gtime_t te) |
| Set time span for progress display (application-defined). | |
| void | settime (gtime_t time) |
| Set current time for progress display (application-defined). | |
MRTKLIB Constants — Physical, navigation, and system constants.
This header provides fundamental physical constants (speed of light, earth parameters), GNSS frequency constants, navigation system identifiers, and miscellaneous constants used across the library and applications.
All constants use #ifndef guards to avoid conflicts with local definitions in legacy .c files that duplicate these values.
Definition in file mrtk_const.h.
| #define AS2R (D2R / 3600.0) /* arc sec to radian */ |
Definition at line 78 of file mrtk_const.h.
| #define AU 149597870691.0 /* 1 AU (m) */ |
Definition at line 75 of file mrtk_const.h.
| #define BDSGEN_2 2 /* BeiDou generation: BDS-2 (bds_gen()) */ |
Definition at line 218 of file mrtk_const.h.
Referenced by is_bds2prn(), and set_bds2prn().
| #define BDSGEN_3 3 /* BeiDou generation: BDS-3 (bds_gen()) */ |
Definition at line 219 of file mrtk_const.h.
Referenced by bds_gen(), and set_bds2prn().
| #define CLIGHT 299792458.0 /* speed of light (m/s) */ |
Definition at line 69 of file mrtk_const.h.
| #define COMMENTH "%" /* comment line indicator for solution */ |
Definition at line 326 of file mrtk_const.h.
| #define COPYRIGHT_MRTKLIB |
Definition at line 50 of file mrtk_const.h.
| #define D2R (PI / 180.0) /* deg to rad */ |
Definition at line 63 of file mrtk_const.h.
| #define DFRQ1_GLO 0.56250E6 /* GLONASS G1 bias frequency (Hz/n) */ |
Definition at line 131 of file mrtk_const.h.
| #define DFRQ2_GLO 0.43750E6 /* GLONASS G2 bias frequency (Hz/n) */ |
Definition at line 137 of file mrtk_const.h.
| #define DLOPT_FORCE 0x01 /* download option: force download existing */ |
Definition at line 530 of file mrtk_const.h.
| #define DLOPT_HOLDERR 0x04 /* download option: hold on error file */ |
Definition at line 532 of file mrtk_const.h.
| #define DLOPT_HOLDLST 0x08 /* download option: hold on listing file */ |
Definition at line 533 of file mrtk_const.h.
| #define DLOPT_KEEPCMP 0x02 /* download option: keep compressed file */ |
Definition at line 531 of file mrtk_const.h.
| #define DT_BETA_R 10.0 /* delta time for beta angle rate (s) */ |
Definition at line 435 of file mrtk_const.h.
| #define EFACT_CMP 1.0 /* error factor: BeiDou */ |
Definition at line 175 of file mrtk_const.h.
| #define EFACT_GAL 1.0 /* error factor: Galileo */ |
Definition at line 169 of file mrtk_const.h.
| #define EFACT_GLO 1.5 /* error factor: GLONASS */ |
Definition at line 166 of file mrtk_const.h.
| #define EFACT_GPS 1.0 /* error factor: GPS */ |
Definition at line 163 of file mrtk_const.h.
| #define EFACT_IRN 1.5 /* error factor: NavIC */ |
Definition at line 178 of file mrtk_const.h.
| #define EFACT_QZS 1.0 /* error factor: QZSS */ |
Definition at line 172 of file mrtk_const.h.
| #define EFACT_SBS 3.0 /* error factor: SBAS */ |
Definition at line 181 of file mrtk_const.h.
| #define ESC_BOLD "\033[1m" /* ansi/vt100 escape: bold */ |
Definition at line 516 of file mrtk_const.h.
| #define ESC_CLEAR "\033[H\033[2J" /* ansi/vt100 escape: erase screen */ |
Definition at line 514 of file mrtk_const.h.
| #define ESC_RESET "\033[0m" /* ansi/vt100 escape: reset attribute */ |
Definition at line 515 of file mrtk_const.h.
| #define EVENT_ATT_EC 1 /* orbit event: ATT_EC */ |
Definition at line 476 of file mrtk_const.h.
| #define EVENT_ATT_EC_YS 3 /* orbit event: ATT_EC_YS */ |
Definition at line 478 of file mrtk_const.h.
| #define EVENT_ATT_YS 2 /* orbit event: ATT_YS */ |
Definition at line 477 of file mrtk_const.h.
| #define EVENT_ATT_YS_EC 4 /* orbit event: ATT_YS_EC */ |
Definition at line 479 of file mrtk_const.h.
| #define EVENT_NONE 0 /* orbit event: no event */ |
Definition at line 475 of file mrtk_const.h.
| #define FE_WGS84 (1.0 / 298.257223563) /* earth flattening (WGS84) */ |
Definition at line 93 of file mrtk_const.h.
| #define FREQ1 1.57542E9 /* L1/E1/B1C frequency (Hz) */ |
Definition at line 107 of file mrtk_const.h.
| #define FREQ1_CMP 1.561098E9 /* BDS B1I frequency (Hz) */ |
Definition at line 149 of file mrtk_const.h.
| #define FREQ1_GLO 1.60200E9 /* GLONASS G1 base frequency (Hz) */ |
Definition at line 128 of file mrtk_const.h.
| #define FREQ1a_GLO 1.600995E9 /* GLONASS G1a frequency (Hz) */ |
Definition at line 143 of file mrtk_const.h.
| #define FREQ2 1.22760E9 /* L2 frequency (Hz) */ |
Definition at line 110 of file mrtk_const.h.
| #define FREQ2_CMP 1.20714E9 /* BDS B2I/B2b frequency (Hz) */ |
Definition at line 152 of file mrtk_const.h.
| #define FREQ2_GLO 1.24600E9 /* GLONASS G2 base frequency (Hz) */ |
Definition at line 134 of file mrtk_const.h.
| #define FREQ2a_GLO 1.248060E9 /* GLONASS G2a frequency (Hz) */ |
Definition at line 146 of file mrtk_const.h.
| #define FREQ3_CMP 1.26852E9 /* BDS B3 frequency (Hz) */ |
Definition at line 155 of file mrtk_const.h.
| #define FREQ3_GLO 1.202025E9 /* GLONASS G3 frequency (Hz) */ |
Definition at line 140 of file mrtk_const.h.
| #define FREQ5 1.17645E9 /* L5/E5a/B2a frequency (Hz) */ |
Definition at line 113 of file mrtk_const.h.
| #define FREQ6 1.27875E9 /* E6/L6 frequency (Hz) */ |
Definition at line 116 of file mrtk_const.h.
| #define FREQ7 1.20714E9 /* E5b frequency (Hz) */ |
Definition at line 119 of file mrtk_const.h.
| #define FREQ8 1.191795E9 /* E5a+b frequency (Hz) */ |
Definition at line 122 of file mrtk_const.h.
| #define FREQ9 2.492028E9 /* S frequency (Hz) */ |
Definition at line 125 of file mrtk_const.h.
| #define FREQTYPE_ALL 0xFF /* frequency type: all */ |
Definition at line 319 of file mrtk_const.h.
| #define FREQTYPE_L1 0x01 /* frequency type: L1/E1/B1 */ |
Definition at line 314 of file mrtk_const.h.
| #define FREQTYPE_L2 0x02 /* frequency type: L2/E5b/B2 */ |
Definition at line 315 of file mrtk_const.h.
| #define FREQTYPE_L3 0x04 /* frequency type: L5/E5a/L3 */ |
Definition at line 316 of file mrtk_const.h.
| #define FREQTYPE_L4 0x08 /* frequency type: L6/E6/B3 */ |
Definition at line 317 of file mrtk_const.h.
| #define FREQTYPE_L5 0x10 /* frequency type: E5ab */ |
Definition at line 318 of file mrtk_const.h.
| #define GM_EGM 3.986004415E14 /* earth grav. constant (EGM96/2008) */ |
Definition at line 434 of file mrtk_const.h.
| #define HION 350000.0 /* ionosphere height (m) */ |
Definition at line 96 of file mrtk_const.h.
| #define INACT_TIMEOUT 300 /* console inactive timeout (s) */ |
Definition at line 512 of file mrtk_const.h.
| #define INT_SWAP_STAT 86400.0 /* swap interval of solution status file (s) */ |
Definition at line 287 of file mrtk_const.h.
| #define INT_SWAP_TRAC 86400.0 /* swap interval of trace file (s) */ |
Definition at line 286 of file mrtk_const.h.
| #define LLI_BOCTRK 0x04 /* LLI: boc tracking of mboc signal */ |
Definition at line 336 of file mrtk_const.h.
| #define LLI_HALFA 0x40 /* LLI: half-cycle added */ |
Definition at line 339 of file mrtk_const.h.
| #define LLI_HALFC 0x02 /* LLI: half-cycle not resovled */ |
Definition at line 333 of file mrtk_const.h.
| #define LLI_HALFS 0x80 /* LLI: half-cycle subtracted */ |
Definition at line 342 of file mrtk_const.h.
| #define LLI_SLIP 0x01 /* LLI: cycle-slip */ |
Definition at line 330 of file mrtk_const.h.
| #define LOGIN_PASSWD "root" /* console login password */ |
Definition at line 511 of file mrtk_const.h.
| #define LOGIN_PROMPT "*** LCLCMBRT MONITOR CONSOLE (" MRTKLIB_SOFTNAME " ver." MRTKLIB_VERSION_STRING ") ***" |
Definition at line 509 of file mrtk_const.h.
| #define LOGIN_USER "admin" /* console login user */ |
Definition at line 510 of file mrtk_const.h.
| #define M2NS (1E9 / CLIGHT) /* m to ns */ |
Definition at line 81 of file mrtk_const.h.
| #define MAXAGESSRL6 60.0 /* max age of ssr satellite code and phase bias (s) */ |
Definition at line 424 of file mrtk_const.h.
| #define MAXDTOE 7200.0 /* max time difference to GPS Toe (s) */ |
Definition at line 255 of file mrtk_const.h.
| #define MAXDTOE_CMP 21600.0 /* max time difference to BeiDou Toe (s) */ |
Definition at line 264 of file mrtk_const.h.
| #define MAXDTOE_GAL 14400.0 /* max time difference to Galileo Toe (s) */ |
Definition at line 261 of file mrtk_const.h.
| #define MAXDTOE_GLO 1800.0 /* max time difference to GLONASS Toe (s) */ |
Definition at line 267 of file mrtk_const.h.
| #define MAXDTOE_IRN 7200.0 /* max time difference to IRNSS Toe (s) */ |
Definition at line 270 of file mrtk_const.h.
| #define MAXDTOE_QZS 7200.0 /* max time difference to QZSS Toe (s) */ |
Definition at line 258 of file mrtk_const.h.
| #define MAXDTOE_S 86400.0 /* max time difference to ephem toe (s) for other */ |
Definition at line 276 of file mrtk_const.h.
| #define MAXDTOE_SBS 360.0 /* max time difference to SBAS Toe (s) */ |
Definition at line 273 of file mrtk_const.h.
| #define MAXFREQ 7 /* max NFREQ */ |
Definition at line 104 of file mrtk_const.h.
| #define MAXGDOP 300.0 /* max GDOP */ |
Definition at line 279 of file mrtk_const.h.
| #define MAXNP_EVENT 6 /* max number of event parameters */ |
Definition at line 473 of file mrtk_const.h.
| #define MAXSBSAGEF 30.0 /* max age of SBAS fast correction (s) */ |
Definition at line 293 of file mrtk_const.h.
| #define MAXSBSAGEL 1800.0 /* max age of SBAS long term corr (s) */ |
Definition at line 294 of file mrtk_const.h.
| #define MAXSBSURA 8 /* max URA of SBAS satellite */ |
Definition at line 295 of file mrtk_const.h.
| #define MAXTRP 2880 /* all time data, (1hour/1day) */ |
Definition at line 501 of file mrtk_const.h.
| #define MIONO_MAX_AGE 300.0 /* max age of STEC correction (s) (Table 6.3.2-3) */ |
Definition at line 425 of file mrtk_const.h.
Referenced by const_iono_corr().
| #define NS2M (CLIGHT / 1E9) /* ns to m */ |
Definition at line 84 of file mrtk_const.h.
| #define OBSTYPE_ALL 0xFF /* observation type: all */ |
Definition at line 312 of file mrtk_const.h.
| #define OBSTYPE_CP 0x02 /* observation type: carrier-phase */ |
Definition at line 309 of file mrtk_const.h.
| #define OBSTYPE_DOP 0x04 /* observation type: doppler-freq */ |
Definition at line 310 of file mrtk_const.h.
| #define OBSTYPE_PR 0x01 /* observation type: pseudorange */ |
Definition at line 308 of file mrtk_const.h.
| #define OBSTYPE_SNR 0x08 /* observation type: SNR */ |
Definition at line 311 of file mrtk_const.h.
| #define OMGE 7.2921151467E-5 /* earth angular velocity (IS-GPS) (rad/s) */ |
Definition at line 87 of file mrtk_const.h.
| #define P2_11 4.882812500000000E-04 /* 2^-11 */ |
Definition at line 352 of file mrtk_const.h.
| #define P2_15 3.051757812500000E-05 /* 2^-15 */ |
Definition at line 355 of file mrtk_const.h.
| #define P2_17 7.629394531250000E-06 /* 2^-17 */ |
Definition at line 358 of file mrtk_const.h.
| #define P2_19 1.907348632812500E-06 /* 2^-19 */ |
Definition at line 361 of file mrtk_const.h.
| #define P2_20 9.536743164062500E-07 /* 2^-20 */ |
Definition at line 364 of file mrtk_const.h.
| #define P2_21 4.768371582031250E-07 /* 2^-21 */ |
Definition at line 367 of file mrtk_const.h.
| #define P2_23 1.192092895507810E-07 /* 2^-23 */ |
Definition at line 370 of file mrtk_const.h.
| #define P2_24 5.960464477539063E-08 /* 2^-24 */ |
Definition at line 373 of file mrtk_const.h.
| #define P2_27 7.450580596923828E-09 /* 2^-27 */ |
Definition at line 376 of file mrtk_const.h.
| #define P2_29 1.862645149230957E-09 /* 2^-29 */ |
Definition at line 379 of file mrtk_const.h.
| #define P2_30 9.313225746154785E-10 /* 2^-30 */ |
Definition at line 382 of file mrtk_const.h.
| #define P2_31 4.656612873077393E-10 /* 2^-31 */ |
Definition at line 385 of file mrtk_const.h.
| #define P2_32 2.328306436538696E-10 /* 2^-32 */ |
Definition at line 388 of file mrtk_const.h.
| #define P2_33 1.164153218269348E-10 /* 2^-33 */ |
Definition at line 391 of file mrtk_const.h.
| #define P2_35 2.910383045673370E-11 /* 2^-35 */ |
Definition at line 394 of file mrtk_const.h.
| #define P2_38 3.637978807091710E-12 /* 2^-38 */ |
Definition at line 397 of file mrtk_const.h.
| #define P2_39 1.818989403545856E-12 /* 2^-39 */ |
Definition at line 400 of file mrtk_const.h.
| #define P2_40 9.094947017729280E-13 /* 2^-40 */ |
Definition at line 403 of file mrtk_const.h.
| #define P2_43 1.136868377216160E-13 /* 2^-43 */ |
Definition at line 406 of file mrtk_const.h.
| #define P2_48 3.552713678800501E-15 /* 2^-48 */ |
Definition at line 409 of file mrtk_const.h.
| #define P2_5 0.03125 /* 2^-5 */ |
Definition at line 346 of file mrtk_const.h.
| #define P2_50 8.881784197001252E-16 /* 2^-50 */ |
Definition at line 412 of file mrtk_const.h.
| #define P2_55 2.775557561562891E-17 /* 2^-55 */ |
Definition at line 415 of file mrtk_const.h.
| #define P2_6 0.015625 /* 2^-6 */ |
Definition at line 349 of file mrtk_const.h.
| #define PI 3.1415926535897932 /* pi */ |
Definition at line 60 of file mrtk_const.h.
| #define R2D (180.0 / PI) /* rad to deg */ |
Definition at line 66 of file mrtk_const.h.
| #define RE_WGS84 6378137.0 /* earth semimajor axis (WGS84) (m) */ |
Definition at line 90 of file mrtk_const.h.
| #define RNX2VER 2.10 /* RINEX ver.2 default output version */ |
Definition at line 301 of file mrtk_const.h.
| #define RNX3VER 3.00 /* RINEX ver.3 default output version */ |
Definition at line 302 of file mrtk_const.h.
| #define RTCM3PREAMB 0xD3 /* rtcm ver.3 frame preamble */ |
Definition at line 523 of file mrtk_const.h.
| #define SATT_NORMAL 0 /* nominal attitude */ |
Definition at line 433 of file mrtk_const.h.
| #define SC2RAD 3.1415926535898 /* semi-circle to radian (IS-GPS) */ |
Definition at line 72 of file mrtk_const.h.
| #define SSR_INVALID_CBIAS -81.92 /* invalid value of ssr code bias (m) */ |
Definition at line 426 of file mrtk_const.h.
Referenced by corr_meas(), and decode_mcssr_cb().
| #define SSR_INVALID_PBIAS -52.4288 /* invalid value of ssr phase bias (m) */ |
Definition at line 427 of file mrtk_const.h.
Referenced by corr_meas(), and decode_mcssr_pb().
| #define SSR_VENDOR_L6 0 /* vendor type L6(MADOCA-PPP) */ |
Definition at line 422 of file mrtk_const.h.
| #define SSR_VENDOR_RTCM 1 /* vendor type RTCM3(JAXA-MADOCA) */ |
Definition at line 423 of file mrtk_const.h.
| #define STYPE_BDS3_G 23 /* satellite type: BeiDou-3 GEO */ |
Definition at line 460 of file mrtk_const.h.
| #define STYPE_BDS3_I_C 24 /* satellite type: BeiDou-3 IGSO by CAST */ |
Definition at line 461 of file mrtk_const.h.
| #define STYPE_BDS3_I_S 25 /* satellite type: BeiDou-3 IGSO by SECM */ |
Definition at line 462 of file mrtk_const.h.
| #define STYPE_BDS3_M_C 26 /* satellite type: BeiDou-3 MEO by CAST */ |
Definition at line 463 of file mrtk_const.h.
| #define STYPE_BDS3_M_S 27 /* satellite type: BeiDou-3 MEO by SECM */ |
Definition at line 464 of file mrtk_const.h.
| #define STYPE_BDS_G 18 /* satellite type: BeiDou GEO */ |
Definition at line 455 of file mrtk_const.h.
| #define STYPE_BDS_I 19 /* satellite type: BeiDou IGSO */ |
Definition at line 456 of file mrtk_const.h.
| #define STYPE_BDS_I_YS 21 /* satellite type: BeiDou IGSO(no ON mode) */ |
Definition at line 458 of file mrtk_const.h.
| #define STYPE_BDS_M 20 /* satellite type: BeiDou MEO */ |
Definition at line 457 of file mrtk_const.h.
| #define STYPE_BDS_M_YS 22 /* satellite type: BeiDou MEO(no ON mode) */ |
Definition at line 459 of file mrtk_const.h.
| #define STYPE_GAL 11 /* satellite type: Galileo IOV */ |
Definition at line 448 of file mrtk_const.h.
| #define STYPE_GAL_FOC 17 /* satellite type: Galileo FOC */ |
Definition at line 454 of file mrtk_const.h.
| #define STYPE_GLO 8 /* satellite type: GLONASS */ |
Definition at line 445 of file mrtk_const.h.
| #define STYPE_GLOK 10 /* satellite type: GLONASS-K */ |
Definition at line 447 of file mrtk_const.h.
| #define STYPE_GLOM 9 /* satellite type: GLONASS-M */ |
Definition at line 446 of file mrtk_const.h.
| #define STYPE_GPSII 1 /* satellite type: GPS Block II */ |
Definition at line 438 of file mrtk_const.h.
| #define STYPE_GPSIIA 2 /* satellite type: GPS Block IIA */ |
Definition at line 439 of file mrtk_const.h.
| #define STYPE_GPSIIF 5 /* satellite type: GPS Block IIF */ |
Definition at line 442 of file mrtk_const.h.
| #define STYPE_GPSIIIA 6 /* satellite type: GPS Block III-A */ |
Definition at line 443 of file mrtk_const.h.
| #define STYPE_GPSIIIB 7 /* satellite type: GPS Block III-B */ |
Definition at line 444 of file mrtk_const.h.
| #define STYPE_GPSIIR 3 /* satellite type: GPS Block IIR */ |
Definition at line 440 of file mrtk_const.h.
| #define STYPE_GPSIIRM 4 /* satellite type: GPS Block IIR-M */ |
Definition at line 441 of file mrtk_const.h.
| #define STYPE_LEO 31 /* satellite type: LEO */ |
Definition at line 466 of file mrtk_const.h.
| #define STYPE_MAX 32 /* max satellite type */ |
Definition at line 467 of file mrtk_const.h.
| #define STYPE_NONE 0 /* satellite type: unknown */ |
Definition at line 437 of file mrtk_const.h.
| #define STYPE_QZS 12 /* satellite type: QZSS Block IQ */ |
Definition at line 449 of file mrtk_const.h.
| #define STYPE_QZS_I_YS 30 /* satellite type: QZSS Block IQ(beta 15/17.5 deg) */ |
Definition at line 465 of file mrtk_const.h.
| #define STYPE_QZSIIG 14 /* satellite type: QZSS Block IIG */ |
Definition at line 451 of file mrtk_const.h.
| #define STYPE_QZSIIIG 16 /* satellite type: QZSS Block IIIG */ |
Definition at line 453 of file mrtk_const.h.
| #define STYPE_QZSIIIQ 15 /* satellite type: QZSS Block IIIQ */ |
Definition at line 452 of file mrtk_const.h.
| #define STYPE_QZSIIQ 13 /* satellite type: QZSS Block IIQ */ |
Definition at line 450 of file mrtk_const.h.
| #define SVR_CYCLE 10 /* server cycle (ms) */ |
Definition at line 503 of file mrtk_const.h.
| #define SYS_ALL 0xFFF /* navigation system: all */ |
Definition at line 221 of file mrtk_const.h.
| #define SYS_BD2 0x100 /* navigation system: BeiDou-2 */ |
Definition at line 216 of file mrtk_const.h.
| #define SYS_CMP 0x20 /* navigation system: BeiDou */ |
Definition at line 207 of file mrtk_const.h.
| #define SYS_GAL 0x08 /* navigation system: Galileo */ |
Definition at line 201 of file mrtk_const.h.
| #define SYS_GLO 0x04 /* navigation system: GLONASS */ |
Definition at line 198 of file mrtk_const.h.
| #define SYS_GPS 0x01 /* navigation system: GPS */ |
Definition at line 192 of file mrtk_const.h.
| #define SYS_IRN 0x40 /* navigation system: NavIC */ |
Definition at line 210 of file mrtk_const.h.
| #define SYS_LEO 0x80 /* navigation system: LEO */ |
Definition at line 213 of file mrtk_const.h.
| #define SYS_NONE 0x00 /* navigation system: none */ |
Definition at line 189 of file mrtk_const.h.
| #define SYS_QZS 0x10 /* navigation system: QZSS */ |
Definition at line 204 of file mrtk_const.h.
| #define SYS_SBS 0x02 /* navigation system: SBAS */ |
Definition at line 195 of file mrtk_const.h.
| #define TOW_LSB 30.0 /* epoch time 30s */ |
Definition at line 500 of file mrtk_const.h.
| #define TSYS_CMP 5 /* time system: BeiDou time */ |
Definition at line 244 of file mrtk_const.h.
| #define TSYS_GAL 3 /* time system: Galileo time */ |
Definition at line 238 of file mrtk_const.h.
| #define TSYS_GLO 2 /* time system: GLONASS time */ |
Definition at line 235 of file mrtk_const.h.
| #define TSYS_GPS 0 /* time system: GPS time */ |
Definition at line 229 of file mrtk_const.h.
| #define TSYS_IRN 6 /* time system: IRNSS time */ |
Definition at line 247 of file mrtk_const.h.
| #define TSYS_QZS 4 /* time system: QZSS time */ |
Definition at line 241 of file mrtk_const.h.
| #define TSYS_UTC 1 /* time system: UTC */ |
Definition at line 232 of file mrtk_const.h.
| int convgpx | ( | const char * | infile, |
| const char * | outfile, | ||
| gtime_t | ts, | ||
| gtime_t | te, | ||
| double | tint, | ||
| int | qflg, | ||
| double * | offset, | ||
| int | outtrk, | ||
| int | outpnt, | ||
| int | outalt, | ||
| int | outtime ) |
| int convkml | ( | const char * | infile, |
| const char * | outfile, | ||
| gtime_t | ts, | ||
| gtime_t | te, | ||
| double | tint, | ||
| int | qflg, | ||
| double * | offset, | ||
| int | tcolor, | ||
| int | pcolor, | ||
| int | outalt, | ||
| int | outtime ) |
| int convrnx | ( | int | format, |
| rnxopt_t * | opt, | ||
| const char * | file, | ||
| char ** | ofile ) |
Definition at line 1310 of file mrtk_convrnx.c.
References convrnx_s(), rnxopt_t::freqtype, gpst2time(), rnxopt_t::navsys, rnxopt_t::rnxver, showmsg(), SYS_CMP, SYS_GAL, SYS_GLO, SYS_GPS, SYS_QZS, SYS_SBS, rnxopt_t::te, rnxopt_t::tend, gtime_t::time, time2gpst(), timeadd(), timediff(), trace(), rnxopt_t::trtcm, rnxopt_t::ts, rnxopt_t::tstart, rnxopt_t::ttol, and rnxopt_t::tunit.
| int dl_exec | ( | gtime_t | ts, |
| gtime_t | te, | ||
| double | ti, | ||
| int | seqnos, | ||
| int | seqnoe, | ||
| const url_t * | urls, | ||
| int | nurl, | ||
| char ** | stas, | ||
| int | nsta, | ||
| const char * | dir, | ||
| const char * | usr, | ||
| const char * | pwd, | ||
| const char * | proxy, | ||
| int | opts, | ||
| char * | msg, | ||
| FILE * | fp ) |
References stas.
| int dl_readstas | ( | const char * | file, |
| char ** | stas, | ||
| int | nmax ) |
References stas.
| int dl_readurls | ( | const char * | file, |
| char ** | types, | ||
| int | ntype, | ||
| url_t * | urls, | ||
| int | nmax ) |
| void dl_test | ( | gtime_t | ts, |
| gtime_t | te, | ||
| double | ti, | ||
| const url_t * | urls, | ||
| int | nurl, | ||
| char ** | stas, | ||
| int | nsta, | ||
| const char * | dir, | ||
| int | ncol, | ||
| int | datefmt, | ||
| FILE * | fp ) |
References stas.
| void gis_free | ( | gis_t * | gis | ) |
| int gis_read | ( | const char * | file, |
| gis_t * | gis, | ||
| int | layer ) |
| int jgd2tokyo | ( | double * | pos | ) |
| int loaddatump | ( | const char * | file | ) |
|
extern |
Set current time for progress display (application-defined).
| [in] | time | Current processing time |
Set time span for progress display (application-defined).
| [in] | ts | Start time |
| [in] | te | End time |
|
extern |
Show status message (application-defined).
| [in] | format | printf-style format string |
| int tle_name_read | ( | const char * | file, |
| tle_t * | tle ) |
| int tle_read | ( | const char * | file, |
| tle_t * | tle ) |
| int tokyo2jgd | ( | double * | pos | ) |