#[repr(C)]pub struct nrf_modem_gnss_pvt_data_frame {Show 19 fields
pub latitude: f64,
pub longitude: f64,
pub altitude: f32,
pub accuracy: f32,
pub altitude_accuracy: f32,
pub speed: f32,
pub speed_accuracy: f32,
pub vertical_speed: f32,
pub vertical_speed_accuracy: f32,
pub heading: f32,
pub heading_accuracy: f32,
pub datetime: nrf_modem_gnss_datetime,
pub pdop: f32,
pub hdop: f32,
pub vdop: f32,
pub tdop: f32,
pub flags: u8,
pub sv: [nrf_modem_gnss_sv; 12],
pub execution_time: u32,
}
Expand description
Position, Velocity and Time (PVT) data frame.
Fields§
§latitude: f64
Latitude in degrees.
longitude: f64
Longitude in degrees.
altitude: f32
Altitude above WGS-84 ellipsoid in meters.
accuracy: f32
Position accuracy (2D 1-sigma) in meters.
altitude_accuracy: f32
Altitude accuracy (1-sigma) in meters.
@note Only valid with modem firmware v1.3.2 or later.
speed: f32
Horizontal speed in m/s.
speed_accuracy: f32
Speed accuracy (1-sigma) in m/s.
@note Only valid with modem firmware v1.3.0 or later.
vertical_speed: f32
Vertical speed in m/s. Positive is up.
@note Only valid with modem firmware v1.3.2 or later.
vertical_speed_accuracy: f32
Vertical speed accuracy (1-sigma) in m/s.
@note Only valid with modem firmware v1.3.2 or later.
heading: f32
Heading of user movement in degrees.
heading_accuracy: f32
Heading accuracy (1-sigma) in degrees.
@note Only valid with modem firmware v1.3.2 or later.
datetime: nrf_modem_gnss_datetime
Date and time.
pdop: f32
Position dilution of precision.
hdop: f32
Horizontal dilution of precision.
vdop: f32
Vertical dilution of precision.
tdop: f32
Time dilution of precision.
flags: u8
See @ref nrf_modem_gnss_pvt_flag_bitmask.
sv: [nrf_modem_gnss_sv; 12]
Describes up to 12 of the space vehicles used for the measurement.
execution_time: u32
Cumulative GNSS execution time since last start in milliseconds.
@note Only valid with modem firmware v1.3.2 or later.
Trait Implementations§
source§impl Clone for nrf_modem_gnss_pvt_data_frame
impl Clone for nrf_modem_gnss_pvt_data_frame
source§fn clone(&self) -> nrf_modem_gnss_pvt_data_frame
fn clone(&self) -> nrf_modem_gnss_pvt_data_frame
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more