source: ntrip/trunk/BNC/RTIGS/rtacp.h@ 1891

Last change on this file since 1891 was 305, checked in by mervart, 18 years ago

* empty log message *

File size: 2.7 KB
Line 
1/***************************************************************************
2 rtacp.h - description
3 -------------------
4 begin : Mon Mar 27 2000
5 copyright : (C) 2000 by Ken MacLeod
6 email : macleod@geod.nrcan.gc.ca
7 ***************************************************************************/
8
9/***************************************************************************
10 * *
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
15 * *
16 ***************************************************************************/
17/* $Header: /usr/local/cvsroot/BNC/RTIGS/rtacp.h,v 1.1 2006/08/20 13:36:49 mervart Exp $ */
18#ifndef _RTACP
19#define _RTACP
20
21#include <stdio.h>
22#include <stdlib.h>
23#include <string.h>
24#include <math.h>
25#include <time.h>
26#include "rtstruct.h"
27#ifndef _RTAP
28//#include "GTT.h"
29#endif
30
31#define gps_start_second 0
32#define gps_end_second 1572480000
33
34#define DATA_RATE 1 /* data rate used in decimate */
35#define NUM_PTS 14 /* number of code points used in on either side */
36#define L_NUM_PTS 4 /* maximum number of phase points on either side for polynomial fit */
37#define L_ORDER 3 /* order of polynomial fit to phase */
38#define L2_L1_ORDER 3 /* order of polynomial fit to L2-L1 series */
39#define NSEC 30 /* decimation epoch */
40#define MIN_ELEV 10.0
41#define MAXGAP 600 /* gap in stats_l2_l1 function for reinitialization */
42 /* A B and C precise model values */
43
44#define PM_A ( (154.0*154.0) + (120.0*120.0) ) / ( (154.0*154.0) - (120.0*120.0) )
45#define PM_B ( 2.0 * (120.0*120.0) ) / ( (154.0*154.0) - (120.0*120.0) )
46#define PM_C ( 2.0 * (154.0*154.0) ) / ( (154.0*154.0) - (120.0*120.0) )
47
48
49#define L1F (154.0 * 10.23e6) /* L1 frequency */
50#define L2F (120.0 * 10.23e6) /* L2 frequency */
51#define PCR (10.23e6) /* P chipping rate */
52#define CACR (1.023e6) /* CA chipping rate */
53
54#define DEBUG 1
55
56#define SYS_GPS_OFFSET 315964800 /* used for METS */
57
58#define CORH_MAX_TIME_DIFF 30 /* max time diff in seconds between local corrections */
59#define CORH_NUM 10 /* number of previous values used to compute RRC */
60#define RRC_ORDER 3
61
62
63
64
65#endif
Note: See TracBrowser for help on using the repository browser.