Struct sbp::messages::ssr::GridDefinitionHeaderDepA[][src]

pub struct GridDefinitionHeaderDepA {
    pub region_size_inverse: u8,
    pub area_width: u16,
    pub lat_nw_corner_enc: u16,
    pub lon_nw_corner_enc: u16,
    pub num_msgs: u8,
    pub seq_num: u8,
}
Expand description

Defines the grid for MSG_SSR_GRIDDED_CORRECTION messages

Defines the grid for MSG_SSR_GRIDDED_CORRECTION messages. Also includes an RLE encoded validity list.

Fields

region_size_inverse: u8

region_size (deg) = 10 / region_size_inverse 0 is an invalid value.

area_width: u16

grid height (deg) = grid width (deg) = area_width / region_size 0 is an invalid value.

lat_nw_corner_enc: u16

North-West corner latitude (deg) = region_size * lat_nw_corner_enc - 90

lon_nw_corner_enc: u16

North-West corner longitude (deg) = region_size * lon_nw_corner_enc - 180

num_msgs: u8

Number of messages in the dataset

seq_num: u8

Position of this message in the dataset

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.