1   /* Copyright 2002-2025 CS GROUP
2    * Licensed to CS GROUP (CS) under one or more
3    * contributor license agreements.  See the NOTICE file distributed with
4    * this work for additional information regarding copyright ownership.
5    * CS licenses this file to You under the Apache License, Version 2.0
6    * (the "License"); you may not use this file except in compliance with
7    * the License.  You may obtain a copy of the License at
8    *
9    *   http://www.apache.org/licenses/LICENSE-2.0
10   *
11   * Unless required by applicable law or agreed to in writing, software
12   * distributed under the License is distributed on an "AS IS" BASIS,
13   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   * See the License for the specific language governing permissions and
15   * limitations under the License.
16   */
17  package org.orekit.propagation.analytical.gnss.data;
18  
19  /**
20   * Set of useful physical constants used in Global Navigation Satellite Systems (GNSS).
21  
22   * @author Bryan Cazabonne
23   * @author Pascal Parraud
24   */
25  public interface GNSSConstants {
26  
27      /** Value of Pi for conversion from semicircles to radians in GNSS. */
28      double GNSS_PI = 3.1415926535898;
29  
30      /** Duration of the GNSS week in seconds. */
31      double GNSS_WEEK_IN_SECONDS = 604800.;
32  
33      /** Earth's universal gravitational parameter for Beidou user in m³/s². */
34      double BEIDOU_MU = 3.986004418e+14;
35  
36      /** Number of weeks in the Beidou cycle. */
37      int BEIDOU_WEEK_NB = 8192;
38  
39      /** Value of the earth's rotation rate in rad/s for Beidou user. */
40      double BEIDOU_AV = 7.2921150e-5;
41  
42      /** Earth's universal gravitational parameter for Galileo user in m³/s². */
43      double GALILEO_MU = 3.986004418e+14;
44  
45      /** Number of weeks in the Galileo cycle. */
46      int GALILEO_WEEK_NB = 4096;
47  
48      /** Value of the earth's rotation rate in rad/s for Galileo user. */
49      double GALILEO_AV = 7.2921151467e-5;
50  
51      /** Value of the Earth's universal gravitational parameter for GLONASS user in m³/s². */
52      double GLONASS_MU = 3.986004418e+14;
53  
54      /** Value of Pi for conversion from semicircles to radian. */
55      double GLONASS_PI = 3.14159265358979;
56  
57      /** WGS 84 value of the Earth's universal gravitational parameter for GPS user in m³/s². */
58      double GPS_MU = 3.986005e+14;
59  
60      /** Number of weeks in the GPS cycle. */
61      int GPS_WEEK_NB = 1024;
62  
63      /** Value of the earth's rotation rate in rad/s for GPS user. */
64      double GPS_AV = 7.2921151467e-5;
65  
66      /** WGS 84 value of the Earth's universal gravitational parameter for NavIC user in m³/s². */
67      double NAVIC_MU = 3.986005e+14;
68  
69      /** Number of weeks in the NavIC cycle. */
70      int NAVIC_WEEK_NB = 1024;
71  
72      /** Value of the earth's rotation rate in rad/s for NavIC user. */
73      double NAVIC_AV = 7.2921151467e-5;
74  
75      /** WGS 84 value of the Earth's universal gravitational parameter for QZSS user in m³/s². */
76      double QZSS_MU = 3.986005e+14;
77  
78      /** Number of weeks in the QZSS cycle. */
79      int QZSS_WEEK_NB = 1024;
80  
81      /** Value of the earth's rotation rate in rad/s for QZSS user. */
82      double QZSS_AV = 7.2921151467e-5;
83  
84      /** WGS 84 value of the Earth's universal gravitational parameter for SBAS user in m³/s². */
85      double SBAS_MU = 3.986005e+14;
86  
87  }