Struct unbounded_gpsd::types::SkyResponse [−][src]
pub struct SkyResponse { pub device: Option<String>, pub time: Option<DateTime<Utc>>, pub xdop: Option<f32>, pub ydop: Option<f32>, pub vdop: Option<f32>, pub tdop: Option<f32>, pub hdop: Option<f32>, pub pdop: Option<f32>, pub gdop: Option<f32>, pub satellites: Vec<SatelliteObject>, }
A sky view report (SKY) of GPS satellite positions.
If there is no GPS device available, or no skyview has been reported yet, all fields will be blank.
Dilutions of precision
Fields ending dop
denote dilutions of precision. These are dimensionless
factors that should be multiplied by a base UERE to get an error estimate.
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.
time: Option<DateTime<Utc>>
Timestamp.
xdop: Option<f32>
Longitudinal d.o.p.
ydop: Option<f32>
Latitutinal d.o.p.
vdop: Option<f32>
Altitude d.o.p.
tdop: Option<f32>
Time d.o.p.
hdop: Option<f32>
Horizontal d.o.p.
pdop: Option<f32>
Spherical d.o.p.
gdop: Option<f32>
Hyperspherical d.o.p.
satellites: Vec<SatelliteObject>
Satellites in skyview.
Trait Implementations
impl Debug for SkyResponse
[src]
impl Debug for SkyResponse
Auto Trait Implementations
impl Send for SkyResponse
impl Send for SkyResponse
impl Sync for SkyResponse
impl Sync for SkyResponse