Versions in this module Expand all Collapse all v1 v1.3.0 Apr 30, 2020 Changes in this version + const ActiveRoute + const Auto + const AutonomousGNS + const AutonomousTHS + const ChecksumSep + const DGPS + const Degrees + const DifferentialGNS + const EST + const East + const ErrorUnit + const EstimatedGNS + const EstimatedTHS + const FRTK + const FieldSep + const Fix2D + const Fix3D + const FixNone + const FloatRTKGNS + const GPS + const Invalid + const InvalidGLL + const InvalidRMC + const InvalidTHS + const Manual + const ManualGNS + const ManualTHS + const Minutes + const NoFixGNS + const North + const PPS + const Point + const PreciseGNS + const PrefixGLGSV + const PrefixGNGGA + const PrefixGNGNS + const PrefixGNRMC + const PrefixGPGGA + const PrefixGPGLL + const PrefixGPGSA + const PrefixGPGSV + const PrefixGPHDT + const PrefixGPRMC + const PrefixGPVTG + const PrefixGPZDA + const PrefixPGRME + const RTK + const RealTimeKinematicGNS + const Seconds + const SentenceStart + const SentenceStartEncapsulated + const SimulatorGNS + const SimulatorTHS + const South + const TypeDBS + const TypeDBT + const TypeDPT + const TypeGGA + const TypeGLL + const TypeGNS + const TypeGSA + const TypeGSV + const TypeHDT + const TypeMTK + const TypePGRME + const TypeRMC + const TypeRTE + const TypeTHS + const TypeVDM + const TypeVDO + const TypeVHW + const TypeVTG + const TypeWPL + const TypeZDA + const ValidGLL + const ValidRMC + const WaypointList + const West + func Checksum(s string) string + func FormatDMS(l float64) string + func FormatGPS(l float64) string + func LatDir(l float64) string + func LonDir(l float64) string + func NewParser(s BaseSentence) *parser + 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 + Talker string + Type string + func ParseSentence(raw string) (BaseSentence, error) + func (s BaseSentence) DataType() string + func (s BaseSentence) Prefix() string + func (s BaseSentence) String() string + func (s BaseSentence) TalkerID() string + type DBS struct + DepthFathoms float64 + DepthFeet float64 + DepthMeters float64 + type DBT struct + DepthFathoms float64 + DepthFeet float64 + DepthMeters float64 + type DPT struct + Depth float64 + Offset float64 + type Date struct + DD int + MM int + Valid bool + YY int + func ParseDate(ddmmyy string) (Date, error) + func (d Date) String() 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 GLGSV = GSV + type GLGSVInfo = GSVInfo + type GLL struct + Latitude float64 + Longitude float64 + Time Time + Validity string + type GNGGA = GGA + type GNGNS = GNS + type GNRMC = RMC + type GNS struct + Age float64 + Altitude float64 + HDOP float64 + Latitude float64 + Longitude float64 + Mode []string + SVs int64 + Separation float64 + Station int64 + Time Time + type GPGGA = GGA + type GPGLL = GLL + type GPGSA = GSA + type GPGSV = GSV + type GPGSVInfo = GSVInfo + type GPHDT = HDT + type GPRMC = RMC + type GPVTG = VTG + type GPZDA = ZDA + 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 PGRME struct + Horizontal float64 + Spherical float64 + Vertical float64 + 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 interface + DataType func() string + Prefix func() string + TalkerID func() string + func Parse(raw string) (Sentence, error) + type THS struct + Heading float64 + Status string + type Time struct + Hour int + Millisecond int + Minute int + Second int + Valid bool + func ParseTime(s string) (Time, error) + func (t Time) String() string + 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