M3TD的zoom变焦参数无效
已完成M3TD设置zoom参数,再加上拍照动作,不管是拍照设置设置成zoom还是visable都无法使得后续的拍照有变焦效果,只有定向拍照中的属性设置才让该定向拍照有变焦效果,同时后续的拍照才有拍照效果。是M3TD的变焦参数zoom起作用需要什么额外的参数设置吗?
-
# 这是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>
请先登录再写评论。
评论
4 条评论