sbp-0.50.3: SwiftNav's SBP Library

CopyrightCopyright (C) 2015 Swift Navigation, Inc.
LicenseLGPL-3
MaintainerMark Fine <dev@swiftnav.com>
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

SwiftNav.SBP.Observation

Description

Satellite observation messages from the device.

Synopsis

Documentation

data ObsGPSTime Source

ObsGPSTime.

A wire-appropriate GPS time, defined as the number of milliseconds since beginning of the week on the Saturday/Sunday transition.

Constructors

ObsGPSTime 

Fields

obsGPSTimeTow :: Word32

Milliseconds since start of GPS week

obsGPSTimeWn :: Word16

GPS week number

data CarrierPhase Source

CarrierPhase.

Carrier phase measurement in cycles represented as a 40-bit fixed point number with Q32.8 layout, i.e. 32-bits of whole cycles and 8-bits of fractional cycles.

Constructors

CarrierPhase 

Fields

carrierPhaseI :: Int32

Carrier phase whole cycles

carrierPhaseF :: Word8

Carrier phase fractional part

data ObservationHeader Source

ObservationHeader.

Header of a GPS observation message.

Constructors

ObservationHeader 

Fields

observationHeaderT :: ObsGPSTime

GPS time of this observation

observationHeaderNObs :: Word8

Total number of observations. First nibble is the size of the sequence (n), second nibble is the zero-indexed counter (ith packet of n)

data PackedObsContent Source

PackedObsContent.

Pseudorange and carrier phase observation for a satellite being tracked.

Constructors

PackedObsContent 

Fields

packedObsContentP :: Word32

Pseudorange observation

packedObsContentL :: CarrierPhase

Carrier phase observation

packedObsContentCn0 :: Word8

Carrier-to-Noise density

packedObsContentLock :: Word16

Lock indicator. This value changes whenever a satellite signal has lost and regained lock, indicating that the carrier phase ambiguity may have changed.

packedObsContentSid :: Word32

Signal identifier of the satellite signal - values 0x00 through 0x1F represent GPS PRNs 1 through 32 respectively (PRN-1 notation); other values reserved for future use.

data MsgObs Source

SBP class for message MSG_OBS (0x0043).

The GPS observations message reports all the raw pseudorange and carrier phase observations for the satellites being tracked by the device. Carrier phase observation here is represented as a 40-bit fixed point number with Q32.8 layout (i.e. 32-bits of whole cycles and 8-bits of fractional cycles).

Constructors

MsgObs 

Fields

msgObsHeader :: ObservationHeader

Header of a GPS observation message

msgObsObs :: [PackedObsContent]

Pseudorange and carrier phase observation for a satellite being tracked.

data MsgBasePos Source

SBP class for message MSG_BASE_POS (0x0044).

The base station position message is the position reported by the base station itself. It is used for pseudo-absolute RTK positioning, and is required to be a high-accuracy surveyed location of the base station. Any error here will result in an error in the pseudo-absolute position output.

Constructors

MsgBasePos 

Fields

msgBasePosLat :: Double

Latitude

msgBasePosLon :: Double

Longitude

msgBasePosHeight :: Double

Height

data MsgEphemeris Source

SBP class for message MSG_EPHEMERIS (0x0047).

The ephemeris message returns a set of satellite orbit parameters that is used to calculate GPS satellite position, velocity, and clock offset. Please see the Navstar GPS Space Segment/Navigation user interfaces (ICD-GPS-200, Table 20-III) for more details.

Constructors

MsgEphemeris 

Fields

msgEphemerisTgd :: Double

Group delay differential between L1 and L2

msgEphemerisCRs :: Double

Amplitude of the sine harmonic correction term to the orbit radius

msgEphemerisCRc :: Double

Amplitude of the cosine harmonic correction term to the orbit radius

msgEphemerisCUc :: Double

Amplitude of the cosine harmonic correction term to the argument of latitude

msgEphemerisCUs :: Double

Amplitude of the sine harmonic correction term to the argument of latitude

msgEphemerisCIc :: Double

Amplitude of the cosine harmonic correction term to the angle of inclination

msgEphemerisCIs :: Double

Amplitude of the sine harmonic correction term to the angle of inclination

msgEphemerisDn :: Double

Mean motion difference

msgEphemerisM0 :: Double

Mean anomaly at reference time

msgEphemerisEcc :: Double

Eccentricity of satellite orbit

msgEphemerisSqrta :: Double

Square root of the semi-major axis of orbit

msgEphemerisOmega0 :: Double

Longitude of ascending node of orbit plane at weekly epoch

msgEphemerisOmegadot :: Double

Rate of right ascension

msgEphemerisW :: Double

Argument of perigee

msgEphemerisInc :: Double

Inclination

msgEphemerisIncDot :: Double

Inclination first derivative

msgEphemerisAf0 :: Double

Polynomial clock correction coefficient (clock bias)

msgEphemerisAf1 :: Double

Polynomial clock correction coefficient (clock drift)

msgEphemerisAf2 :: Double

Polynomial clock correction coefficient (rate of clock drift)

msgEphemerisToeTow :: Double

Time of week

msgEphemerisToeWn :: Word16

Week number

msgEphemerisTocTow :: Double

Clock reference time of week

msgEphemerisTocWn :: Word16

Clock reference week number

msgEphemerisValid :: Word8

Is valid?

msgEphemerisHealthy :: Word8

Satellite is healthy?

msgEphemerisSid :: Word32

Signal identifier being tracked - values 0x00 through 0x1F represent GPS PRNs 1 through 32 respectively (PRN-1 notation); other values reserved for future use

msgEphemerisIode :: Word8

Issue of ephemeris data

msgEphemerisIodc :: Word16

Issue of clock data

msgEphemerisReserved :: Word32

Reserved field

data MsgEphemerisDepA Source

SBP class for message MSG_EPHEMERIS_DEP_A (0x001A).

Deprecated.

Constructors

MsgEphemerisDepA 

Fields

msgEphemerisDepATgd :: Double

Group delay differential between L1 and L2

msgEphemerisDepACRs :: Double

Amplitude of the sine harmonic correction term to the orbit radius

msgEphemerisDepACRc :: Double

Amplitude of the cosine harmonic correction term to the orbit radius

msgEphemerisDepACUc :: Double

Amplitude of the cosine harmonic correction term to the argument of latitude

msgEphemerisDepACUs :: Double

Amplitude of the sine harmonic correction term to the argument of latitude

msgEphemerisDepACIc :: Double

Amplitude of the cosine harmonic correction term to the angle of inclination

msgEphemerisDepACIs :: Double

Amplitude of the sine harmonic correction term to the angle of inclination

msgEphemerisDepADn :: Double

Mean motion difference

msgEphemerisDepAM0 :: Double

Mean anomaly at reference time

msgEphemerisDepAEcc :: Double

Eccentricity of satellite orbit

msgEphemerisDepASqrta :: Double

Square root of the semi-major axis of orbit

msgEphemerisDepAOmega0 :: Double

Longitude of ascending node of orbit plane at weekly epoch

msgEphemerisDepAOmegadot :: Double

Rate of right ascension

msgEphemerisDepAW :: Double

Argument of perigee

msgEphemerisDepAInc :: Double

Inclination

msgEphemerisDepAIncDot :: Double

Inclination first derivative

msgEphemerisDepAAf0 :: Double

Polynomial clock correction coefficient (clock bias)

msgEphemerisDepAAf1 :: Double

Polynomial clock correction coefficient (clock drift)

msgEphemerisDepAAf2 :: Double

Polynomial clock correction coefficient (rate of clock drift)

msgEphemerisDepAToeTow :: Double

Time of week

msgEphemerisDepAToeWn :: Word16

Week number

msgEphemerisDepATocTow :: Double

Clock reference time of week

msgEphemerisDepATocWn :: Word16

Clock reference week number

msgEphemerisDepAValid :: Word8

Is valid?

msgEphemerisDepAHealthy :: Word8

Satellite is healthy?

msgEphemerisDepAPrn :: Word8

PRN being tracked

data MsgEphemerisDepB Source

SBP class for message MSG_EPHEMERIS_DEP_B (0x0046).

Deprecated.

Constructors

MsgEphemerisDepB 

Fields

msgEphemerisDepBTgd :: Double

Group delay differential between L1 and L2

msgEphemerisDepBCRs :: Double

Amplitude of the sine harmonic correction term to the orbit radius

msgEphemerisDepBCRc :: Double

Amplitude of the cosine harmonic correction term to the orbit radius

msgEphemerisDepBCUc :: Double

Amplitude of the cosine harmonic correction term to the argument of latitude

msgEphemerisDepBCUs :: Double

Amplitude of the sine harmonic correction term to the argument of latitude

msgEphemerisDepBCIc :: Double

Amplitude of the cosine harmonic correction term to the angle of inclination

msgEphemerisDepBCIs :: Double

Amplitude of the sine harmonic correction term to the angle of inclination

msgEphemerisDepBDn :: Double

Mean motion difference

msgEphemerisDepBM0 :: Double

Mean anomaly at reference time

msgEphemerisDepBEcc :: Double

Eccentricity of satellite orbit

msgEphemerisDepBSqrta :: Double

Square root of the semi-major axis of orbit

msgEphemerisDepBOmega0 :: Double

Longitude of ascending node of orbit plane at weekly epoch

msgEphemerisDepBOmegadot :: Double

Rate of right ascension

msgEphemerisDepBW :: Double

Argument of perigee

msgEphemerisDepBInc :: Double

Inclination

msgEphemerisDepBIncDot :: Double

Inclination first derivative

msgEphemerisDepBAf0 :: Double

Polynomial clock correction coefficient (clock bias)

msgEphemerisDepBAf1 :: Double

Polynomial clock correction coefficient (clock drift)

msgEphemerisDepBAf2 :: Double

Polynomial clock correction coefficient (rate of clock drift)

msgEphemerisDepBToeTow :: Double

Time of week

msgEphemerisDepBToeWn :: Word16

Week number

msgEphemerisDepBTocTow :: Double

Clock reference time of week

msgEphemerisDepBTocWn :: Word16

Clock reference week number

msgEphemerisDepBValid :: Word8

Is valid?

msgEphemerisDepBHealthy :: Word8

Satellite is healthy?

msgEphemerisDepBPrn :: Word8

PRN being tracked

msgEphemerisDepBIode :: Word8

Issue of ephemeris data

data PackedObsContentDepA Source

PackedObsContentDepA.

Deprecated.

Constructors

PackedObsContentDepA 

Fields

packedObsContentDepAP :: Word32

Pseudorange observation

packedObsContentDepAL :: CarrierPhase

Carrier phase observation

packedObsContentDepACn0 :: Word8

Carrier-to-Noise density

packedObsContentDepALock :: Word16

Lock indicator. This value changes whenever a satellite signal has lost and regained lock, indicating that the carrier phase ambiguity may have changed.

packedObsContentDepAPrn :: Word8

PRN-1 identifier of the satellite signal

data MsgObsDepA Source

SBP class for message MSG_OBS_DEP_A (0x0045).

Deprecated.

Constructors

MsgObsDepA 

Fields

msgObsDepAHeader :: ObservationHeader

Header of a GPS observation message

msgObsDepAObs :: [PackedObsContentDepA]

Pseudorange and carrier phase observation for a satellite being tracked.