UPM

The UPM API is a high level sensor library for IoT devices using MRAA. See examples here. Back to index page.
SparkFun sensor images provided under CC BY-NC-SA-3.0.

gps_fix Class

Module: common

GPS fix definition. A GPS fix structure should only be used if valid == true

Methods

__str__

() String

Provide a string representation of this structure.

Returns:

String:

String representing a GPS Fix

Properties

coordinates

Coord_DD

Fix coordinates

time_utc

String

UTC time string as HHMMSS.mS

quality

Gps_fix_quality

GPS fix signal quality

satellites

Number

Number of satellites in use

hdop

Number

Horizontal dilution of precision, unitless, lower is better

altitude_meters

Number

Altitude above mean sea level in meters

geoid_height_meters

Number

Difference between the WGS-84 earth ellipsoid and mean-sea-level

age_seconds

Number

Time in seconds since last differential GPS fix

station_id

String

Differential GPS station ID

valid

Boolean

True if this gps_fix structure is valid to use

chksum_match

Boolean

True if the checksum matched, valid is set to false on mismatch