Class Rtcm1019Data
- java.lang.Object
-
- org.orekit.gnss.metric.messages.rtcm.RtcmData
-
- org.orekit.gnss.metric.messages.rtcm.ephemeris.RtcmEphemerisData
-
- org.orekit.gnss.metric.messages.rtcm.ephemeris.Rtcm1019Data
-
public class Rtcm1019Data extends RtcmEphemerisData
Container for RTCM 1019 data.- Since:
- 11.0
- Author:
- Bryan Cazabonne
-
-
Constructor Summary
Constructors Constructor Description Rtcm1019Data()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getGpsCodeOnL2()
Get the GPS code on L2.int
getGpsFitInterval()
Get the GPS fit interval.boolean
getGpsL2PDataFlag()
Get the GPS L2 P-Code data flag.GPSLegacyNavigationMessage
getGpsNavigationMessage()
Get the GPS navigation message corresponding to the current RTCM data.GPSLegacyNavigationMessage
getGpsNavigationMessage(TimeScales timeScales)
Get the GPS navigation message corresponding to the current RTCM data.double
getGpsToc()
Get the GPS time of clock.void
setGpsCodeOnL2(int gpsCodeOnL2)
Set the GPS code on L2.void
setGpsFitInterval(int gpsFitInterval)
Set the GPS fit interval.void
setGpsL2PDataFlag(boolean gpsL2PDataFlag)
Set the GPS L2 P-code data flag.void
setGpsNavigationMessage(GPSLegacyNavigationMessage gpsNavigationMessage)
Set the GPS navigation message.void
setGpsToc(double toc)
Set the GPS time of clock.-
Methods inherited from class org.orekit.gnss.metric.messages.rtcm.ephemeris.RtcmEphemerisData
getAccuracyProvider, getSatelliteID, setAccuracyProvider, setSatelliteID
-
-
-
-
Method Detail
-
getGpsNavigationMessage
@DefaultDataContext public GPSLegacyNavigationMessage getGpsNavigationMessage()
Get the GPS navigation message corresponding to the current RTCM data.This object can be used to initialize a
GNSSPropagator
This method uses the
DataContext.getDefault()
to initialize the time scales used to configure the reference epochs of the navigation message.- Returns:
- the GPS navigation message
-
getGpsNavigationMessage
public GPSLegacyNavigationMessage getGpsNavigationMessage(TimeScales timeScales)
Get the GPS navigation message corresponding to the current RTCM data.This object can be used to initialize a
GNSSPropagator
When calling this method, the reference epochs of the navigation message (i.e. ephemeris and clock epochs) are initialized using the provided time scales.
- Parameters:
timeScales
- time scales to use for initializing epochs- Returns:
- the GPS navigation message
-
setGpsNavigationMessage
public void setGpsNavigationMessage(GPSLegacyNavigationMessage gpsNavigationMessage)
Set the GPS navigation message.- Parameters:
gpsNavigationMessage
- the GPS navigation message to set
-
getGpsToc
public double getGpsToc()
Get the GPS time of clock.The GPS time of clock is given in seconds since the beginning of the GPS week.
- Returns:
- the GPS time of clock
-
setGpsToc
public void setGpsToc(double toc)
Set the GPS time of clock.- Parameters:
toc
- the time of clock to set
-
getGpsCodeOnL2
public int getGpsCodeOnL2()
Get the GPS code on L2.- 0: Reserved
- 1: P code on
- 2: C/A code on
- 3: L2C on
- Returns:
- the GPS code on L2
-
setGpsCodeOnL2
public void setGpsCodeOnL2(int gpsCodeOnL2)
Set the GPS code on L2.- Parameters:
gpsCodeOnL2
- the code to set
-
getGpsL2PDataFlag
public boolean getGpsL2PDataFlag()
Get the GPS L2 P-Code data flag.- Returns:
- true L2 P-Code NAV data ON
-
setGpsL2PDataFlag
public void setGpsL2PDataFlag(boolean gpsL2PDataFlag)
Set the GPS L2 P-code data flag.- Parameters:
gpsL2PDataFlag
- the flag to set
-
getGpsFitInterval
public int getGpsFitInterval()
Get the GPS fit interval.- Returns:
- the GPS fit interval
-
setGpsFitInterval
public void setGpsFitInterval(int gpsFitInterval)
Set the GPS fit interval.- Parameters:
gpsFitInterval
- the GPS fit interval to set
-
-