GalileoOrbitalElements.java

  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. /** This interface provides the minimal set of orbital elements needed by the {@link GalileoPropagator}.
  19.  *
  20.  * @see <a href="https://www.gsc-europa.eu/system/files/galileo_documents/Galileo-OS-SIS-ICD.pdf">
  21.  *         Galileo Interface Control Document</a>
  22.  *
  23.  * @author Bryan Cazabonne
  24.  * @since 10.0
  25.  *
  26.  */
  27. public interface GalileoOrbitalElements extends GNSSOrbitalElements {

  28.     // Constants
  29.     /** Earth's universal gravitational parameter for Galileo user in m³/s². */
  30.     double GALILEO_MU = 3.986004418e+14;

  31.     /** Value of Pi for conversion from semicircles to radian. */
  32.     double GALILEO_PI = 3.1415926535898;

  33.     /** Duration of the Galileo week in seconds. */
  34.     double GALILEO_WEEK_IN_SECONDS = 604800.;

  35.     /** Number of weeks in the Galileo cycle. */
  36.     int GALILEO_WEEK_NB = 4096;

  37.     /**
  38.      * Gets the Issue Of Data (IOD).
  39.      *
  40.      * @return the Issue Of Data (IOD)
  41.      */
  42.     default int getIODNav() {
  43.         return 0;
  44.     }

  45.     /**
  46.      * Gets the estimated broadcast group delay differential.
  47.      *
  48.      * @return the estimated broadcast group delay differential(s)
  49.      */
  50.     default double getBGD() {
  51.         return 0.0;
  52.     }

  53.     /**
  54.      * Gets the E1/E5a broadcast group delay.
  55.      *
  56.      * @return the E1/E5a broadcast group delay (s)
  57.      */
  58.     default double getBGDE1E5a() {
  59.         return 0.0;
  60.     }

  61.     /**
  62.      * Gets the Broadcast Group Delay E5b/E1.
  63.      *
  64.      * @return the Broadcast Group Delay E5b/E1 (s)
  65.      */
  66.     default double getBGDE5bE1() {
  67.         return 0.0;
  68.     }

  69. }