sbp-0.50.6: 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

obsGPSTime_tow :: Word32

Milliseconds since start of GPS week

obsGPSTime_wn :: 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

carrierPhase_i :: Int32

Carrier phase whole cycles

carrierPhase_f :: Word8

Carrier phase fractional part

data ObservationHeader Source

ObservationHeader.

Header of a GPS observation message.

Constructors

ObservationHeader 

Fields

observationHeader_t :: ObsGPSTime

GPS time of this observation

observationHeader_n_obs :: 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

packedObsContent_P :: Word32

Pseudorange observation

packedObsContent_L :: CarrierPhase

Carrier phase observation

packedObsContent_cn0 :: Word8

Carrier-to-Noise density

packedObsContent_lock :: Word16

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

packedObsContent_sid :: 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

msgObs_header :: ObservationHeader

Header of a GPS observation message

msgObs_obs :: [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 

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

msgEphemeris_tgd :: Double

Group delay differential between L1 and L2

msgEphemeris_c_rs :: Double

Amplitude of the sine harmonic correction term to the orbit radius

msgEphemeris_c_rc :: Double

Amplitude of the cosine harmonic correction term to the orbit radius

msgEphemeris_c_uc :: Double

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

msgEphemeris_c_us :: Double

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

msgEphemeris_c_ic :: Double

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

msgEphemeris_c_is :: Double

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

msgEphemeris_dn :: Double

Mean motion difference

msgEphemeris_m0 :: Double

Mean anomaly at reference time

msgEphemeris_ecc :: Double

Eccentricity of satellite orbit

msgEphemeris_sqrta :: Double

Square root of the semi-major axis of orbit

msgEphemeris_omega0 :: Double

Longitude of ascending node of orbit plane at weekly epoch

msgEphemeris_omegadot :: Double

Rate of right ascension

msgEphemeris_w :: Double

Argument of perigee

msgEphemeris_inc :: Double

Inclination

msgEphemeris_inc_dot :: Double

Inclination first derivative

msgEphemeris_af0 :: Double

Polynomial clock correction coefficient (clock bias)

msgEphemeris_af1 :: Double

Polynomial clock correction coefficient (clock drift)

msgEphemeris_af2 :: Double

Polynomial clock correction coefficient (rate of clock drift)

msgEphemeris_toe_tow :: Double

Time of week

msgEphemeris_toe_wn :: Word16

Week number

msgEphemeris_toc_tow :: Double

Clock reference time of week

msgEphemeris_toc_wn :: Word16

Clock reference week number

msgEphemeris_valid :: Word8

Is valid?

msgEphemeris_healthy :: Word8

Satellite is healthy?

msgEphemeris_sid :: 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

msgEphemeris_iode :: Word8

Issue of ephemeris data

msgEphemeris_iodc :: Word16

Issue of clock data

msgEphemeris_reserved :: Word32

Reserved field

data MsgEphemerisDepA Source

SBP class for message MSG_EPHEMERIS_DEP_A (0x001A).

Deprecated.

Constructors

MsgEphemerisDepA 

Fields

msgEphemerisDepA_tgd :: Double

Group delay differential between L1 and L2

msgEphemerisDepA_c_rs :: Double

Amplitude of the sine harmonic correction term to the orbit radius

msgEphemerisDepA_c_rc :: Double

Amplitude of the cosine harmonic correction term to the orbit radius

msgEphemerisDepA_c_uc :: Double

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

msgEphemerisDepA_c_us :: Double

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

msgEphemerisDepA_c_ic :: Double

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

msgEphemerisDepA_c_is :: Double

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

msgEphemerisDepA_dn :: Double

Mean motion difference

msgEphemerisDepA_m0 :: Double

Mean anomaly at reference time

msgEphemerisDepA_ecc :: Double

Eccentricity of satellite orbit

msgEphemerisDepA_sqrta :: Double

Square root of the semi-major axis of orbit

msgEphemerisDepA_omega0 :: Double

Longitude of ascending node of orbit plane at weekly epoch

msgEphemerisDepA_omegadot :: Double

Rate of right ascension

msgEphemerisDepA_w :: Double

Argument of perigee

msgEphemerisDepA_inc :: Double

Inclination

msgEphemerisDepA_inc_dot :: Double

Inclination first derivative

msgEphemerisDepA_af0 :: Double

Polynomial clock correction coefficient (clock bias)

msgEphemerisDepA_af1 :: Double

Polynomial clock correction coefficient (clock drift)

msgEphemerisDepA_af2 :: Double

Polynomial clock correction coefficient (rate of clock drift)

msgEphemerisDepA_toe_tow :: Double

Time of week

msgEphemerisDepA_toe_wn :: Word16

Week number

msgEphemerisDepA_toc_tow :: Double

Clock reference time of week

msgEphemerisDepA_toc_wn :: Word16

Clock reference week number

msgEphemerisDepA_valid :: Word8

Is valid?

msgEphemerisDepA_healthy :: Word8

Satellite is healthy?

msgEphemerisDepA_prn :: Word8

PRN being tracked

data MsgEphemerisDepB Source

SBP class for message MSG_EPHEMERIS_DEP_B (0x0046).

Deprecated.

Constructors

MsgEphemerisDepB 

Fields

msgEphemerisDepB_tgd :: Double

Group delay differential between L1 and L2

msgEphemerisDepB_c_rs :: Double

Amplitude of the sine harmonic correction term to the orbit radius

msgEphemerisDepB_c_rc :: Double

Amplitude of the cosine harmonic correction term to the orbit radius

msgEphemerisDepB_c_uc :: Double

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

msgEphemerisDepB_c_us :: Double

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

msgEphemerisDepB_c_ic :: Double

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

msgEphemerisDepB_c_is :: Double

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

msgEphemerisDepB_dn :: Double

Mean motion difference

msgEphemerisDepB_m0 :: Double

Mean anomaly at reference time

msgEphemerisDepB_ecc :: Double

Eccentricity of satellite orbit

msgEphemerisDepB_sqrta :: Double

Square root of the semi-major axis of orbit

msgEphemerisDepB_omega0 :: Double

Longitude of ascending node of orbit plane at weekly epoch

msgEphemerisDepB_omegadot :: Double

Rate of right ascension

msgEphemerisDepB_w :: Double

Argument of perigee

msgEphemerisDepB_inc :: Double

Inclination

msgEphemerisDepB_inc_dot :: Double

Inclination first derivative

msgEphemerisDepB_af0 :: Double

Polynomial clock correction coefficient (clock bias)

msgEphemerisDepB_af1 :: Double

Polynomial clock correction coefficient (clock drift)

msgEphemerisDepB_af2 :: Double

Polynomial clock correction coefficient (rate of clock drift)

msgEphemerisDepB_toe_tow :: Double

Time of week

msgEphemerisDepB_toe_wn :: Word16

Week number

msgEphemerisDepB_toc_tow :: Double

Clock reference time of week

msgEphemerisDepB_toc_wn :: Word16

Clock reference week number

msgEphemerisDepB_valid :: Word8

Is valid?

msgEphemerisDepB_healthy :: Word8

Satellite is healthy?

msgEphemerisDepB_prn :: Word8

PRN being tracked

msgEphemerisDepB_iode :: Word8

Issue of ephemeris data

data PackedObsContentDepA Source

PackedObsContentDepA.

Deprecated.

Constructors

PackedObsContentDepA 

Fields

packedObsContentDepA_P :: Word32

Pseudorange observation

packedObsContentDepA_L :: CarrierPhase

Carrier phase observation

packedObsContentDepA_cn0 :: Word8

Carrier-to-Noise density

packedObsContentDepA_lock :: Word16

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

packedObsContentDepA_prn :: Word8

PRN-1 identifier of the satellite signal

data MsgObsDepA Source

SBP class for message MSG_OBS_DEP_A (0x0045).

Deprecated.

Constructors

MsgObsDepA 

Fields

msgObsDepA_header :: ObservationHeader

Header of a GPS observation message

msgObsDepA_obs :: [PackedObsContentDepA]

Pseudorange and carrier phase observation for a satellite being tracked.