|
MRTKLIB 0.7.14
Modernized GNSS Positioning Library
|
MRTKLIB SBAS Module — SBAS message decoding and corrections. More...
Go to the source code of this file.
Functions | |
| int | sbsreadmsg (const char *file, int sel, sbs_t *sbs) |
| Read SBAS message file. | |
| int | sbsreadmsgt (const char *file, int sel, gtime_t ts, gtime_t te, sbs_t *sbs) |
| Read SBAS message file with time span. | |
| void | sbsoutmsg (FILE *fp, sbsmsg_t *sbsmsg) |
| Output SBAS message record. | |
| int | sbsdecodemsg (gtime_t time, int prn, const uint32_t *words, sbsmsg_t *sbsmsg) |
| Decode SBAS message frame words. | |
| int | sbsupdatecorr (const sbsmsg_t *msg, nav_t *nav) |
| Update SBAS corrections in navigation data. | |
| int | sbssatcorr (gtime_t time, int sat, const nav_t *nav, double *rs, double *dts, double *var) |
| SBAS satellite ephemeris and clock correction. | |
| int | sbsioncorr (gtime_t time, const nav_t *nav, const double *pos, const double *azel, double *delay, double *var) |
| SBAS ionospheric delay correction. | |
| double | sbstropcorr (gtime_t time, const double *pos, const double *azel, double *var) |
| SBAS tropospheric delay correction. | |
Variables | |
| const sbsigpband_t | igpband1 [9][8] |
| const sbsigpband_t | igpband2 [2][5] |
MRTKLIB SBAS Module — SBAS message decoding and corrections.
This header declares all public SBAS functions extracted from sbas.c.
Definition in file mrtk_sbas.h.
Decode SBAS message frame words.
| [in] | time | Reception time |
| [in] | prn | SBAS satellite PRN number |
| [in] | words | SBAS message frame words (9 words) |
| [out] | sbsmsg | SBAS message |
Definition at line 1080 of file mrtk_sbas.c.
References DTTOL, sbsmsg_t::msg, sbsmsg_t::prn, rtk_crc24q(), gtime_t::time, time2gpst(), sbsmsg_t::tow, trace(), and sbsmsg_t::week.
Referenced by decode_rxmsfrb(), and decode_xe5bit().
| int sbsioncorr | ( | gtime_t | time, |
| const nav_t * | nav, | ||
| const double * | pos, | ||
| const double * | azel, | ||
| double * | delay, | ||
| double * | var ) |
SBAS ionospheric delay correction.
| [in] | time | Reception time |
| [in] | nav | Navigation data |
| [in] | pos | Receiver position {lat, lon, h} (rad, m) |
| [in] | azel | Azimuth/elevation angle {az, el} (rad) |
| [out] | delay | Ionospheric delay (L1) (m) |
| [out] | var | Variance of ionospheric delay (m^2) |
Definition at line 823 of file mrtk_sbas.c.
References sbsigp_t::delay, ionppp(), R2D, nav_s::sbsion, searchigp(), timediff(), trace(), and varicorr().
Referenced by ionocorr().
| void sbsoutmsg | ( | FILE * | fp, |
| sbsmsg_t * | sbsmsg ) |
Output SBAS message record.
| [in] | fp | Output file pointer |
| [in] | sbsmsg | SBAS message |
Definition at line 732 of file mrtk_sbas.c.
References sbsmsg_t::msg, sbsmsg_t::prn, sbsmsg_t::tow, trace(), and sbsmsg_t::week.
Referenced by convsbs().
| int sbsreadmsg | ( | const char * | file, |
| int | sel, | ||
| sbs_t * | sbs ) |
Read SBAS message file.
| [in] | file | SBAS message file path |
| [in] | sel | SBAS satellite selection (0:all) |
| [in,out] | sbs | SBAS messages |
Definition at line 719 of file mrtk_sbas.c.
References sbsreadmsgt(), and trace().
Referenced by readpreceph().
Read SBAS message file with time span.
| [in] | file | SBAS message file path |
| [in] | sel | SBAS satellite selection (0:all) |
| [in] | ts | Time start (ts.time==0: no limit) |
| [in] | te | Time end (te.time==0: no limit) |
| [in,out] | sbs | SBAS messages |
Definition at line 682 of file mrtk_sbas.c.
References cmpmsgs(), expath(), free, malloc, MAXEXFILE, sbs_t::msgs, sbs_t::n, readmsgs(), and trace().
Referenced by sbsreadmsg().
| int sbssatcorr | ( | gtime_t | time, |
| int | sat, | ||
| const nav_t * | nav, | ||
| double * | rs, | ||
| double * | dts, | ||
| double * | var ) |
SBAS satellite ephemeris and clock correction.
| [in] | time | Reception time |
| [in] | sat | Satellite number |
| [in] | nav | Navigation data |
| [in,out] | rs | Satellite position/velocity (corrected) |
| [out] | dts | Satellite clock correction |
| [out] | var | Variance of correction |
Definition at line 1047 of file mrtk_sbas.c.
| double sbstropcorr | ( | gtime_t | time, |
| const double * | pos, | ||
| const double * | azel, | ||
| double * | var ) |
SBAS tropospheric delay correction.
| [in] | time | Reception time |
| [in] | pos | Receiver position {lat, lon, h} (rad, m) |
| [in] | azel | Azimuth/elevation angle {az, el} (rad) |
| [out] | var | Variance of tropospheric delay (m^2) |
Definition at line 930 of file mrtk_sbas.c.
References getmet(), PI, R2D, time2doy(), and trace().
Referenced by tropcorr().
Update SBAS corrections in navigation data.
| [in] | msg | SBAS message |
| [in,out] | nav | Navigation data |
Definition at line 517 of file mrtk_sbas.c.
References decode_sbstype1(), decode_sbstype18(), decode_sbstype2(), decode_sbstype24(), decode_sbstype25(), decode_sbstype26(), decode_sbstype6(), decode_sbstype7(), decode_sbstype9(), getbitu(), sbsmsg_t::msg, nav_s::sbsion, nav_s::sbssat, trace(), and sbsmsg_t::week.
Referenced by convsbs(), inputobs(), and update_sbs().
|
extern |
Definition at line 86 of file mrtk_sbas.c.
Referenced by decode_sbstype18().
|
extern |
Definition at line 159 of file mrtk_sbas.c.
Referenced by decode_sbstype18().