pub struct NavPvt {
pub fix_type: u8,
pub gnss_fix_ok: bool,
pub diff_soln: bool,
pub carr_soln: u8,
pub num_sv: u8,
pub lat_deg: f64,
pub lon_deg: f64,
pub h_ellipsoid_m: f64,
pub h_msl_m: f64,
pub utc_ns: Option<i64>,
}Expand description
UBX-NAV-PVT.
Fields§
§fix_type: u8GNSS fix type (0 none, 1 dead reckoning, 2 2D, 3 3D, 4 combined, 5 time only).
gnss_fix_ok: boolThe fix is within the receiver’s accuracy masks.
diff_soln: boolDifferential corrections were applied.
carr_soln: u80 none, 1 float, 2 fixed.
num_sv: u8Satellites used in the solution.
lat_deg: f64Latitude, degrees.
lon_deg: f64Longitude, degrees.
h_ellipsoid_m: f64Height above the ellipsoid, metres.
h_msl_m: f64Height above mean sea level, metres.
utc_ns: Option<i64>UTC of the solution epoch, when date and time are valid and resolved.
Trait Implementations§
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