Documentation ¶
Overview ¶
Package data Created by Teocci. Author: teocci@yandex.com on 2021-Aug-29
Package data Created by RTT. Author: teocci@yandex.com on 2021-Aug-30
Package data Created by Teocci. Author: teocci@yandex.com on 2021-Aug-29
Index ¶
Constants ¶
View Source
const ( GEOFile = "GEOdata" FCCFile = "FCC" RTTFile = "RTT" GEOPath = "./tmp/GEOdata.csv" FCCPath = "./tmp/FCC.csv" GEODatPath = "./tmp/GEOdata.dat" FCCDatPath = "./tmp/FCC.dat" DestPath = "./tmp" RTTPrefix = "01" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FCC ¶
type FCC struct { FCCTime float32 `json:"fcc_time" csv:"FCCTime"` GPSTime float32 `json:"gps_time" csv:"GPSTime"` Temperature float32 `json:"temperature" csv:"Temp"` BatVoltage float32 `json:"bat_voltage" csv:"Bat"` BatCurrent float32 `json:"bat_current" csv:"BatCurr"` BatPercent float32 `json:"bat_percent" csv:"BatPercent"` BatTemperature float32 `json:"bat_temperature" csv:"BatTemp"` }
type GEOData ¶
type GEOData struct { FCCTime float32 `json:"fcc_time" csv:"FCCTime"` Lat float32 `json:"lat" csv:"Lat"` Long float32 `json:"long" csv:"Long"` Alt float32 `json:"alt" csv:"Alt"` Roll float32 `json:"roll" csv:"Roll"` Pitch float32 `json:"pitch" csv:"Pitch"` Yaw float32 `json:"yaw" csv:"Yaw"` }
func ParseGEOData ¶
type RTT ¶
type RTT struct { DroneID int `json:"drone_id" csv:"drone_id"` FlightSessionID int `json:"flight_session_id" csv:"flight_session_id"` FCCTime float32 `json:"fcc_time" csv:"FCCTime"` Lat float32 `json:"lat" csv:"lat"` Long float32 `json:"long" csv:"lat"` Alt float32 `json:"alt" csv:"lat"` Roll float32 `json:"roll" csv:"lat"` Pitch float32 `json:"pitch" csv:"lat"` Yaw float32 `json:"yaw" csv:"lat"` BatVoltage float32 `json:"battery_voltage" csv:"battery_voltage"` BatCurrent float32 `json:"battery_current" csv:"battery_current"` BatPercent float32 `json:"battery_percentage" csv:"battery_percentage"` BatTemperature float32 `json:"battery_temperature" csv:"battery_temperature"` Temperature float32 `json:"temperature" csv:"temperature"` GPSTime float32 `json:"modify_date" csv:"modify_date"` }
Click to show internal directories.
Click to hide internal directories.