Versions in this module Expand all Collapse all v1 v1.1.1 Aug 7, 2020 Changes in this version + const ActiveRoute + const AutonomousGNS + const AutonomousTHS + const DifferentialGNS + const EST + const EstimatedGNS + const EstimatedTHS + const FloatRTKGNS + const InvalidTHS + const ManualGNS + const ManualTHS + const NoFixGNS + const PreciseGNS + const PrefixGNGNS + const PrefixGPHDT + const RealTimeKinematicGNS + const SentenceStartEncapsulated + const SimulatorGNS + const SimulatorTHS + const TypeDestinationID + const TypeGGA + const TypeGLL + const TypeGNS + const TypeGSA + const TypeGSV + const TypeGrouping + const TypeHDT + const TypeLineCount + const TypeMTK + const TypePGRME + const TypeRMC + const TypeRTE + const TypeRelativeTime + const TypeSourceID + const TypeTHS + const TypeTextString + const TypeUnixTime + const TypeVDM + const TypeVDO + const TypeVHW + const TypeVTG + const TypeWPL + const TypeZDA + const WaypointList + func Checksum(s string) string + func LatDir(l float64) string + func LonDir(l float64) string type BaseSentence + TagBlock TagBlock + Talker string + func (s BaseSentence) DataType() string + func (s BaseSentence) TalkerID() string + type GGA struct + Altitude float64 + DGPSAge string + DGPSId string + FixQuality string + HDOP float64 + Latitude float64 + Longitude float64 + NumSatellites int64 + Separation float64 + Time Time + type GLL struct + Latitude float64 + Longitude float64 + Time Time + Validity string + type GNGNS = GNS + type GNS struct + Age float64 + Altitude float64 + HDOP float64 + Latitude float64 + Longitude float64 + Mode []string + SVs int64 + Separation float64 + Station int64 + Time Time + type GPHDT = HDT + type GSA struct + FixType string + HDOP float64 + Mode string + PDOP float64 + SV []string + VDOP float64 + type GSV struct + Info []GSVInfo + MessageNumber int64 + NumberSVsInView int64 + TotalMessages int64 + type GSVInfo struct + Azimuth int64 + Elevation int64 + SNR int64 + SVPRNNumber int64 + type HDT struct + Heading float64 + True bool + type MTK struct + Cmd int64 + Flag int64 + type RMC struct + Course float64 + Date Date + Latitude float64 + Longitude float64 + Speed float64 + Time Time + Validity string + Variation float64 + type RTE struct + ActiveRouteOrWaypointList string + Idents []string + Name string + NumberOfSentences int64 + SentenceNumber int64 type Sentence + DataType func() string + TalkerID func() string + type THS struct + Heading float64 + Status string + type TagBlock struct + Destination string + Grouping string + Head string + LineCount int64 + RelativeTime int64 + Source string + Text string + Time int64 + type VDMVDO struct + Channel string + FragmentNumber int64 + MessageID int64 + NumFragments int64 + Payload []byte + type VHW struct + MagneticHeading float64 + SpeedThroughWaterKPH float64 + SpeedThroughWaterKnots float64 + TrueHeading float64 + type VTG struct + GroundSpeedKPH float64 + GroundSpeedKnots float64 + MagneticTrack float64 + TrueTrack float64 + type WPL struct + Ident string + Latitude float64 + Longitude float64 + type ZDA struct + Day int64 + Month int64 + OffsetHours int64 + OffsetMinutes int64 + Time Time + Year int64 v1.0.0 Apr 16, 2018 Changes in this version + const Auto + const ChecksumSep + const DGPS + const Degrees + const East + const ErrorUnit + const FRTK + const FieldSep + const Fix2D + const Fix3D + const FixNone + const GPS + const Invalid + const InvalidGLL + const InvalidRMC + const Manual + const Minutes + const North + const PPS + const Point + const PrefixGLGSV + const PrefixGNGGA + const PrefixGNRMC + const PrefixGPGGA + const PrefixGPGLL + const PrefixGPGSA + const PrefixGPGSV + const PrefixGPRMC + const PrefixGPVTG + const PrefixGPZDA + const PrefixPGRME + const RTK + const Seconds + const SentenceStart + const South + const ValidGLL + const ValidRMC + const West + func FormatDMS(l float64) string + func FormatGPS(l float64) string + func ParseDMS(s string) (float64, error) + func ParseDecimal(s string) (float64, error) + func ParseGPS(s string) (float64, error) + func ParseLatLong(s string) (float64, error) + type BaseSentence struct + Checksum string + Fields []string + Raw string + Type string + func (s BaseSentence) Prefix() string + func (s BaseSentence) String() string + type Date struct + DD int + MM int + Valid bool + YY int + func ParseDate(ddmmyy string) (Date, error) + func (d Date) String() string + type GLGSV struct + Info []GLGSVInfo + MessageNumber int64 + NumberSVsInView int64 + TotalMessages int64 + type GLGSVInfo struct + Azimuth int64 + Elevation int64 + SNR int64 + SVPRNNumber int64 + type GNGGA struct + Altitude float64 + DGPSAge string + DGPSId string + FixQuality string + HDOP float64 + Latitude float64 + Longitude float64 + NumSatellites int64 + Separation float64 + Time Time + type GNRMC struct + Course float64 + Date Date + Latitude float64 + Longitude float64 + Speed float64 + Time Time + Validity string + Variation float64 + type GPGGA struct + Altitude float64 + DGPSAge string + DGPSId string + FixQuality string + HDOP float64 + Latitude float64 + Longitude float64 + NumSatellites int64 + Separation float64 + Time Time + type GPGLL struct + Latitude float64 + Longitude float64 + Time Time + Validity string + type GPGSA struct + FixType string + HDOP float64 + Mode string + PDOP float64 + SV []string + VDOP float64 + type GPGSV struct + Info []GPGSVInfo + MessageNumber int64 + NumberSVsInView int64 + TotalMessages int64 + type GPGSVInfo struct + Azimuth int64 + Elevation int64 + SNR int64 + SVPRNNumber int64 + type GPRMC struct + Course float64 + Date Date + Latitude float64 + Longitude float64 + Speed float64 + Time Time + Validity string + Variation float64 + type GPVTG struct + GroundSpeedKPH float64 + GroundSpeedKnots float64 + MagneticTrack float64 + TrueTrack float64 + type GPZDA struct + Day int64 + Month int64 + OffsetHours int64 + OffsetMinutes int64 + Time Time + Year int64 + type PGRME struct + Horizontal float64 + Spherical float64 + Vertical float64 + type Sentence interface + Prefix func() string + func Parse(raw string) (Sentence, error) + type Time struct + Hour int + Millisecond int + Minute int + Second int + Valid bool + func ParseTime(s string) (Time, error) + func (t Time) String() string