export const templateTypeOptions = [
    {
        label:"航点航线",
        value:"waypoint"
    },{
        label:"面状航线",
        value:"mapping2d"
    }
]

export const flyToWaylineModeOptions = [
    {
        label:"安全模式",
        value:"safely"
    },{
        label:"倾斜飞行模式",
        value:"pointToPoint"
    }
]

export const finishActionOptions = [
    {
        label:"返航",
        value:"goHome"
    },{
        label:"原地降落",
        value:"autoLand"
    },{
        label:"返回起始点",
        value:"gotoFirstWaypoint"
    }
]

export const exitOnRCLostOptions = [
    {
        label:"继续执行航线",
        value:"goContinue"
    },{
        label:"执行失控动作",
        value:"executeLostAction"
    }
]

export const executeRCLostActionOptions = [
    {
        label:"返航",
        value:"goBack"
    },{
        label:"降落",
        value:"landing"
    },{
        label:"悬停",
        value:"hover"
    }
]

// 航线基本信息
export const missionConfigOptions = {
    flyToWaylineMode:[          // 飞向首航点模式
        {
            label:"安全模式",
            value:"safely"
        },{
            label:"倾斜飞行模式",
            value:"pointToPoint"
        }
    ],
    finishAction:[           // 航线结束动作
        {
            label:"返航",
            value:"goHome"
        },{
            label:"原地降落",
            value:"autoLand"
        },{
            label:"返回起始点",
            value:"gotoFirstWaypoint"
        }
    ],
    exitOnRCLost:[           // 失控是否继续执行航线
        {
            label:"继续执行航线",
            value:"goContinue"
        },{
            label:"执行失控动作",
            value:"executeLostAction"
        }
    ],
    executeRCLostAction:[           // 失控动作类型
        {
            label:"返航",
            value:"goBack"
        },{
            label:"降落",
            value:"landing"
        },{
            label:"悬停",
            value:"hover"
        }
    ]
}

// 航点信息
export const folderConfigOptions = {
    executeHeightMode:[             // 高度模式
        {
            label:"椭球高模式",
            value:"WGS84"
        },{
            label:"相对起飞点模式",
            value:"relativeToStartPoint"
        },{
            label:"实时仿地模式",
            value:"realTimeFollowSurface"
        }
    ]
}


// 飞行器信息
export const pointConfigOptions = {
    waypointHeadingMode:[                // 飞行器偏航角模式
        {
            label:"沿航线方向",
            value:"followWayline"
        },{
            label:"手动控制",
            value:"manually"
        },{
            label:"锁定当前偏航角",
            value:"smoothTransition"
        },{
            label:"自定义",
            value:"smoothTransition",
        },{
            label:"朝向兴趣点",
            value:"towardPOI",
        }
    ],
    waypointHeadingPathMode:[             // 飞行器偏航角转动方向

    ],
                
}