You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
933 B
C
54 lines
933 B
C
#ifndef FLY_LINE_DATA_STRUCT_H
|
|
#define FLY_LINE_DATA_STRUCT_H
|
|
|
|
|
|
//无人直升机飞行航线的航点数据结构体
|
|
#pragma once
|
|
|
|
#if defined (_WIN32_WCE) || defined (WIN32)
|
|
#pragma pack( push, VMF)
|
|
#endif//defined (_WIN32_WCE) || defined (WIN32)
|
|
#pragma pack(1)
|
|
|
|
|
|
typedef struct _PTSTRUCT
|
|
{
|
|
BYTE lineID; //航线号
|
|
BYTE ptID; //航点号
|
|
|
|
double lon; //经度
|
|
double lat; //纬度
|
|
short alt; //高度
|
|
|
|
BYTE speed; //速度
|
|
|
|
char taskCharacter; //任务特征字
|
|
char lineCharacter; //航路特征字
|
|
|
|
}PtStruct;
|
|
|
|
|
|
|
|
//2016.01.05
|
|
typedef struct tmpPT
|
|
{
|
|
int pt_id; //航点号
|
|
double pt_Lon; //航点经度
|
|
double pt_Lat; //航点纬度
|
|
};
|
|
|
|
|
|
|
|
#if defined (_WIN32_WCE) || defined (WIN32)
|
|
#pragma pack( pop,VMF)
|
|
#else
|
|
#pragma pack()
|
|
#endif//defined (_WIN32_WCE) || defined (WIN32)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif |