M3TD的zoom变焦参数无效

已完成

评论

4 条评论

  • DJI Developer Support
    尊敬的开发者, 您好,感谢您联系DJI 大疆创新。 方便发下航线文件吗? 希望我们的解决方案能够帮到您,感谢您的邮件,祝您生活愉快! Best Regards, DJI 大疆创新SDK技术支持
    0
    评论操作 固定链接
  • 970530464

    # 这是wmpl文件

    <?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>20.0</wpml:takeOffSecurityHeight>
          <wpml:globalTransitionalSpeed>4.0</wpml:globalTransitionalSpeed>
          <wpml:globalRTHHeight>100.0</wpml:globalRTHHeight>
          <wpml:droneInfo>
            <wpml:droneEnumValue>91</wpml:droneEnumValue>
            <wpml:droneSubEnumValue>1</wpml:droneSubEnumValue>
          </wpml:droneInfo>
          <wpml:payloadInfo>
            <wpml:payloadEnumValue>81</wpml:payloadEnumValue>
            <wpml:payloadSubEnumValue>0</wpml:payloadSubEnumValue>
            <wpml:payloadPositionIndex>0</wpml:payloadPositionIndex>
          </wpml:payloadInfo>
        </wpml:missionConfig>
        <Folder>
          <wpml:templateId>0</wpml:templateId>
          <wpml:waylineId>0</wpml:waylineId>
          <wpml:autoFlightSpeed>4.0</wpml:autoFlightSpeed>
          <wpml:executeHeightMode>relativeToStartPoint</wpml:executeHeightMode>
          <Placemark>
            <Point>
              <coordinates>113.358270,23.128558</coordinates>
            </Point>
            <wpml:index>0</wpml:index>
            <wpml:waypointSpeed>4.0</wpml:waypointSpeed>
            <wpml:useGlobalHeadingParam>1</wpml:useGlobalHeadingParam>
            <wpml:waypointHeadingParam>
              <wpml:waypointHeadingMode>followWayline</wpml:waypointHeadingMode>
              <wpml:waypointHeadingAngle>0</wpml:waypointHeadingAngle>
              <wpml:waypointHeadingAngleEnable>0</wpml:waypointHeadingAngleEnable>
              <wpml:waypointHeadingPathMode>followBadArc</wpml:waypointHeadingPathMode>
              <wpml:waypointPoiPoint>0.0,0.0,0.0</wpml:waypointPoiPoint>
            </wpml:waypointHeadingParam>
            <wpml:useGlobalTurnParam>1</wpml:useGlobalTurnParam>
            <wpml:waypointTurnParam>
              <wpml:waypointTurnMode>toPointAndStopWithDiscontinuityCurvature</wpml:waypointTurnMode>
              <wpml:waypointTurnDampingDist>0.0</wpml:waypointTurnDampingDist>
            </wpml:waypointTurnParam>
            <wpml:waypointGimbalHeadingParam>
              <wpml:waypointGimbalPitchAngle>0.0</wpml:waypointGimbalPitchAngle>
              <wpml:waypointGimbalYawAngle>0.0</wpml:waypointGimbalYawAngle>
            </wpml:waypointGimbalHeadingParam>
            <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>rotateYaw</wpml:actionActuatorFunc>
                <wpml:actionActuatorFuncParam>
                  <wpml:aircraftHeading>0.0</wpml:aircraftHeading>
                  <wpml:aircraftPathMode>counterClockwise</wpml:aircraftPathMode>
                </wpml:actionActuatorFuncParam>
              </wpml:action>
              <wpml:action>
                <wpml:actionId>1</wpml:actionId>
                <wpml:actionActuatorFunc>takePhoto</wpml:actionActuatorFunc>
                <wpml:actionActuatorFuncParam>
                  <wpml:payloadPositionIndex>0</wpml:payloadPositionIndex>
                  <wpml:fileSuffix>point1</wpml:fileSuffix>
                  <wpml:payloadLensIndex>visable</wpml:payloadLensIndex>
                  <wpml:useGlobalPayloadLensIndex>1</wpml:useGlobalPayloadLensIndex>
                </wpml:actionActuatorFuncParam>
              </wpml:action>
              <wpml:action>
                <wpml:actionId>2</wpml:actionId>
                <wpml:actionActuatorFunc>zoom</wpml:actionActuatorFunc>
                <wpml:actionActuatorFuncParam>
                  <wpml:payloadPositionIndex>0</wpml:payloadPositionIndex>
                  <wpml:focalLength>240.0</wpml:focalLength>
                </wpml:actionActuatorFuncParam>
              </wpml:action>
              <wpml:action>
                <wpml:actionId>3</wpml:actionId>
                <wpml:actionActuatorFunc>takePhoto</wpml:actionActuatorFunc>
                <wpml:actionActuatorFuncParam>
                  <wpml:payloadPositionIndex>0</wpml:payloadPositionIndex>
                  <wpml:fileSuffix>point1</wpml:fileSuffix>
                  <wpml:payloadLensIndex>visable</wpml:payloadLensIndex>
                  <wpml:useGlobalPayloadLensIndex>1</wpml:useGlobalPayloadLensIndex>
                </wpml:actionActuatorFuncParam>
              </wpml:action>
            </wpml:actionGroup>
            <wpml:executeHeight>93.5</wpml:executeHeight>
          </Placemark>
          <Placemark>
            <Point>
              <coordinates>113.366239,23.134391</coordinates>
            </Point>
            <wpml:index>1</wpml:index>
            <wpml:waypointSpeed>4.0</wpml:waypointSpeed>
            <wpml:useGlobalHeadingParam>1</wpml:useGlobalHeadingParam>
            <wpml:waypointHeadingParam>
              <wpml:waypointHeadingMode>followWayline</wpml:waypointHeadingMode>
              <wpml:waypointHeadingAngle>0</wpml:waypointHeadingAngle>
              <wpml:waypointHeadingAngleEnable>0</wpml:waypointHeadingAngleEnable>
              <wpml:waypointHeadingPathMode>followBadArc</wpml:waypointHeadingPathMode>
              <wpml:waypointPoiPoint>0.0,0.0,0.0</wpml:waypointPoiPoint>
            </wpml:waypointHeadingParam>
            <wpml:useGlobalTurnParam>1</wpml:useGlobalTurnParam>
            <wpml:waypointTurnParam>
              <wpml:waypointTurnMode>toPointAndStopWithDiscontinuityCurvature</wpml:waypointTurnMode>
            </wpml:waypointTurnParam>
            <wpml:useStraightLine>1</wpml:useStraightLine>
            <wpml:waypointGimbalHeadingParam>
              <wpml:waypointGimbalPitchAngle>0.0</wpml:waypointGimbalPitchAngle>
              <wpml:waypointGimbalYawAngle>0.0</wpml:waypointGimbalYawAngle>
            </wpml:waypointGimbalHeadingParam>
            <wpml:actionGroup>
              <wpml:actionGroupId>1</wpml:actionGroupId>
              <wpml:actionGroupStartIndex>1</wpml:actionGroupStartIndex>
              <wpml:actionGroupEndIndex>1</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>orientedShoot</wpml:actionActuatorFunc>
                <wpml:actionActuatorFuncParam>
                  <wpml:payloadPositionIndex>0</wpml:payloadPositionIndex>
                  <wpml:payloadLensIndex>visable</wpml:payloadLensIndex>
                  <wpml:useGlobalPayloadLensIndex>1</wpml:useGlobalPayloadLensIndex>
                  <wpml:focusX>0.0</wpml:focusX>
                  <wpml:focusY>0.0</wpml:focusY>
                  <wpml:focusRegionWidth>0.0</wpml:focusRegionWidth>
                  <wpml:focusRegionHeight>0.0</wpml:focusRegionHeight>
                  <wpml:focalLength>240.0</wpml:focalLength>
                  <wpml:gimbalPitchRotateAngle>0.0</wpml:gimbalPitchRotateAngle>
                  <wpml:gimbalRollRotateAngle>0.0</wpml:gimbalRollRotateAngle>
                  <wpml:gimbalYawRotateAngle>272.09</wpml:gimbalYawRotateAngle>
                  <wpml:aircraftHeading>272.09</wpml:aircraftHeading>
                  <wpml:accurateFrameValid>0</wpml:accurateFrameValid>
                  <wpml:targetAngle>0.0</wpml:targetAngle>
                  <wpml:actionUUID>535fbde6-f02f-48b3-88ef-f2f8b2d2dde4</wpml:actionUUID>
                  <wpml:imageWidth>0</wpml:imageWidth>
                  <wpml:imageHeight>0</wpml:imageHeight>
                  <wpml:AFPos>0</wpml:AFPos>
                  <wpml:gimbalPort>0</wpml:gimbalPort>
                  <wpml:orientedCameraType>81</wpml:orientedCameraType>
                  <wpml:orientedFilePath>535fbde6-f02f-48b3-88ef-f2f8b2d2dde4</wpml:orientedFilePath>
                  <wpml:orientedFileSize>0</wpml:orientedFileSize>
                  <wpml:orientedFileSuffix>point2</wpml:orientedFileSuffix>
                  <wpml:orientedPhotoMode>normalPhoto</wpml:orientedPhotoMode>
                </wpml:actionActuatorFuncParam>
              </wpml:action>
            </wpml:actionGroup>
            <wpml:actionGroup>
              <wpml:actionGroupId>2</wpml:actionGroupId>
              <wpml:actionGroupStartIndex>1</wpml:actionGroupStartIndex>
              <wpml:actionGroupEndIndex>2</wpml:actionGroupEndIndex>
              <wpml:actionGroupMode>sequence</wpml:actionGroupMode>
              <wpml:actionTrigger>
                <wpml:actionTriggerType>multipleDistance</wpml:actionTriggerType>
                <wpml:actionTriggerParam>3.0</wpml:actionTriggerParam>
              </wpml:actionTrigger>
              <wpml:action>
                <wpml:actionId>0</wpml:actionId>
                <wpml:actionActuatorFunc>takePhoto</wpml:actionActuatorFunc>
                <wpml:actionActuatorFuncParam>
                  <wpml:payloadPositionIndex>0</wpml:payloadPositionIndex>
                  <wpml:fileSuffix>point2</wpml:fileSuffix>
                  <wpml:payloadLensIndex>visable</wpml:payloadLensIndex>
                  <wpml:useGlobalPayloadLensIndex>1</wpml:useGlobalPayloadLensIndex>
                </wpml:actionActuatorFuncParam>
              </wpml:action>
            </wpml:actionGroup>
            <wpml:executeHeight>93.5</wpml:executeHeight>
          </Placemark>
          <Placemark>
            <Point>
              <coordinates>113.365092,23.133844</coordinates>
            </Point>
            <wpml:index>2</wpml:index>
            <wpml:waypointSpeed>4.0</wpml:waypointSpeed>
            <wpml:useGlobalHeadingParam>1</wpml:useGlobalHeadingParam>
            <wpml:waypointHeadingParam>
              <wpml:waypointHeadingMode>followWayline</wpml:waypointHeadingMode>
              <wpml:waypointHeadingAngle>0</wpml:waypointHeadingAngle>
              <wpml:waypointHeadingAngleEnable>0</wpml:waypointHeadingAngleEnable>
              <wpml:waypointHeadingPathMode>followBadArc</wpml:waypointHeadingPathMode>
              <wpml:waypointPoiPoint>0.0,0.0,0.0</wpml:waypointPoiPoint>
            </wpml:waypointHeadingParam>
            <wpml:useGlobalTurnParam>1</wpml:useGlobalTurnParam>
            <wpml:waypointTurnParam>
              <wpml:waypointTurnMode>toPointAndStopWithDiscontinuityCurvature</wpml:waypointTurnMode>
              <wpml:waypointTurnDampingDist>0.0</wpml:waypointTurnDampingDist>
            </wpml:waypointTurnParam>
            <wpml:waypointGimbalHeadingParam>
              <wpml:waypointGimbalPitchAngle>0.0</wpml:waypointGimbalPitchAngle>
              <wpml:waypointGimbalYawAngle>0.0</wpml:waypointGimbalYawAngle>
            </wpml:waypointGimbalHeadingParam>
            <wpml:executeHeight>93.5</wpml:executeHeight>
          </Placemark>
        </Folder>
      </Document>
    </kml>

    0
    评论操作 固定链接
  • 970530464

    这样的结果是第一个航点中第二个拍照点没有变焦效果,只有当在第二个航点中使用定向拍照才使得航点2到航点三之间的等距拍照起效果。所以得到现阶段的结论:M3TD的变焦效果不能通过zoom参数来实现,只能通过(zoom+)定向拍照才能有效果。是否说明M3TD无法通过zoom或者foucs实现变焦效果,还是说,使用的方式不对

    0
    评论操作 固定链接
  • DJI Developer Support
    尊敬的开发者, 您好,感谢您联系DJI 大疆创新。 在第一个航点第三个动作拍照加上zoom的存储格式重试下。 希望我们的解决方案能够帮到您,感谢您的邮件,祝您生活愉快! Best Regards, DJI 大疆创新SDK技术支持
    0
    评论操作 固定链接

请先登录再写评论。