Struct sbp::messages::integrity::msg_ssr_flag_high_level::MsgSsrFlagHighLevel
source · pub struct MsgSsrFlagHighLevel {Show 15 fields
pub sender_id: Option<u16>,
pub obs_time: GpsTimeSec,
pub corr_time: GpsTimeSec,
pub ssr_sol_id: u8,
pub tile_set_id: u16,
pub tile_id: u16,
pub chain_id: u8,
pub use_gps_sat: u8,
pub use_gal_sat: u8,
pub use_bds_sat: u8,
pub reserved: [u8; 6],
pub use_tropo_grid_points: u8,
pub use_iono_grid_points: u8,
pub use_iono_tile_sat_los: u8,
pub use_iono_grid_point_sat_los: u8,
}
Expand description
High level integrity flags
Integrity monitoring flags for multiple aggregated elements. An element could be a satellite, SSR grid point, or SSR tile. A group of aggregated elements being monitored for integrity could refer to:
-
Satellites in a particular {GPS, GAL, BDS} constellation.
-
Satellites in the line-of-sight of a particular SSR tile.
-
Satellites in the line-of-sight of a particular SSR grid point.
The integrity usage for a group of aggregated elements varies according to the integrity flag of the satellites comprising that group.
SSR_INTEGRITY_USAGE_NOMINAL: All satellites received passed the integrity check and have flag INTEGRITY_FLAG_OK.
SSR_INTEGRITY_USAGE_WARNING: A limited number of elements in the group failed the integrity check. Refer to more granular integrity messages for details on the specific failing elements.
SSR_INTEGRITY_USAGE_ALERT: Most elements in the group failed the integrity check, do not use for positioning.
SSR_INTEGRITY_USAGE_NOT_MONITORED: Unable to verify the integrity flag of elements in the group.
Fields§
§sender_id: Option<u16>
The message sender_id
obs_time: GpsTimeSec
GNSS reference time of the observation used to generate the flag.
corr_time: GpsTimeSec
GNSS reference time of the correction associated to the flag.
ssr_sol_id: u8
SSR Solution ID.
tile_set_id: u16
Unique identifier of the set this tile belongs to.
tile_id: u16
Unique identifier of this tile in the tile set.
chain_id: u8
Chain and type of flag.
use_gps_sat: u8
Use GPS satellites.
use_gal_sat: u8
Use GAL satellites.
use_bds_sat: u8
Use BDS satellites.
reserved: [u8; 6]
Reserved
use_tropo_grid_points: u8
Use tropo grid points.
use_iono_grid_points: u8
Use iono grid points.
use_iono_tile_sat_los: u8
Use iono tile satellite LoS.
use_iono_grid_point_sat_los: u8
Use iono grid point satellite LoS.
Implementations§
source§impl MsgSsrFlagHighLevel
impl MsgSsrFlagHighLevel
sourcepub fn use_gps_satellites(&self) -> Result<UseGpsSatellites, u8>
pub fn use_gps_satellites(&self) -> Result<UseGpsSatellites, u8>
Gets the UseGpsSatellites stored in the use_gps_sat
bitfield.
Returns Ok
if the bitrange contains a known UseGpsSatellites
variant.
Otherwise the value of the bitrange is returned as an Err(u8)
. This may be because of a malformed message,
or because new variants of UseGpsSatellites
were added.
sourcepub fn set_use_gps_satellites(&mut self, use_gps_satellites: UseGpsSatellites)
pub fn set_use_gps_satellites(&mut self, use_gps_satellites: UseGpsSatellites)
Set the bitrange corresponding to the UseGpsSatellites of the use_gps_sat
bitfield.
sourcepub fn use_gal_satellites(&self) -> Result<UseGalSatellites, u8>
pub fn use_gal_satellites(&self) -> Result<UseGalSatellites, u8>
Gets the UseGalSatellites stored in the use_gal_sat
bitfield.
Returns Ok
if the bitrange contains a known UseGalSatellites
variant.
Otherwise the value of the bitrange is returned as an Err(u8)
. This may be because of a malformed message,
or because new variants of UseGalSatellites
were added.
sourcepub fn set_use_gal_satellites(&mut self, use_gal_satellites: UseGalSatellites)
pub fn set_use_gal_satellites(&mut self, use_gal_satellites: UseGalSatellites)
Set the bitrange corresponding to the UseGalSatellites of the use_gal_sat
bitfield.
sourcepub fn use_bds_satellites(&self) -> Result<UseBdsSatellites, u8>
pub fn use_bds_satellites(&self) -> Result<UseBdsSatellites, u8>
Gets the UseBdsSatellites stored in the use_bds_sat
bitfield.
Returns Ok
if the bitrange contains a known UseBdsSatellites
variant.
Otherwise the value of the bitrange is returned as an Err(u8)
. This may be because of a malformed message,
or because new variants of UseBdsSatellites
were added.
sourcepub fn set_use_bds_satellites(&mut self, use_bds_satellites: UseBdsSatellites)
pub fn set_use_bds_satellites(&mut self, use_bds_satellites: UseBdsSatellites)
Set the bitrange corresponding to the UseBdsSatellites of the use_bds_sat
bitfield.
sourcepub fn use_tropo_grid_points(&self) -> Result<UseTropoGridPoints, u8>
pub fn use_tropo_grid_points(&self) -> Result<UseTropoGridPoints, u8>
Gets the UseTropoGridPoints stored in the use_tropo_grid_points
bitfield.
Returns Ok
if the bitrange contains a known UseTropoGridPoints
variant.
Otherwise the value of the bitrange is returned as an Err(u8)
. This may be because of a malformed message,
or because new variants of UseTropoGridPoints
were added.
sourcepub fn set_use_tropo_grid_points(
&mut self,
use_tropo_grid_points: UseTropoGridPoints
)
pub fn set_use_tropo_grid_points( &mut self, use_tropo_grid_points: UseTropoGridPoints )
Set the bitrange corresponding to the UseTropoGridPoints of the use_tropo_grid_points
bitfield.
sourcepub fn use_iono_grid_points(&self) -> Result<UseIonoGridPoints, u8>
pub fn use_iono_grid_points(&self) -> Result<UseIonoGridPoints, u8>
Gets the UseIonoGridPoints stored in the use_iono_grid_points
bitfield.
Returns Ok
if the bitrange contains a known UseIonoGridPoints
variant.
Otherwise the value of the bitrange is returned as an Err(u8)
. This may be because of a malformed message,
or because new variants of UseIonoGridPoints
were added.
sourcepub fn set_use_iono_grid_points(
&mut self,
use_iono_grid_points: UseIonoGridPoints
)
pub fn set_use_iono_grid_points( &mut self, use_iono_grid_points: UseIonoGridPoints )
Set the bitrange corresponding to the UseIonoGridPoints of the use_iono_grid_points
bitfield.
sourcepub fn use_iono_tile_satellite_lo_s(
&self
) -> Result<UseIonoTileSatelliteLoS, u8>
pub fn use_iono_tile_satellite_lo_s( &self ) -> Result<UseIonoTileSatelliteLoS, u8>
Gets the UseIonoTileSatelliteLoS stored in the use_iono_tile_sat_los
bitfield.
Returns Ok
if the bitrange contains a known UseIonoTileSatelliteLoS
variant.
Otherwise the value of the bitrange is returned as an Err(u8)
. This may be because of a malformed message,
or because new variants of UseIonoTileSatelliteLoS
were added.
sourcepub fn set_use_iono_tile_satellite_lo_s(
&mut self,
use_iono_tile_satellite_lo_s: UseIonoTileSatelliteLoS
)
pub fn set_use_iono_tile_satellite_lo_s( &mut self, use_iono_tile_satellite_lo_s: UseIonoTileSatelliteLoS )
Set the bitrange corresponding to the UseIonoTileSatelliteLoS of the use_iono_tile_sat_los
bitfield.
sourcepub fn use_iono_grid_point_satellite_lo_s(
&self
) -> Result<UseIonoGridPointSatelliteLoS, u8>
pub fn use_iono_grid_point_satellite_lo_s( &self ) -> Result<UseIonoGridPointSatelliteLoS, u8>
Gets the UseIonoGridPointSatelliteLoS stored in the use_iono_grid_point_sat_los
bitfield.
Returns Ok
if the bitrange contains a known UseIonoGridPointSatelliteLoS
variant.
Otherwise the value of the bitrange is returned as an Err(u8)
. This may be because of a malformed message,
or because new variants of UseIonoGridPointSatelliteLoS
were added.
sourcepub fn set_use_iono_grid_point_satellite_lo_s(
&mut self,
use_iono_grid_point_satellite_lo_s: UseIonoGridPointSatelliteLoS
)
pub fn set_use_iono_grid_point_satellite_lo_s( &mut self, use_iono_grid_point_satellite_lo_s: UseIonoGridPointSatelliteLoS )
Set the bitrange corresponding to the UseIonoGridPointSatelliteLoS of the use_iono_grid_point_sat_los
bitfield.
Trait Implementations§
source§impl Clone for MsgSsrFlagHighLevel
impl Clone for MsgSsrFlagHighLevel
source§fn clone(&self) -> MsgSsrFlagHighLevel
fn clone(&self) -> MsgSsrFlagHighLevel
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl ConcreteMessage for MsgSsrFlagHighLevel
impl ConcreteMessage for MsgSsrFlagHighLevel
source§const MESSAGE_TYPE: u16 = 3_001u16
const MESSAGE_TYPE: u16 = 3_001u16
source§const MESSAGE_NAME: &'static str = "MSG_SSR_FLAG_HIGH_LEVEL"
const MESSAGE_NAME: &'static str = "MSG_SSR_FLAG_HIGH_LEVEL"
source§impl Debug for MsgSsrFlagHighLevel
impl Debug for MsgSsrFlagHighLevel
source§impl<'de> Deserialize<'de> for MsgSsrFlagHighLevel
impl<'de> Deserialize<'de> for MsgSsrFlagHighLevel
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 MsgSsrFlagHighLevel
impl FriendlyName for MsgSsrFlagHighLevel
fn friendly_name() -> &'static str
source§impl From<MsgSsrFlagHighLevel> for Sbp
impl From<MsgSsrFlagHighLevel> for Sbp
source§fn from(msg: MsgSsrFlagHighLevel) -> Self
fn from(msg: MsgSsrFlagHighLevel) -> Self
source§impl PartialEq for MsgSsrFlagHighLevel
impl PartialEq for MsgSsrFlagHighLevel
source§fn eq(&self, other: &MsgSsrFlagHighLevel) -> bool
fn eq(&self, other: &MsgSsrFlagHighLevel) -> bool
self
and other
values to be equal, and is used
by ==
.