|
MRTKLIB 0.7.14
Modernized GNSS Positioning Library
|
#include "mrtklib/mrtk_fcb.h"#include <stdio.h>#include <stdlib.h>#include <string.h>#include "mrtklib/mrtk_bias_sinex.h"#include "mrtklib/mrtk_sys.h"#include "mrtklib/mrtk_trace.h"Go to the source code of this file.
Macros | |
| #define | SYS_GPS 0x01 |
| #define | SYS_GAL 0x08 |
| #define | SYS_QZS 0x10 |
| #define | SYS_CMP 0x20 |
Functions | |
| int | satid2no (const char *id) |
| int | satsys (int sat, int *prn) |
| double | code2freq (int sys, uint8_t code, int fcn) |
| static biass_t * | getfcbs (void) |
| static int | readfcbf (const char *file) |
| int | readfcb (const char *file) |
| Read FCB (Fractional Cycle Bias) file. | |
| int | udfcb_sat (osb_t *osb, gtime_t gt, int mode) |
| Update satellite FCB structure with current biases. | |
Variables | |
| static const double | CLIGHT = 299792458.0 |
| static biass_t | fcbs = {0} |
| static const uint8_t | fcb_sig_gps [3][16] |
| static const uint8_t | fcb_sig_gal [3][16] |
| static const uint8_t | fcb_sig_qzs [3][16] |
| static const uint8_t | fcb_sig_cmp [3][16] |
| #define SYS_CMP 0x20 |
Definition at line 32 of file mrtk_fcb.c.
| #define SYS_GAL 0x08 |
Definition at line 30 of file mrtk_fcb.c.
| #define SYS_GPS 0x01 |
Definition at line 29 of file mrtk_fcb.c.
| #define SYS_QZS 0x10 |
Definition at line 31 of file mrtk_fcb.c.
|
extern |
Definition at line 236 of file mrtk_obs.c.
References code2freq_num(), and freq_num2freq().
Referenced by decode_bnx_7f_05_obs(), decode_measepoch(), decode_rxmrawx(), decode_type1010(), decode_type1012(), decode_xd(), decode_xP(), decode_xp(), gen_msm_sat(), gen_msm_sig(), readfcbf(), and save_msm_obs().
|
static |
Definition at line 58 of file mrtk_fcb.c.
References fcbs.
Referenced by readfcbf(), and udfcb_sat().
| int readfcb | ( | const char * | file | ) |
Read FCB (Fractional Cycle Bias) file.
| [in] | file | FCB file path (wild-card * expanded) |
Definition at line 136 of file mrtk_fcb.c.
References expath(), free, malloc, MAXEXFILE, readfcbf(), and trace().
Referenced by udbiass().
|
static |
Definition at line 61 of file mrtk_fcb.c.
References addbia(), CLIGHT, bia_t::code, code2freq(), epoch2time(), fcb_sig_cmp, fcb_sig_gal, fcb_sig_gps, fcb_sig_qzs, getfcbs(), biasat_t::npb, biasat_t::npbmax, biasat_t::pb, biass_t::sat, satid2no(), satsys(), SYS_CMP, SYS_GAL, SYS_GPS, SYS_QZS, bia_t::t0, bia_t::t1, trace(), bia_t::type, bia_t::val, and bia_t::valstd.
Referenced by readfcb().
|
extern |
Definition at line 753 of file mrtk_nav.c.
Referenced by readfcbf().
|
extern |
Definition at line 117 of file mrtk_nav.c.
Referenced by readfcbf().
Update satellite FCB structure with current biases.
| [out] | osb | FCB structure to update |
| [in] | gt | Current time |
| [in] | mode | Mode (0: current, 1: all) |
Definition at line 169 of file mrtk_fcb.c.
References bia_t::code, CODE_NONE, getfcbs(), osb_t::gt, MAXCODE, MAXSAT, biasat_t::npb, biasat_t::pb, biass_t::sat, osb_t::spb, bia_t::t0, bia_t::t1, timediff(), bia_t::val, and osb_t::vspb.
Referenced by udbiass().
|
static |
Definition at line 27 of file mrtk_fcb.c.
|
static |
|
static |
Definition at line 46 of file mrtk_fcb.c.
Referenced by readfcbf().
|
static |
|
static |
|
static |
Definition at line 39 of file mrtk_fcb.c.
Referenced by getfcbs().