M300RTK WaypointV2 Action 聚焦动作设置失败
0
waypointV2ActionList.add(new WaypointV2Action.Builder()
.setActionID(5)
.setTrigger(new WaypointTrigger.Builder()
.setTriggerType(ActionTypes.ActionTriggerType.ASSOCIATE)
.setAssociateParam(new WaypointV2AssociateTriggerParam.Builder()
.setAssociateActionID(4)
.setAssociateType(ActionTypes.AssociatedTimingType.AFTER_FINISHED)
.setWaitingTime(0)
.build())
.build())
.setActuator(new WaypointActuator.Builder()
.setActuatorType(ActionTypes.ActionActuatorType.CAMERA)
.setCameraActuatorParam(new WaypointCameraActuatorParam.Builder()
.setCameraOperationType(ActionTypes.CameraOperationType.FOCUS)
.setFocusParam(new WaypointCameraFocusParam.Builder()
.focusTarget(new PointF(0.5f,0.5f))
.build())
.build())
.build())
.build());
上传Action时监听报错:the action actuator operation type is invalid而
变焦设置setFocalLength是没有问题的。
|
|
|
|