Documentation
¶
Index ¶
Constants ¶
View Source
const ( DebugGpsd = false GpsdDbusObjectPath = "/org/gpsd" GpsdDbusInterface = "org.gpsd" GpsdDbusFixSignalName = GpsdDbusInterface + ".fix" GpsdDataMaxSignalAge = 5000 // 5000 ms is 5 seconds of maximal signal age GpsdSystemdUnitName = "gpsd.service" GpsdInitialFixRetries = 3 // Try 3 times to get a fix signal from gpsd before giving up )
Variables ¶
This section is empty.
Functions ¶
func IsDataReliable ¶
func IsDataReliable(fs *GPSDFixSignal) bool
func IsGPSTimeValid ¶
Types ¶
type BackendType ¶
type BackendType int32
const ( // STUB implementation STUB BackendType = -1 // GPSD based GPSD BackendType = 0 )
func (BackendType) String ¶
func (e BackendType) String() string
type GPSDFixSignal ¶
type GPSDFixSignal struct {
DeviceName string
AltMSL float64
Course float64
Lat float64
Lon float64
HorizUncertainty float64
Time float64
AltUncertainty float64
TimeUncertainty float64
CourseUncertainty float64
Speed float64
SpeedUncertainty float64
Climb float64
ClimbUncertainty float64
Mode int32
}
Click to show internal directories.
Click to hide internal directories.