能否通过OSDK的API函数实时控制H20T的变焦倍数,即要5倍时,设置成5倍,要10倍时设置成10倍?

Completed

Comments

1 comment

  • DJI Developer Support
    OSDK提供的相机管理功能可以设置H20变焦镜头的变焦参数,参考API: /*! @brief set parameters for camera optical zooming, blocking calls * * @platforms M210V2, M300 * @note It is only supported by X5, X5R and X5S camera on Osmo with lens * Olympus M.Zuiko ED 14-42mm f/3.5-5.6 EZ, Z3 camera, Z30 camera. * @note In this interface, the zoom will set the zoom factor as the your * target value. * @param index payload node index, input limit see enum * DJI::OSDK::PayloadIndexType * @param factor target zoom factor * @return ErrorCode::ErrorCodeType error code */ ErrorCode::ErrorCodeType setOpticalZoomFactorSync(PayloadIndexType index, float factor, int timeout);
    0
    Comment actions Permalink

Please sign in to leave a comment.