M300RTK psdk 3.9 运行示例程序报错
已完成无人机: M300RTK
开发套件:OSDK拓展板,连接OSDK接口
PSDK: 3.9
消息订阅一直没有获正确的数据,导致起飞失败,运行示例0时也无法正常获取数据,速度和四元数都是零
执行 [1] Flight controller sample - take off landing
[139.324][flight]-[Warn]-[DjiFlightController_RegJoystickCtrlAuthorityEventCallback:694) Not support on this aircraft type.
[139.324][user]-[Info]-[DjiTest_FlightControlTakeOffLandingSample:255) Flight control takeoff-landing sample start
[139.324][user]-[Info]-[DjiTest_FlightControlTakeOffLandingSample:257) --> Step 1: Obtain joystick control authority.
[140.344][user]-[Info]-[DjiTest_FlightControlTakeOffLandingSample:266) --> Step 2: Take off
[142.367][user]-[Error]-[DjiTest_FlightControlMonitoredTakeoff:1170) Takeoff failed. Motors are not spinning.
[142.367][user]-[Error]-[DjiTest_FlightControlTakeOffLandingSample:269) Take off failed
[142.367][user]-[Info]-[DjiTest_FlightControlTakeOffLandingSample:294) Flight control takeoff-landing sample end
-
您好,抱歉,我们确认了下您遇到的问题,3.9.0版本的PSDK,M300机型会存在订阅异常的问题,您可以基于此版本进行开发,此版本是修复了订阅异常问题,其他的代码与3.9.0正式版本保持一致。https://pan-sec.djicorp.com/s/gw6NNtjTfAAEeWq -
缺少了 aarch64-linux-gnu-gcc/libpayloadsdk.a,编译不过
make[2]: *** No rule to make target '../samples/sample_c++/platform/linux/nvidia_jetson/../../../../../psdk_lib/lib/aarch64-linux-gnu-gcc/libpayloadsdk.a', needed by 'bin/dji_sdk_demo_on_jetson_cxx'. Stop.
CMakeFiles/Makefile2:122: recipe for target 'samples/sample_c++/platform/linux/nvidia_jetson/CMakeFiles/dji_sdk_demo_on_jetson_cxx.dir/all' failed
make[1]: *** [samples/sample_c++/platform/linux/nvidia_jetson/CMakeFiles/dji_sdk_demo_on_jetson_cxx.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2 -
您好,您可以从此处下载: https://pan-sec.djicorp.com/s/tqmDkkPLkBRG9p8
请先登录再写评论。
评论
12 条评论