Struct aws_sdk_iotwireless::types::Gnss
source · #[non_exhaustive]pub struct Gnss {
pub payload: String,
pub capture_time: Option<f32>,
pub capture_time_accuracy: Option<f32>,
pub assist_position: Option<Vec<f32>>,
pub assist_altitude: Option<f32>,
pub use2_d_solver: bool,
}Expand description
Global navigation satellite system (GNSS) object used for positioning.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.payload: StringPayload that contains the GNSS scan result, or NAV message, in hexadecimal notation.
capture_time: Option<f32>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.
capture_time_accuracy: Option<f32>Optional value that gives the capture time estimate accuracy, in seconds. If capture time accuracy is not specified, default value of 300 is used.
assist_position: Option<Vec<f32>>Optional assistance position information, specified using latitude and longitude values in degrees. The coordinates are inside the WGS84 reference frame.
assist_altitude: Option<f32>Optional assistance altitude, which is the altitude of the device at capture time, specified in meters above the WGS84 reference ellipsoid.
use2_d_solver: boolOptional 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.
Implementations§
source§impl Gnss
impl Gnss
sourcepub fn payload(&self) -> &str
pub fn payload(&self) -> &str
Payload that contains the GNSS scan result, or NAV message, in hexadecimal notation.
sourcepub fn capture_time(&self) -> Option<f32>
pub fn capture_time(&self) -> Option<f32>
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.
sourcepub fn capture_time_accuracy(&self) -> Option<f32>
pub fn capture_time_accuracy(&self) -> Option<f32>
Optional value that gives the capture time estimate accuracy, in seconds. If capture time accuracy is not specified, default value of 300 is used.
sourcepub fn assist_position(&self) -> &[f32]
pub fn assist_position(&self) -> &[f32]
Optional assistance position information, specified using latitude and longitude values in degrees. The coordinates are inside the WGS84 reference frame.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .assist_position.is_none().
sourcepub fn assist_altitude(&self) -> Option<f32>
pub fn assist_altitude(&self) -> Option<f32>
Optional assistance altitude, which is the altitude of the device at capture time, specified in meters above the WGS84 reference ellipsoid.
sourcepub fn use2_d_solver(&self) -> bool
pub fn use2_d_solver(&self) -> bool
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.