Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GPS ¶
func (*GPS) Disconnect ¶
Disconnect ... close serial connection with gps
func (*GPS) FetchPosition ¶
FetchPosition return current gps position
func (*GPS) IsConnected ¶
IsConnected return state of the connection with gps
type Position ¶
type Position struct {
Latitude float64 `json:"latitude"`
Longitude float64 `json:"longitude"`
Altitude float64 `json:"altitude"`
Course float64 `json:"course"`
Speed float64 `json:"speed"`
Time float64 `json:"time"`
Satellites []string `json:"satellites"`
Pdop string `json:"pdop"`
Hdop string `json:"hdop"`
Vdop string `json:"vdop"`
}
Click to show internal directories.
Click to hide internal directories.