Struct ublox::CfgNav5Builder
source · pub struct CfgNav5Builder {Show 19 fields
pub mask: CfgNav5Params,
pub dyn_model: CfgNav5DynModel,
pub fix_mode: CfgNav5FixMode,
pub fixed_alt: f64,
pub fixed_alt_var: f64,
pub min_elev_degrees: i8,
pub dr_limit: u8,
pub pdop: f32,
pub tdop: f32,
pub pacc: u16,
pub tacc: u16,
pub static_hold_thresh: f32,
pub dgps_time_out: u8,
pub cno_thresh_num_svs: u8,
pub cno_thresh: u8,
pub reserved1: [u8; 2],
pub static_hold_max_dist: u16,
pub utc_standard: CfgNav5UtcStandard,
pub reserved2: [u8; 5],
}
Expand description
Navigation Engine Settings Struct that is used to construct packets, see the crate-level documentation for more information
Fields§
§mask: CfgNav5Params
Only the masked parameters will be applied
dyn_model: CfgNav5DynModel
§fix_mode: CfgNav5FixMode
§fixed_alt: f64
Fixed altitude (mean sea level) for 2D fixmode (m)
fixed_alt_var: f64
Fixed altitude variance for 2D mode (m^2)
min_elev_degrees: i8
Minimum Elevation for a GNSS satellite to be used in NAV (deg)
dr_limit: u8
Reserved
pdop: f32
Position DOP Mask to use
tdop: f32
Time DOP Mask to use
pacc: u16
Position Accuracy Mask (m)
tacc: u16
Time Accuracy Mask according to manual unit is “m”, but this looks like typo
static_hold_thresh: f32
Static hold threshold
dgps_time_out: u8
DGNSS timeout (seconds)
cno_thresh_num_svs: u8
Number of satellites required to have C/N0 above cno_thresh
for a fix to be attempted
cno_thresh: u8
C/N0 threshold for deciding whether toattempt a fix (dBHz)
reserved1: [u8; 2]
§static_hold_max_dist: u16
Static hold distance threshold (beforequitting static hold)
utc_standard: CfgNav5UtcStandard
UTC standard to be used
reserved2: [u8; 5]
Implementations§
pub const PACKET_LEN: usize = 44usize
pub fn into_packet_bytes(self) -> [u8; 44]
Trait Implementations§
source§fn default() -> CfgNav5Builder
fn default() -> CfgNav5Builder
Returns the “default value” for a type. Read more
source§fn from(x: CfgNav5Builder) -> Self
fn from(x: CfgNav5Builder) -> Self
Converts to this type from the input type.
source§fn create_packet<T: MemWriter>(
self,
out: &mut T
) -> Result<(), MemWriterError<T::Error>>
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> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more