请问控制H20T进行广角相机和变焦相机切换、读取激光测距仪测得的距离、读取计算出的目标GPS位置的API函数,是什么

Completed

Comments

3 comments

  • DJI Developer Support
    切换镜头的API: /*! @brief * Change the camera stream source from one payload device. (Beta API) * * @platforms M300 * @note Only support for payload device : H20/H20T * @param pos point out which camera to output the H264 stream * @param source change to be the target camera of the payload, ref to * LiveView::LiveViewCameraSource * @return Errorcode of liveivew, ref to DJI::OSDK::LiveView::LiveViewErrCode */ LiveViewErrCode changeH264Source(LiveViewCameraPosition pos, LiveViewCameraSource source); 当前OSDK不支持读取H20的激光测距数据
    0
    Comment actions Permalink
  • Hurd

    请问PSDK和MSDK有获取目标GPS位置的API吗?

    0
    Comment actions Permalink
  • DJI Developer Support
    PSDK用于集成第三方负载,不支持获取H20目标位置。MSDK则可以使用Camera类下的LaserMeasureInformation的getTargetLocation获取目标坐标。
    0
    Comment actions Permalink

Please sign in to leave a comment.