1 /* Copyright 2002-2020 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;
18
19 /** This interface provides the minimal set of orbital elements needed by the {@link GalileoPropagator}.
20 *
21 * @see <a href="https://www.gsc-europa.eu/system/files/galileo_documents/Galileo-OS-SIS-ICD.pdf">
22 * Galileo Interface Control Document</a>
23 *
24 * @author Bryan Cazabonne
25 * @since 10.0
26 *
27 */
28 public interface GalileoOrbitalElements extends GNSSOrbitalElements {
29
30 // Constants
31 /** Earth's universal gravitational parameter for Galileo user in m³/s². */
32 double GALILEO_MU = 3.986004418e+14;
33
34 /** Value of Pi for conversion from semicircles to radian. */
35 double GALILEO_PI = 3.1415926535898;
36
37 /** Duration of the Galileo week in seconds. */
38 double GALILEO_WEEK_IN_SECONDS = 604800.;
39
40 /** Number of weeks in the Galileo cycle. */
41 int GALILEO_WEEK_NB = 4096;
42
43 /**
44 * Gets the Issue Of Data (IOD).
45 *
46 * @return the Issue Of Data (IOD)
47 */
48 default int getIODNav() {
49 return 0;
50 }
51
52 /**
53 * Gets the estimated broadcast group delay differential.
54 *
55 * @return the estimated broadcast group delay differential(s)
56 */
57 default double getBGD() {
58 return 0.0;
59 }
60
61 /**
62 * Gets the E1/E5a broadcast group delay.
63 *
64 * @return the E1/E5a broadcast group delay (s)
65 */
66 default double getBGDE1E5a() {
67 return 0.0;
68 }
69
70 /**
71 * Gets the Broadcast Group Delay E5b/E1.
72 *
73 * @return the Broadcast Group Delay E5b/E1 (s)
74 */
75 default double getBGDE5bE1() {
76 return 0.0;
77 }
78
79 }