sbp-0.52.2: SwiftNav's SBP Library

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

SwiftNav.SBP.Navigation

Description

Geodetic navigation messages reporting GPS time, position, velocity, and baseline position solutions. For position solutions, these messages define several different position solutions: single-point (SPP), RTK, and pseudo- absolute position solutions. The SPP is the standalone, absolute GPS position solution using only a single receiver. The RTK solution is the differential GPS solution, which can use either a fixed/integer or floating carrier phase ambiguity. The pseudo-absolute position solution uses a user- provided, well-surveyed base station position (if available) and the RTK solution in tandem.

Synopsis

Documentation

data MsgGpsTime Source

SBP class for message MSG_GPS_TIME (0x0100).

This message reports the GPS time, representing the time since the GPS epoch began on midnight January 6, 1980 UTC. GPS time counts the weeks and seconds of the week. The weeks begin at the Saturday/Sunday transition. GPS week 0 began at the beginning of the GPS time scale. Within each week number, the GPS time of the week is between between 0 and 604800 seconds (=60*60*24*7). Note that GPS time does not accumulate leap seconds, and as of now, has a small offset from UTC. In a message stream, this message precedes a set of other navigation messages referenced to the same time (but lacking the ns field) and indicates a more precise time of these messages.

Constructors

MsgGpsTime 

Fields

_msgGpsTime_wn :: Word16

GPS week number

_msgGpsTime_tow :: Word32

GPS time of week rounded to the nearest millisecond

_msgGpsTime_ns :: Int32

Nanosecond residual of millisecond-rounded TOW (ranges from -500000 to 500000)

_msgGpsTime_flags :: Word8

Status flags (reserved)

data MsgDops Source

SBP class for message MSG_DOPS (0x0206).

This dilution of precision (DOP) message describes the effect of navigation satellite geometry on positional measurement precision.

Constructors

MsgDops 

Fields

_msgDops_tow :: Word32

GPS Time of Week

_msgDops_gdop :: Word16

Geometric Dilution of Precision

_msgDops_pdop :: Word16

Position Dilution of Precision

_msgDops_tdop :: Word16

Time Dilution of Precision

_msgDops_hdop :: Word16

Horizontal Dilution of Precision

_msgDops_vdop :: Word16

Vertical Dilution of Precision

data MsgPosEcef Source

SBP class for message MSG_POS_ECEF (0x0200).

The position solution message reports absolute Earth Centered Earth Fixed (ECEF) coordinates and the status (single point vs pseudo-absolute RTK) of the position solution. If the rover receiver knows the surveyed position of the base station and has an RTK solution, this reports a pseudo-absolute position solution using the base station position and the rover's RTK baseline vector. The full GPS time is given by the preceding MSG_GPS_TIME with the matching time-of-week (tow).

Constructors

MsgPosEcef 

Fields

_msgPosEcef_tow :: Word32

GPS Time of Week

_msgPosEcef_x :: Double

ECEF X coordinate

_msgPosEcef_y :: Double

ECEF Y coordinate

_msgPosEcef_z :: Double

ECEF Z coordinate

_msgPosEcef_accuracy :: Word16

Position accuracy estimate (not implemented). Defaults to 0.

_msgPosEcef_n_sats :: Word8

Number of satellites used in solution

_msgPosEcef_flags :: Word8

Status flags

data MsgPosLlh Source

SBP class for message MSG_POS_LLH (0x0201).

This position solution message reports the absolute geodetic coordinates and the status (single point vs pseudo-absolute RTK) of the position solution. If the rover receiver knows the surveyed position of the base station and has an RTK solution, this reports a pseudo-absolute position solution using the base station position and the rover's RTK baseline vector. The full GPS time is given by the preceding MSG_GPS_TIME with the matching time-of-week (tow).

Constructors

MsgPosLlh 

Fields

_msgPosLlh_tow :: Word32

GPS Time of Week

_msgPosLlh_lat :: Double

Latitude

_msgPosLlh_lon :: Double

Longitude

_msgPosLlh_height :: Double

Height

_msgPosLlh_h_accuracy :: Word16

Horizontal position accuracy estimate (not implemented). Defaults to 0.

_msgPosLlh_v_accuracy :: Word16

Vertical position accuracy estimate (not implemented). Defaults to 0.

_msgPosLlh_n_sats :: Word8

Number of satellites used in solution.

_msgPosLlh_flags :: Word8

Status flags

data MsgBaselineEcef Source

SBP class for message MSG_BASELINE_ECEF (0x0202).

This message reports the baseline solution in Earth Centered Earth Fixed (ECEF) coordinates. This baseline is the relative vector distance from the base station to the rover receiver. The full GPS time is given by the preceding MSG_GPS_TIME with the matching time-of-week (tow).

Constructors

MsgBaselineEcef 

Fields

_msgBaselineEcef_tow :: Word32

GPS Time of Week

_msgBaselineEcef_x :: Int32

Baseline ECEF X coordinate

_msgBaselineEcef_y :: Int32

Baseline ECEF Y coordinate

_msgBaselineEcef_z :: Int32

Baseline ECEF Z coordinate

_msgBaselineEcef_accuracy :: Word16

Position accuracy estimate (not implemented). Defaults to 0.

_msgBaselineEcef_n_sats :: Word8

Number of satellites used in solution

_msgBaselineEcef_flags :: Word8

Status flags

data MsgBaselineNed Source

SBP class for message MSG_BASELINE_NED (0x0203).

This message reports the baseline solution in North East Down (NED) coordinates. This baseline is the relative vector distance from the base station to the rover receiver, and NED coordinate system is defined at the local WGS84 tangent plane centered at the base station position. The full GPS time is given by the preceding MSG_GPS_TIME with the matching time-of- week (tow).

Constructors

MsgBaselineNed 

Fields

_msgBaselineNed_tow :: Word32

GPS Time of Week

_msgBaselineNed_n :: Int32

Baseline North coordinate

_msgBaselineNed_e :: Int32

Baseline East coordinate

_msgBaselineNed_d :: Int32

Baseline Down coordinate

_msgBaselineNed_h_accuracy :: Word16

Horizontal position accuracy estimate (not implemented). Defaults to 0.

_msgBaselineNed_v_accuracy :: Word16

Vertical position accuracy estimate (not implemented). Defaults to 0.

_msgBaselineNed_n_sats :: Word8

Number of satellites used in solution

_msgBaselineNed_flags :: Word8

Status flags

data MsgVelEcef Source

SBP class for message MSG_VEL_ECEF (0x0204).

This message reports the velocity in Earth Centered Earth Fixed (ECEF) coordinates. The full GPS time is given by the preceding MSG_GPS_TIME with the matching time-of-week (tow).

Constructors

MsgVelEcef 

Fields

_msgVelEcef_tow :: Word32

GPS Time of Week

_msgVelEcef_x :: Int32

Velocity ECEF X coordinate

_msgVelEcef_y :: Int32

Velocity ECEF Y coordinate

_msgVelEcef_z :: Int32

Velocity ECEF Z coordinate

_msgVelEcef_accuracy :: Word16

Velocity accuracy estimate (not implemented). Defaults to 0.

_msgVelEcef_n_sats :: Word8

Number of satellites used in solution

_msgVelEcef_flags :: Word8

Status flags (reserved)

data MsgVelNed Source

SBP class for message MSG_VEL_NED (0x0205).

This message reports the velocity in local North East Down (NED) coordinates. The NED coordinate system is defined as the local WGS84 tangent plane centered at the current position. The full GPS time is given by the preceding MSG_GPS_TIME with the matching time-of-week (tow).

Constructors

MsgVelNed 

Fields

_msgVelNed_tow :: Word32

GPS Time of Week

_msgVelNed_n :: Int32

Velocity North coordinate

_msgVelNed_e :: Int32

Velocity East coordinate

_msgVelNed_d :: Int32

Velocity Down coordinate

_msgVelNed_h_accuracy :: Word16

Horizontal velocity accuracy estimate (not implemented). Defaults to 0.

_msgVelNed_v_accuracy :: Word16

Vertical velocity accuracy estimate (not implemented). Defaults to 0.

_msgVelNed_n_sats :: Word8

Number of satellites used in solution

_msgVelNed_flags :: Word8

Status flags (reserved)

data MsgBaselineHeading Source

SBP class for message MSG_BASELINE_HEADING (0x0207).

This message reports the baseline heading pointing from the base station to the rover relative to True North. The full GPS time is given by the preceding MSG_GPS_TIME with the matching time-of-week (tow).

Constructors

MsgBaselineHeading 

Fields

_msgBaselineHeading_tow :: Word32

GPS Time of Week

_msgBaselineHeading_heading :: Word32

Heading

_msgBaselineHeading_n_sats :: Word8

Number of satellites used in solution

_msgBaselineHeading_flags :: Word8

Status flags