📄 motorola.h
字号:
#include <stdio.h>
/* HEADER FILE for Motorola binary data */
typedef struct
{
/* variables used by software */
char fname[40]; /* file name */
FILE *f; /* file pointer */
short vbufsize; /* size of file buffer (internal) */
void *vbuf; /* pointer to vbuf (allocated in open) */
} mot_bin_file_type;
typedef struct
{
char svid;
unsigned char tracking_mode;
char SNR;
char channel_status;
char rec_status;
} SV_Status_type;
typedef struct
{
char sync[4]; /* should be @@Ea */
char month;
char day;
int year;
char hour;
char minute;
char second_integer;
unsigned long second_fraction; /* unit ns */
long lat; /* unit ms */
long lon; /* unit ms */
long hgt_ell; /* unit cm */
long hgt_MSL; /* unit cm */
int velocity_holz; /* unit cm/s */
int heading; /* unit 0.1 deg */
int dop; /* 0.1 */
char dop_type;
char sat_visible;
char sat_locked;
SV_Status_type pr[8];
char checksum;
} pben_mot_type;
typedef struct
{
char sync[4]; /* should be @@Eg */
char svid;
char snr;
long phase; /* unit 1/256 cycle */
long prange; /* unit 0.1 m */
} mben_mot_type;
void WriteRinexObsEpochFile(FILE *RinexRecFile,pben_mot_type *p,mben_mot_type *m,
time_mot_type *t);
void close_bin_file( mot_bin_file_type *h );
mot_bin_file_type *open_bin_file( char *fname, unsigned vbufsize );
int read_bin_epoch( mot_bin_file_type *h, pben_mot_type *pben_data,
mben_mot_type *mben_data,time_mot_type *t );
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -