[][src]Struct gpsd_proto::Sky

pub struct Sky {
    pub device: Option<String>,
    pub xdop: Option<f32>,
    pub ydop: Option<f32>,
    pub vdop: Option<f32>,
    pub tdop: Option<f32>,
    pub hdop: Option<f32>,
    pub gdop: Option<f32>,
    pub pdop: Option<f32>,
    pub satellites: Vec<Satellite>,
}

Satellites information.

A SKY object reports a sky view of the GPS satellite positions. If there is no GPS device available, or no skyview has been reported yet.

Many devices compute dilution of precision factors but do not include them in their reports. Many that do report DOPs report only HDOP, two-dimensional circular error. gpsd always passes through whatever the device actually reports, then attempts to fill in other DOPs by calculating the appropriate determinants in a covariance matrix based on the satellite view. DOPs may be missing if some of these determinants are singular. It can even happen that the device reports an error estimate in meters when the corresponding DOP is unavailable; some devices use more sophisticated error modeling than the covariance calculation.

Fields

device: Option<String>

Name of originating device.

xdop: Option<f32>

Longitudinal dilution of precision, a dimensionless factor which should be multiplied by a base UERE to get an error estimate.

ydop: Option<f32>

Latitudinal dilution of precision, a dimensionless factor which should be multiplied by a base UERE to get an error estimate.

vdop: Option<f32>

Altitude dilution of precision, a dimensionless factor which should be multiplied by a base UERE to get an error estimate.

tdop: Option<f32>

Time dilution of precision, a dimensionless factor which should be multiplied by a base UERE to get an error estimate.

hdop: Option<f32>

Horizontal dilution of precision, a dimensionless factor which should be multiplied by a base UERE to get a circular error estimate.

gdop: Option<f32>

Hyperspherical dilution of precision, a dimensionless factor which should be multiplied by a base UERE to get an error estimate.

pdop: Option<f32>

Spherical dilution of precision, a dimensionless factor which should be multiplied by a base UERE to get an error estimate.

satellites: Vec<Satellite>

List of satellite objects in skyview.

Trait Implementations

impl Debug for Sky[src]

impl<'de> Deserialize<'de> for Sky[src]

Auto Trait Implementations

impl Sync for Sky

impl Unpin for Sky

impl Send for Sky

impl UnwindSafe for Sky

impl RefUnwindSafe for Sky

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]