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:"lat"` // degrees lat
Longitude float64 `json:"lon"` // 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
MicrosecondTimestamp STMP
Time GPSU
Temp TMPC
}
Represents one second of telemetry data
type TELEM_OUT ¶
type TELEM_OUT struct {
*GPS5
GpsAccuracy uint16 `json:"gps_accuracy,omitempty"`
GpsFix uint32 `json:"gps_fix,omitempty"`
Temp float32 `json:"temp,omitempty"`
Track float64 `json:"track,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.