<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2" xmlns:wpml="http://www.dji.com/wpmz/1.0.2">
    <Document>
        <wpml:missionConfig>
            <wpml:flyToWaylineMode>safely</wpml:flyToWaylineMode>
            <wpml:finishAction>goHome</wpml:finishAction>
            <wpml:exitOnRCLost>executeLostAction</wpml:exitOnRCLost>
            <wpml:executeRCLostAction>goBack</wpml:executeRCLostAction>
            <!-- 安全起飞高度 -->
            <wpml:takeOffSecurityHeight>?</wpml:takeOffSecurityHeight>
            <!-- 参考起飞点 -->
            <wpml:takeOffRefPoint>?</wpml:takeOffRefPoint>
            <!-- 全局航线过渡速度[飞向首航点速度] -->
            <wpml:globalTransitionalSpeed>?</wpml:globalTransitionalSpeed>
            <!-- 飞行器信息 -->
            <wpml:droneInfo>
                <wpml:droneEnumValue>?</wpml:droneEnumValue>
                <wpml:droneSubEnumValue>?</wpml:droneSubEnumValue>
            </wpml:droneInfo>
            <!-- 负载信息 -->
            <wpml:payloadInfo>
                <wpml:payloadEnumValue>?</wpml:payloadEnumValue>
                <wpml:payloadSubEnumValue>?</wpml:payloadSubEnumValue>
                <wpml:payloadPositionIndex>?</wpml:payloadPositionIndex>
            </wpml:payloadInfo>
        </wpml:missionConfig>

        <Folder>
            <wpml:templateType>waypoint</wpml:templateType>
            <!-- 模板ID -->
            <wpml:templateId>?</wpml:templateId>
            <!-- 全局航线飞行速度 -->
            <wpml:autoFlightSpeed>?</wpml:autoFlightSpeed>
            <wpml:globalWaypointTurnMode>toPointAndStopWithDiscontinuityCurvature</wpml:globalWaypointTurnMode>
            <wpml:globalUseStraightLine>1</wpml:globalUseStraightLine>
            <wpml:gimbalPitchMode>usePointSetting</wpml:gimbalPitchMode>
            <!-- 全局航线高度（相对起飞点高度）-->
            <wpml:globalHeight>?</wpml:globalHeight>
            <wpml:waylineCoordinateSysParam>
                <wpml:coordinateMode>WGS84</wpml:coordinateMode>
                <wpml:heightMode>relativeToStartPoint</wpml:heightMode>
                <wpml:positioningType>GPS</wpml:positioningType>
                <!-- 飞行器离被摄面高度（相对地面高）-->
                <wpml:globalShootHeight>?</wpml:globalShootHeight>
            </wpml:waylineCoordinateSysParam>
            <wpml:globalWaypointHeadingParam>
                <wpml:waypointHeadingMode>followWayline</wpml:waypointHeadingMode>
                <wpml:waypointHeadingAngle>0</wpml:waypointHeadingAngle>
                <wpml:waypointHeadingPathMode>followBadArc</wpml:waypointHeadingPathMode>
            </wpml:globalWaypointHeadingParam>
            <Placemark>
                <Point>
                    <!-- 经度,纬度 -->
                    <coordinates>?</coordinates>
                </Point>
                <!-- 递增的 index -->
                <wpml:index>?</wpml:index>
                <!-- 全局航线高度（椭球高）选用相对起飞点高度则和下面一致 -->
                <wpml:ellipsoidHeight>?</wpml:ellipsoidHeight>
                <!-- 全局航线高度（EGM96海拔高）-->
                <wpml:height>?</wpml:height>
                <wpml:useGlobalHeight>1</wpml:useGlobalHeight>
                <wpml:useGlobalSpeed>1</wpml:useGlobalSpeed>
                <wpml:useGlobalHeadingParam>1</wpml:useGlobalHeadingParam>
                <wpml:useGlobalTurnParam>1</wpml:useGlobalTurnParam>
                <wpml:useStraightLine>1</wpml:useStraightLine>
                <wpml:gimbalPitchAngle>0.0</wpml:gimbalPitchAngle>
                <!-- 航点飞行速度 -->
                <wpml:waypointSpeed>?</wpml:waypointSpeed>
                <wpml:actionGroup>
                    <wpml:actionGroupId>0</wpml:actionGroupId>
                    <wpml:actionGroupStartIndex>0</wpml:actionGroupStartIndex>
                    <wpml:actionGroupEndIndex>0</wpml:actionGroupEndIndex>
                    <wpml:actionGroupMode>sequence</wpml:actionGroupMode>
                    <wpml:actionTrigger>
                        <wpml:actionTriggerType>reachPoint</wpml:actionTriggerType>
                    </wpml:actionTrigger>
                    <wpml:action>
                        <wpml:actionId>0</wpml:actionId>
                        <wpml:actionActuatorFunc>gimbalRotate</wpml:actionActuatorFunc>
                        <wpml:actionActuatorFuncParam>
                            <wpml:payloadPositionIndex>0</wpml:payloadPositionIndex>
                            <wpml:gimbalPitchRotateEnable>1</wpml:gimbalPitchRotateEnable>
                            <wpml:gimbalPitchRotateAngle>-90.0</wpml:gimbalPitchRotateAngle>
                            <wpml:gimbalRollRotateEnable>0</wpml:gimbalRollRotateEnable>
                            <wpml:gimbalRollRotateAngle>0.0</wpml:gimbalRollRotateAngle>
                            <wpml:gimbalYawRotateEnable>0</wpml:gimbalYawRotateEnable>
                            <wpml:gimbalYawRotateAngle>0.0</wpml:gimbalYawRotateAngle>
                            <wpml:gimbalRotateTimeEnable>1</wpml:gimbalRotateTimeEnable>
                            <wpml:gimbalRotateTime>0.0</wpml:gimbalRotateTime>
                        </wpml:actionActuatorFuncParam>
                    </wpml:action>
                    <wpml:action>
                        <wpml:actionId>1</wpml:actionId>
                        <wpml:actionActuatorFunc>takePhoto</wpml:actionActuatorFunc>
                        <wpml:actionActuatorFuncParam>
                            <wpml:payloadPositionIndex>0</wpml:payloadPositionIndex>
                            <!-- 图片格式列表 -->
                            <wpml:payloadLensIndex>?</wpml:payloadLensIndex>
                            <wpml:useGlobalPayloadLensIndex>1</wpml:useGlobalPayloadLensIndex>
                        </wpml:actionActuatorFuncParam>
                    </wpml:action>
                </wpml:actionGroup>
            </Placemark>
            <wpml:payloadParam>
                <wpml:payloadPositionIndex>0</wpml:payloadPositionIndex>
                <wpml:focusMode>firstPoint</wpml:focusMode>
                <wpml:meteringMode>average</wpml:meteringMode>
                <wpml:dewarpingEnable>0</wpml:dewarpingEnable>
                <wpml:returnMode>singleReturnStrongest</wpml:returnMode>
                <wpml:samplingRate>160000</wpml:samplingRate>
                <wpml:modelColoringEnable>0</wpml:modelColoringEnable>
                <!-- 图片格式列表 -->
                <wpml:imageFormat>?</wpml:imageFormat>
            </wpml:payloadParam>
            <Circle></Circle>
        </Folder>
    </Document>
</kml>
