dji_sdk_demo_linux_cxx可用x_port或者sportV2吗?
Completed运行dji_sdk_demo_linux_cxx报错 Permission denied terminate called after throwing an instance of 'std::runtime_error' what(): Please run this sample on extension port.
dji_sdk_demo_linux_cxx只适用eport接口?
-
您好,C++默认是给Extension端口使用的,如果您希望在云台口运行,需要在C++中将此段注释: if (aircraftInfoBaseInfo.mountPosition != DJI_MOUNT_POSITION_EXTENSION_PORT && DJI_MOUNT_POSITION_EXTENSION_LITE_PORT != aircraftInfoBaseInfo.mountPosition) { throw std::runtime_error("Please run this sample on extension port."); }
Please sign in to leave a comment.
Comments
1 comment