GPSOrbitalElements.java
/* Copyright 2002-2019 CS Systèmes d'Information
* Licensed to CS Systèmes d'Information (CS) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* CS licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.orekit.propagation.analytical.gnss;
/** This interface provides the minimal set of orbital elements needed by the {@link GPSPropagator}.
*
* @see <a href="http://www.gps.gov/technical/icwg/IS-GPS-200H.pdf">GPS Interface Specification</a>
* @author Pascal Parraud
* @since 8.0
*
*/
public interface GPSOrbitalElements extends GNSSOrbitalElements {
// Constants
/** WGS 84 value of the Earth's universal gravitational parameter for GPS user in m³/s². */
double GPS_MU = 3.986005e+14;
/** Value of Pi for conversion from semicircles to radian. */
double GPS_PI = 3.1415926535898;
/** Duration of the GPS week in seconds. */
double GPS_WEEK_IN_SECONDS = 604800.;
/** Number of weeks in the GPS cycle. */
int GPS_WEEK_NB = 1024;
/**
* Gets the Issue Of Data Clock (IODC).
*
* @return the Issue Of Data Clock (IODC)
* @since 9.3
*/
default int getIODC() {
return 0;
}
/**
* Gets the Issue Of Data Ephemeris (IODE).
*
* @return the Issue Of Data Ephemeris (IODE)
* @since 9.3
*/
default int getIODE() {
return 0;
}
/**
* Gets the estimated group delay differential TGD for L1-L2 correction.
*
* @return the estimated group delay differential TGD for L1-L2 correction (s)
* @since 9.3
*/
default double getTGD() {
return 0.0;
}
}