Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data Gnss = Gnss' {}
- newGnss :: Text -> Gnss
- gnss_assistAltitude :: Lens' Gnss (Maybe Double)
- gnss_assistPosition :: Lens' Gnss (Maybe (NonEmpty Double))
- gnss_captureTime :: Lens' Gnss (Maybe Double)
- gnss_captureTimeAccuracy :: Lens' Gnss (Maybe Double)
- gnss_use2DSolver :: Lens' Gnss (Maybe Bool)
- gnss_payload :: Lens' Gnss Text
Documentation
Global navigation satellite system (GNSS) object used for positioning.
See: newGnss
smart constructor.
Gnss' | |
|
Instances
Create a value of Gnss
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:assistAltitude:Gnss'
, gnss_assistAltitude
- Optional assistance altitude, which is the altitude of the device at
capture time, specified in meters above the WGS84 reference ellipsoid.
$sel:assistPosition:Gnss'
, gnss_assistPosition
- Optional assistance position information, specified using latitude and
longitude values in degrees. The co-ordinates are inside the WGS84
reference frame.
$sel:captureTime:Gnss'
, gnss_captureTime
- Optional parameter that gives an estimate of the time when the GNSS scan
information is taken, in seconds GPS time (GPST). If capture time is not
specified, the local server time is used.
$sel:captureTimeAccuracy:Gnss'
, gnss_captureTimeAccuracy
- Optional value that gives the capture time estimate accuracy, in
seconds. If capture time accuracy is not specified, default value of 300
is used.
$sel:use2DSolver:Gnss'
, gnss_use2DSolver
- Optional parameter that forces 2D solve, which modifies the positioning
algorithm to a 2D solution problem. When this parameter is specified,
the assistance altitude should have an accuracy of at least 10 meters.
$sel:payload:Gnss'
, gnss_payload
- Payload that contains the GNSS scan result, or NAV message, in
hexadecimal notation.
gnss_assistAltitude :: Lens' Gnss (Maybe Double) Source #
Optional assistance altitude, which is the altitude of the device at capture time, specified in meters above the WGS84 reference ellipsoid.
gnss_assistPosition :: Lens' Gnss (Maybe (NonEmpty Double)) Source #
Optional assistance position information, specified using latitude and longitude values in degrees. The co-ordinates are inside the WGS84 reference frame.
gnss_captureTime :: Lens' Gnss (Maybe Double) Source #
Optional parameter that gives an estimate of the time when the GNSS scan information is taken, in seconds GPS time (GPST). If capture time is not specified, the local server time is used.
gnss_captureTimeAccuracy :: Lens' Gnss (Maybe Double) Source #
Optional value that gives the capture time estimate accuracy, in seconds. If capture time accuracy is not specified, default value of 300 is used.