Struct ublox::CfgNavX5Builder

source ·
pub struct CfgNavX5Builder {
Show 23 fields pub version: u16, pub mask1: CfgNavX5Params1, pub mask2: CfgNavX5Params2, pub reserved1: [u8; 2], pub min_svs: u8, pub max_svs: u8, pub min_cno_dbhz: u8, pub reserved2: u8, pub ini_fix_3d: u8, pub reserved3: [u8; 2], pub ack_aiding: u8, pub wkn_rollover: u16, pub sig_atten_comp_mode: u8, pub reserved4: u8, pub reserved5: [u8; 2], pub reserved6: [u8; 2], pub use_ppp: u8, pub aop_cfg: u8, pub reserved7: [u8; 2], pub aop_orb_max_err: u16, pub reserved8: [u8; 4], pub reserved9: [u8; 3], pub use_adr: u8,
}
Expand description

Navigation Engine Expert Settings Struct that is used to construct packets, see the crate-level documentation for more information

Fields§

§version: u16

Only version 2 supported

§mask1: CfgNavX5Params1

Only the masked parameters will be applied

§mask2: CfgNavX5Params2
§reserved1: [u8; 2]

Reserved

§min_svs: u8

Minimum number of satellites for navigation

§max_svs: u8

Maximum number of satellites for navigation

§min_cno_dbhz: u8

Minimum satellite signal level for navigation

§reserved2: u8

Reserved

§ini_fix_3d: u8

initial fix must be 3D

§reserved3: [u8; 2]

Reserved

§ack_aiding: u8

issue acknowledgements for assistance message input

§wkn_rollover: u16

GPS week rollover number

§sig_atten_comp_mode: u8

Permanently attenuated signal compensation

§reserved4: u8

Reserved

§reserved5: [u8; 2]
§reserved6: [u8; 2]
§use_ppp: u8

Use Precise Point Positioning (only available with the PPP product variant)

§aop_cfg: u8

AssistNow Autonomous configuration

§reserved7: [u8; 2]

Reserved

§aop_orb_max_err: u16

Maximum acceptable (modeled) AssistNow Autonomous orbit error

§reserved8: [u8; 4]

Reserved

§reserved9: [u8; 3]
§use_adr: u8

Enable/disable ADR/UDR sensor fusion

Implementations§

source§

impl CfgNavX5Builder

source

pub const PACKET_LEN: usize = 48usize

source

pub fn into_packet_bytes(self) -> [u8; 48]

Trait Implementations§

source§

impl Default for CfgNavX5Builder

source§

fn default() -> CfgNavX5Builder

Returns the “default value” for a type. Read more
source§

impl From<CfgNavX5Builder> for [u8; 48]

source§

fn from(x: CfgNavX5Builder) -> Self

Converts to this type from the input type.
source§

impl UbxPacketCreator for CfgNavX5Builder

source§

fn create_packet<T: MemWriter>( self, out: &mut T ) -> Result<(), MemWriterError<T::Error>>

Create packet and store bytes sequence to somewhere using out

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.