📄 ogr_globals.h
字号:
/* ************************************************************************ * * * OpenGPS Receiver * * * * -------------------------------------------------------------------- * * * * Module: ogr_globals.h * * * * Version: 0.1 * * * * Date: 30.06.02 * * * * Author: C. Kelley, G. Beyerle * * * * -------------------------------------------------------------------- * * * * Copyright (C) 2001-2003 C. Kelley, G. Beyerle * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the Free Software * * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * * * * -------------------------------------------------------------------- * * * * The files 'ogr_user.c', 'ogr_navdecode.c', 'ogr_navsolve.c', * * 'ogr_rtproc.c' are modified versions of the files 'gpsfuncs.cpp', * * 'gpsrcvr.cpp' from Clifford Kelley's OpenSourceGPS distribution. * * The unmodified files can be obtained from * * http://www.home.earthlink.net/~cwkelley * * * * -------------------------------------------------------------------- * * * * Global variables * * * ************************************************************************ *//* ******************************* changes ******************************** dd.mm.yy - ************************************************************************ */#if !defined( __OGR_GLOBALS_H__)#define __OGR_GLOBALS_H__#ifdef OGRMAIN//char *tzstr = "TZ=PST8PDT";char *tzstr = "TZ=MEZ-1MES";char CorFileName[128], DmpFileName[128], DmpASCIIFileName[128];FILE *FpCor = NULL, // correlation data *FpDmp = NULL, // dump data *FpDmpASCII = NULL, // dump data (ASCII format) *FpOut1 = NULL;int RFd0, RFd1; DOPS Dops; // dilution of precisionALMANAC GPS_Alm[33]; // almanacEPHEMERIS GPS_Eph[33]; // ephemerisCHANNEL *Chan;RT_CTRL *RT_Ctrl;CTRL Ctrl;XMITINFO Xmit_Info[33]; // transmitter info, index is PRN=1,...,32RCVRINFO Rcvr_Info; // receiver infoIONO Iono; // ionospheric correctionUTC Utc; // UTC timeNAVMSG Msg[NOFCHN];NAVDATA NavData;time_t The_Time; // current timeint Base_Address = 0;UINT16 Parity_Failed[NOFCHN], // number of subframes with wrong parity Parity_Passed[NOFCHN]; // number of subframes with correct parity#elseextern char *tzstr;extern char CorFileName[], DmpFileName[], DmpASCIIFileName[];extern FILE *FpCor, *FpDmp, *FpDmpASCII, *FpOut1;extern int RFd0, RFd1; extern DOPS Dops;extern ALMANAC GPS_Alm[];extern EPHEMERIS GPS_Eph[];extern CHANNEL *Chan;extern RT_CTRL *RT_Ctrl;extern CTRL Ctrl;extern XMITINFO Xmit_Info[];extern RCVRINFO Rcvr_Info;extern IONO Iono;extern UTC Utc;extern NAVMSG Msg[];extern NAVDATA NavData;extern time_t The_Time;extern int Base_Address;extern UINT16 Parity_Failed[], Parity_Passed[];#endif#endif/* ------------------------------- end of file ---------------------------- */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -