Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GPS5 ¶
type GPS5 struct { Latitude float64 `json:"latitude"` // degrees lat Longitude float64 `json:"longitude"` // degrees lon Altitude float64 `json:"alt"` // meters above wgs84 ellipsoid ? Speed float64 `json:"spd"` // m/s Speed3D float64 `json:"spd_3d"` // m/s, standard error? TS int64 `json:"utc"` }
GPS sentence with lat/lon/alt/speed/3d speed
type SCAL ¶
type SCAL struct {
Values []int
}
Scale - contains slice of multipliers for subsequent data
type TELEM ¶
type TELEM struct { // Accl []ACCL Gps []GPS5 // Gyro []GYRO GpsFix GPSF GpsAccuracy GPSP Time GPSU }
Represents one second of telemetry data
type TELEM_OUT ¶
type TELEM_OUT struct { *GPS5 GpsAccuracy float64 `json:"precision,omitempty"` GpsFix uint32 `json:"gps_fix,omitempty"` }
the thing we want, json-wise GPS data might have a generated timestamp and derived track
Click to show internal directories.
Click to hide internal directories.