pub struct MsgSsrTileDefinitionDep {
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_DEP 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
sourceimpl Clone for MsgSsrTileDefinitionDep
impl Clone for MsgSsrTileDefinitionDep
sourcefn clone(&self) -> MsgSsrTileDefinitionDep
fn clone(&self) -> MsgSsrTileDefinitionDep
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl ConcreteMessage for MsgSsrTileDefinitionDep
impl ConcreteMessage for MsgSsrTileDefinitionDep
sourceconst MESSAGE_TYPE: u16 = 1_526u16
const MESSAGE_TYPE: u16 = 1_526u16
The message type.
sourceconst MESSAGE_NAME: &'static str = "MSG_SSR_TILE_DEFINITION_DEP"
const MESSAGE_NAME: &'static str = "MSG_SSR_TILE_DEFINITION_DEP"
The message name.
sourceimpl Debug for MsgSsrTileDefinitionDep
impl Debug for MsgSsrTileDefinitionDep
sourceimpl From<MsgSsrTileDefinitionDep> for Sbp
impl From<MsgSsrTileDefinitionDep> for Sbp
sourcefn from(msg: MsgSsrTileDefinitionDep) -> Self
fn from(msg: MsgSsrTileDefinitionDep) -> Self
Converts to this type from the input type.
sourceimpl SbpMessage for MsgSsrTileDefinitionDep
impl SbpMessage for MsgSsrTileDefinitionDep
sourcefn message_name(&self) -> &'static str
fn message_name(&self) -> &'static str
Get the message name.
sourcefn message_type(&self) -> u16
fn message_type(&self) -> u16
Get the message type.
sourcefn set_sender_id(&mut self, new_id: u16)
fn set_sender_id(&mut self, new_id: u16)
Set the sender id.
sourcefn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Number of bytes this message will take on the wire.
Auto Trait Implementations
impl RefUnwindSafe for MsgSsrTileDefinitionDep
impl Send for MsgSsrTileDefinitionDep
impl Sync for MsgSsrTileDefinitionDep
impl Unpin for MsgSsrTileDefinitionDep
impl UnwindSafe for MsgSsrTileDefinitionDep
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more