constants.h File Reference
Detailed Description
GNSS core 'c' function library: Contains constants.
- Author:
- Glenn D. MacGougan (GDM)
- Date:
- 2007-11-29
- Since:
- 2005-07-30
"LICENSE INFORMATION"
Copyright (c) 2007, refer to 'author' doxygen tags
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
- The name(s) of the contributor(s) may not be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Definition in file constants.h.
Go to the source code of this file.
|
Defines |
#define | PI (3.1415926535897932384626433832795) |
| better value
|
#define | TWOPI (6.283185307179586476925286766559) |
| 2.0*PI
|
#define | HALFPI (1.5707963267948966192313216916398) |
| PI/2.0.
|
#define | DEG2RAD (0.017453292519943295769236907684886) |
| PI/180.0.
|
#define | RAD2DEG (57.295779513082320876798154814105) |
| 180.0/PI
|
#define | SECONDS_IN_WEEK (604800.0) |
| [s]
|
#define | LIGHTSPEED (299792458.0) |
| light speed constant defined in ICD-GPS-200C p. 89 [m/s]
|
#define | ONE_MS_IN_M (299792.4580) |
| 1 millisecond * light speed constant defined in ICD-GPS-200C p. 89 [m/s]
|
#define | GPS_FREQUENCYL1 (1575.42e06) |
| [Hz]
|
#define | GPS_FREQUENCYL2 (1227.60e06) |
| [Hz]
|
#define | GPS_WAVELENGTHL1 (0.19029367279836488047631742646405) |
| [m]
|
#define | GPS_WAVELENGTHL2 (0.24421021342456825) |
| [m]
|
Define Documentation
#define DEG2RAD (0.017453292519943295769236907684886) |
#define GPS_FREQUENCYL1 (1575.42e06) |
#define GPS_FREQUENCYL2 (1227.60e06) |
#define GPS_WAVELENGTHL1 (0.19029367279836488047631742646405) |
#define GPS_WAVELENGTHL2 (0.24421021342456825) |
#define HALFPI (1.5707963267948966192313216916398) |
#define LIGHTSPEED (299792458.0) |
light speed constant defined in ICD-GPS-200C p. 89 [m/s]
Definition at line 75 of file constants.h.
#define ONE_MS_IN_M (299792.4580) |
1 millisecond * light speed constant defined in ICD-GPS-200C p. 89 [m/s]
Definition at line 79 of file constants.h.
#define PI (3.1415926535897932384626433832795) |
#define RAD2DEG (57.295779513082320876798154814105) |
#define SECONDS_IN_WEEK (604800.0) |
#define TWOPI (6.283185307179586476925286766559) |