Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FlightPlanJson ¶
type FlightPlanJson struct {
Type string `json:"type"`
Name string `json:"name"`
CRS CRS `json:"crs"`
Features []LineFeature `json:"features"`
}
type FlightPlanProp ¶
type FlightPlanProp struct {
Id int `json:"Id"`
FlightMileage float64 `json:"length"`
TaskName string `json:"task_name"`
TaskType string `json:"task_type"`
Minimum string `json:"minimum"`
Maximum string `json:"maximum"`
Lowest string `json:"lowest"`
Highest string `json:"highest"`
Describe string `json:"ps"`
}
type HoldingAreaJson ¶
type HoldingAreaJson struct {
Type string `json:"type"`
Name string `json:"name"`
CRS CRS `json:"crs"`
Features []PointFeature `json:"features"`
}
type HoldingAreaProp ¶
type LineFeature ¶
type LineFeature struct {
Type string `json:"type"`
ID int `json:"id"`
Properties FlightPlanProp `json:"properties"`
Geometry LineGeometry `json:"geometry"`
}
type LineGeometry ¶
type PointFeature ¶
type PointFeature struct {
Type string `json:"type"`
ID int `json:"id"`
Properties HoldingAreaProp `json:"properties"`
Geometry PointGeometry `json:"geometry"`
}
type PointGeometry ¶
type UavMatedataJson ¶
type UavMatedataJson struct {
Drones []UavMetadata `json:"Drones"`
}
type UavMetadata ¶
type UavMetadata struct {
DroneName string `json:"DroneName"`
UID string `json:"UID"`
Model string `json:"型号"`
Manufacturer string `json:"制造商"`
RegistrationDate string `json:"注册日期"`
Owner string `json:"拥有者"`
Operator string `json:"运营者"`
CameraSpec string `json:"摄像头规格"`
SensorType string `json:"传感器类型"`
MaxFlightSpeed string `json:"最大航行速度"`
Highest string `json:"最大飞行高度"`
PowerConsumptionPerKM string `json:"每公里耗电量"`
BatteryCapacity string `json:"电池容量"`
}
UavMetadata 结构体保持不变
Click to show internal directories.
Click to hide internal directories.