constants.h
Go to the documentation of this file.
00001 /*
00002  * Copyright (C) 2013 Swift Navigation Inc.
00003  * Contact: Fergus Noble <fergus@swift-nav.com>
00004  *
00005  * This source is subject to the license found in the file 'LICENSE' which must
00006  * be be distributed together with this source. All other rights reserved.
00007  *
00008  * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
00009  * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
00010  * WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
00011  */
00012 
00013 #ifndef LIBSWIFTNAV_CONSTANTS_H
00014 #define LIBSWIFTNAV_CONSTANTS_H
00015 
00016 #include <math.h>
00017 
00022 #define MAX_CHANNELS 11 
00023 #define MAX_SATS 32 
00025 #define R2D (180.0 / M_PI) 
00026 #define D2R (M_PI / 180.0) 
00036 #define GPS_PI 3.14159265358979323846
00037 
00039 #define GPS_L1_HZ 1.57542e9
00040 
00043 #define GPS_OMEGAE_DOT 7.2921151467e-5
00044 
00047 #define GPS_GM 3.986005e14
00048 
00051 #define GPS_C 299792458.0
00052 
00055 #define GPS_C_NO_VAC (GPS_C / 1.0002926)
00056 
00059 #define GPS_L1_LAMBDA (GPS_C / GPS_L1_HZ)
00060 
00063 #define GPS_L1_LAMBDA_NO_VAC (GPS_C_NO_VAC / GPS_L1_HZ)
00064 
00066 #define GPS_NOMINAL_RANGE 22.980e6
00067 
00069 #define GPS_CA_CHIPPING_RATE 1.023e6
00070 
00071 /* \} */
00072 
00073 /* \} */
00074 
00075 #endif /* LIBSWIFTNAV_CONSTANTS_H */
00076 
00077 


swiftnav
Author(s):
autogenerated on Sat Jun 8 2019 18:55:32