MRTKLIB 0.7.14
Modernized GNSS Positioning Library
Loading...
Searching...
No Matches
mrtk_opt.c File Reference

MRTKLIB Options Module — Default processing and solution options. More...

#include "mrtklib/mrtk_opt.h"
#include <stdio.h>
Include dependency graph for mrtk_opt.c:

Go to the source code of this file.

Macros

#define SYS_GPS   0x01

Functions

static const char * corr_name (int corr)
static const char * mode_name (int mode)
int resolve_correction (prcopt_t *opt, char *msg, size_t msgsz)

Variables

static const double D2R = 3.1415926535897932 / 180.0
const prcopt_t prcopt_default
const solopt_t solopt_default

Detailed Description

MRTKLIB Options Module — Default processing and solution options.

Definition in file mrtk_opt.c.

Macro Definition Documentation

◆ SYS_GPS

#define SYS_GPS   0x01

Definition at line 27 of file mrtk_opt.c.

Function Documentation

◆ corr_name()

const char * corr_name ( int corr)
static

Definition at line 111 of file mrtk_opt.c.

References CORR_AUTO, CORR_BDS_B2B, CORR_GAL_HAS, CORR_IGS, CORR_IGS_RTS, CORR_NONE, CORR_QZS_CLAS, and CORR_QZS_MADOCA.

Referenced by resolve_correction().

Here is the caller graph for this function:

◆ mode_name()

const char * mode_name ( int mode)
static

Definition at line 133 of file mrtk_opt.c.

References PMODE_DGPS, PMODE_FIXED, PMODE_KINEMA, PMODE_MOVEB, PMODE_PPP_FIXED, PMODE_PPP_KINEMA, PMODE_PPP_RTK, PMODE_PPP_STATIC, PMODE_SINGLE, PMODE_SSR2OSR, PMODE_SSR2OSR_FIXED, PMODE_STATIC, and PMODE_VRS_RTK.

Referenced by resolve_correction().

Here is the caller graph for this function:

◆ resolve_correction()

int resolve_correction ( prcopt_t * opt,
char * msg,
size_t msgsz )
extern

Definition at line 165 of file mrtk_opt.c.

References ARMODE_CONT, CORR_AUTO, CORR_BDS_B2B, CORR_GAL_HAS, CORR_IGS, CORR_IGS_RTS, corr_name(), CORR_NONE, CORR_QZS_CLAS, CORR_QZS_MADOCA, prcopt_t::correction, EPHOPT_PREC, EPHOPT_SSRAPC, EPHOPT_SSRCOM, prcopt_t::ionoopt, IONOOPT_EST, prcopt_t::mode, mode_name(), prcopt_t::modear, PMODE_PPP_FIXED, PMODE_PPP_KINEMA, PMODE_PPP_RTK, PMODE_PPP_STATIC, PMODE_VRS_RTK, and prcopt_t::sateph.

Here is the call graph for this function:

Variable Documentation

◆ D2R

const double D2R = 3.1415926535897932 / 180.0
static

Definition at line 25 of file mrtk_opt.c.

◆ prcopt_default

const prcopt_t prcopt_default

Definition at line 31 of file mrtk_opt.c.

Referenced by resetsysopts(), rtksvrinit(), and setopt_apppos().

◆ solopt_default

const solopt_t solopt_default
Initial value:
= {
0, 1, 0, 0, 0, 0, 0,
0, 0, 0,
{0.0, 0.0},
" ", ""
}
#define TIMES_GPST
Definition mrtk_opt.h:84
#define SOLF_LLH
Definition mrtk_opt.h:63

Definition at line 92 of file mrtk_opt.c.

Referenced by readsolt(), resetsysopts(), rtksvrinit(), and writesol().