御3红外版PSDK 3.8初始化失败问题
Completed树莓派4b连接cp2102串口线,再通过E-port开发者套件连接到御3红外版(固件是9.0)
运行psdk的sample程序的时候,可以识别出飞机,但是初始化的时候出现下面错误:
pi@raspberrypi:~/Payload-SDK/build $ sudo bin/dji_sdk_demo_linux
'Logs/latest.log' -> 'DJI_0013_20240319_11-02-03.log'
[0.012][core]-[Info]-[DjiCore_Init:101) Payload SDK Version : V3.8.0-beta.0-build.1929
[0.284][adapter]-[Info]-[DjiAccessAdapter_Init:228) Identify aircraft series is Mavic 3 Series
[0.284][adapter]-[Info]-[DjiAccessAdapter_Init:261) Identify mount position type is Extension Port Type
[0.294][adapter]-[Info]-[DjiAccessAdapter_Init:362) Identity uart0 baudrate is 921600 bps
[2.313][adapter]-[Info]-[DjiPayloadNegotiate_Init:219) Waiting payload negotiate finish.
[3.313][adapter]-[Info]-[DjiPayloadNegotiate_Init:219) Waiting payload negotiate finish.
[4.314][adapter]-[Info]-[DjiPayloadNegotiate_Init:219) Waiting payload negotiate finish.
[5.314][adapter]-[Info]-[DjiPayloadNegotiate_Init:219) Waiting payload negotiate finish.
[6.314][adapter]-[Info]-[DjiPayloadNegotiate_Init:219) Waiting payload negotiate finish.
[7.314][adapter]-[Error]-[DjiAccessAdapter_Init:373) Payload negotiate error, returnCode = 225
[7.314][adapter]-[Error]-[DjiAccessAdapter_Init:379) Payload negotiate error, returnCode = 225
请问是什么问题?怎么解决?
-
您好,这个是NETWORK这个链路不通或者您没配置对导致的,您可以参考下这篇文章树莓派的配置: https://developer.dji.com/doc/payload-sdk-tutorial/cn/quick-start/quick-guide/raspberry-pi.html >另外E-port那边可以设置为device,然后树莓派为host,然后进行控制么? 很抱歉,此无人机只能作为Host,不支持作为Device设备,而且您控制的话也是需要通过PSDK里的接口进行控制的。 -
感谢您的耐心等待,您可以从此处下载镜像: https://pan-sec.djicorp.com/s/cn78s3Gn2zcagon
Please sign in to leave a comment.
Comments
9 comments