sbp-0.50.9: 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.