IRNSSOrbitalElements.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 IRNSSPropagator}.
  19. *
  20. * @see "Indian Regiona Navigation Satellite System, Signal In Space ICD
  21. *       for standard positioning service, version 1.1"
  22. *
  23. * @author Bryan Cazabonne
  24. * @since 10.1
  25. *
  26. */
  27. public interface IRNSSOrbitalElements extends GNSSOrbitalElements {

  28.     /** WGS 84 value of the Earth's universal gravitational parameter for IRNSS user in m³/s². */
  29.     double IRNSS_MU = 3.986005e+14;

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

  32.     /** Duration of the IRNSS week in seconds. */
  33.     double IRNSS_WEEK_IN_SECONDS = 604800.;

  34.     /** Number of weeks in the IRNSS cycle. */
  35.     int IRNSS_WEEK_NB = 1024;

  36.     /**
  37.      * Gets the Issue Of Data Ephemeris and Clock (IODEC).
  38.      *
  39.      * @return the Issue Of Data Ephemeris and Clock (IODEC)
  40.      */
  41.     default int getIODEC() {
  42.         return 0;
  43.     }

  44.     /**
  45.      * Gets the estimated group delay differential TGD for L5-S correction.
  46.      *
  47.      * @return the estimated group delay differential TGD for L5-S correction (s)
  48.      */
  49.     default double getTGD() {
  50.         return 0.0;
  51.     }

  52. }