pub struct MsgSsrTileDefinitionDepA {
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
Deprecated
Deprecated.
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§
source§impl Clone for MsgSsrTileDefinitionDepA
impl Clone for MsgSsrTileDefinitionDepA
source§fn clone(&self) -> MsgSsrTileDefinitionDepA
fn clone(&self) -> MsgSsrTileDefinitionDepA
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl ConcreteMessage for MsgSsrTileDefinitionDepA
impl ConcreteMessage for MsgSsrTileDefinitionDepA
source§const MESSAGE_TYPE: u16 = 1_526u16
const MESSAGE_TYPE: u16 = 1_526u16
source§const MESSAGE_NAME: &'static str = "MSG_SSR_TILE_DEFINITION_DEP_A"
const MESSAGE_NAME: &'static str = "MSG_SSR_TILE_DEFINITION_DEP_A"
source§impl Debug for MsgSsrTileDefinitionDepA
impl Debug for MsgSsrTileDefinitionDepA
source§impl<'de> Deserialize<'de> for MsgSsrTileDefinitionDepA
impl<'de> Deserialize<'de> for MsgSsrTileDefinitionDepA
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
source§impl FriendlyName for MsgSsrTileDefinitionDepA
impl FriendlyName for MsgSsrTileDefinitionDepA
fn friendly_name() -> &'static str
source§impl From<MsgSsrTileDefinitionDepA> for Sbp
impl From<MsgSsrTileDefinitionDepA> for Sbp
source§fn from(msg: MsgSsrTileDefinitionDepA) -> Self
fn from(msg: MsgSsrTileDefinitionDepA) -> Self
source§impl PartialEq for MsgSsrTileDefinitionDepA
impl PartialEq for MsgSsrTileDefinitionDepA
source§fn eq(&self, other: &MsgSsrTileDefinitionDepA) -> bool
fn eq(&self, other: &MsgSsrTileDefinitionDepA) -> bool
self
and other
values to be equal, and is used
by ==
.