Struct sbp::messages::ssr::MsgSsrTileDefinition [−][src]
pub struct MsgSsrTileDefinition {
pub sender_id: Option<u16>,
pub tile_set_id: u16,
pub tile_id: u16,
pub corner_nw_lat: i16,
pub corner_nw_lon: i16,
pub spacing_lat: u16,
pub spacing_lon: u16,
pub rows: u16,
pub cols: u16,
pub bitmask: u64,
}
Expand description
Definition of a SSR atmospheric correction tile.
Provides the correction point coordinates for the atmospheric correction values in the MSG_SSR_STEC_CORRECTION and MSG_SSR_GRIDDED_CORRECTION messages.
Based on ETSI TS 137 355 V16.1.0 (LTE Positioning Protocol) information element GNSS-SSR-CorrectionPoints. SBP only supports gridded arrays of correction points, not lists of points.
Fields
sender_id: Option<u16>
The message sender_id
tile_set_id: u16
Unique identifier of the tile set this tile belongs to.
tile_id: u16
Unique identifier of this tile in the tile set. See GNSS-SSR-ArrayOfCorrectionPoints field correctionPointSetID.
corner_nw_lat: i16
North-West corner correction point latitude.
The relation between the latitude X in the range [-90, 90] and the coded number N is:
N = floor((X / 90) * 2^14)
See GNSS-SSR-ArrayOfCorrectionPoints field referencePointLatitude.
corner_nw_lon: i16
North-West corner correction point longitude.
The relation between the longitude X in the range [-180, 180] and the coded number N is:
N = floor((X / 180) * 2^15)
See GNSS-SSR-ArrayOfCorrectionPoints field referencePointLongitude.
spacing_lat: u16
Spacing of the correction points in the latitude direction.
See GNSS-SSR-ArrayOfCorrectionPoints field stepOfLatitude.
spacing_lon: u16
Spacing of the correction points in the longitude direction.
See GNSS-SSR-ArrayOfCorrectionPoints field stepOfLongitude.
rows: u16
Number of steps in the latitude direction.
See GNSS-SSR-ArrayOfCorrectionPoints field numberOfStepsLatitude.
cols: u16
Number of steps in the longitude direction.
See GNSS-SSR-ArrayOfCorrectionPoints field numberOfStepsLongitude.
bitmask: u64
Specifies the availability of correction data at the correction points in the array.
If a specific bit is enabled (set to 1), the correction is not available. Only the first rows * cols bits are used, the remainder are set to 0. If there are more then 64 correction points the remaining corrections are always available.
Starting with the northwest corner of the array (top left on a north oriented map) the correction points are enumerated with row precedence - first row west to east, second row west to east, until last row west to east - ending with the southeast corner of the array.
See GNSS-SSR-ArrayOfCorrectionPoints field bitmaskOfGrids but note the definition of the bits is inverted.
Trait Implementations
The message type.
The message name.
Performs the conversion.
Get the message name.
Get the message type.
Set the sender id.
Number of bytes this message will take on the wire.
Auto Trait Implementations
impl RefUnwindSafe for MsgSsrTileDefinition
impl Send for MsgSsrTileDefinition
impl Sync for MsgSsrTileDefinition
impl Unpin for MsgSsrTileDefinition
impl UnwindSafe for MsgSsrTileDefinition
Blanket Implementations
Mutably borrows from an owned value. Read more