gps

package
v0.0.0-...-8bbfd95 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GPS

type GPS struct {
	Port      serial.Port
	Waypoints []Waypoint
}

func NewGPS

func NewGPS() GPS

func (*GPS) Close

func (g *GPS) Close() error

func (*GPS) GetWaypoint

func (g *GPS) GetWaypoint() (Waypoint, error)

func (*GPS) Parse

func (g *GPS) Parse(data string) (Waypoint, error)

type Waypoint

type Waypoint struct {
	Longitude     float64
	Latitude      float64
	UnixMicroTime int64
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL