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

< 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

< 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

< 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

< 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

< 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

< Orientation angle between the major axis and north. Range in degrees 0...179.

unc_altitude: u8

< 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

< 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 Copy for nrf_gnss_agps_data_location_t[src]

impl Debug for nrf_gnss_agps_data_location_t[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.