Struct nrfxlib_sys::nrf_gnss_agps_data_location_t [−][src]
#[repr(C)]pub struct nrf_gnss_agps_data_location_t { pub latitude: i32, pub longitude: i32, pub altitude: i16, pub unc_semimajor: u8, pub unc_semiminor: u8, pub orientation_major: u8, pub unc_altitude: u8, pub confidence: u8, }
Fields
latitude: i32
Expand description
Geodetic latitude in WGS-84. Range -8388607…8388607. The relation between the coded number N and the latitude range X (in degrees) is as follows: N <= (2^23/90) * X < N + 1. For N = 2^23 - 1, the range is extended to include N+1. Range of X (in degrees) -90…90.
longitude: i32
Expand description
Geodetic longitude in WGS-84. Range -8388607..8388607. The relation between the coded number N and the longitude range X (in degrees) is as follows: N <= (2^24/360) * X < N + 1. Range of X (in degrees) -180…180.
altitude: i16
Expand description
Altitude. Above (positive value) or below (negative value) WGS-84 ellipsoid surface. Range -32767…32767. The relation between the coded number N and the altitude range a (in meters) is as follows: N <= a < N + 1. For N = 2^15 - 1 the range is extended to include all greater values of a.
unc_semimajor: u8
Expand description
Uncertainty, semi-major. Range 0…127. The uncertainty (in meters) is mapped from the coded number K with following formula: r = C * ((1 + x)^K - 1), where C = 10 and x = 0,1. Range of r (in kilometers) 0…1800.
unc_semiminor: u8
Expand description
Uncertainty, semi-minor. Range 0…127. The uncertainty (in meters) is mapped from the coded number K with following formula: r = C * ((1 + x)^K - 1), where C = 10 and x = 0,1. Range of r (in kilometers) 0…1800)
orientation_major: u8
Expand description
Orientation angle between the major axis and north. Range in degrees 0…179.
unc_altitude: u8
Expand description
Uncertainty, altitude. Range 0…127. The uncertainty in altitude h (in meters) is mapped from the coded number K with following formula: h = C * ((1 + x)^K - 1). where C = 45 and x = 0,025. Range of h (in meters) 0…990,5.
confidence: u8
Expand description
The confidence level (expressed as a percentage) with which the position of a target entity is included within the uncertainty ellipsoid. Range 0…128. ‘0’ indicates ‘no information’. Values 101..128 should be treated as ‘0’.
Trait Implementations
impl Clone for nrf_gnss_agps_data_location_t
[src]
impl Clone for nrf_gnss_agps_data_location_t
[src]fn clone(&self) -> nrf_gnss_agps_data_location_t
[src]
fn clone(&self) -> nrf_gnss_agps_data_location_t
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for nrf_gnss_agps_data_location_t
[src]
impl Debug for nrf_gnss_agps_data_location_t
[src]