psdk使用相机功能失败
Completed仅开启CONFIG_MODULE_SAMPLE_CAMERA_EMU_ON和CONFIG_MODULE_SAMPLE_CAMERA_MEDIA_ON模块,运行dji_sdk_demo_linux报错,且遥控器端DJI PILOT2的云平台实时画面窗口无显示。请问这是什么错误?
用的硬件设备是开发板套件中的转接环Skyport V2固件版本是0.0.0.0,负载设备是1 SMP PREEMPT Debian 1:6.1.54-1+rpt2 (2023-10-05) aarch64 GNU/Linux。
具体报错如下:
0.029][core]-[Info]-[DjiCore_Init:101) Payload SDK Version : V3.7.0-beta.0-build.1906
[0.543][adapter]-[Info]-[DjiAccessAdapter_Init:224) Identify aircraft series is Matrice 300 Series
[0.543][adapter]-[Info]-[DjiAccessAdapter_Init:254) Identify mount position type is Payload Port Type
[0.555][adapter]-[Info]-[DjiAccessAdapter_Init:355) Identity uart0 baudrate is 921600 bps
[15.684][core]-[Info]-[DjiIdentityVerify_UpdatePolicy:482) Update dji sdk policy file successfully
[16.707][infor]-[Info]-[DjiAircraftInfo_GetAdapterSerialNumber:757) Get serial number of Skyport V2 or X-Port is 39CDKCS0010384
[16.719][core]-[Info]-[DjiCore_Init:169) Identify AircraftType = Matrice 300 RTK, MountPosition = Payload Port NO1, SdkAdapterType = Skyport V2
[17.253][user]-[Info]-[DjiTest_CameraEmuBaseStartService:1372) Get video stream remote address: 192.168.110.1, port: 23003
[17.462][time_sync]-[Info]-[DjiTimeSync_PushAppTimeHandle:111) Current time: 2024.04.25 16:48:18.
[19.562][user]-[Info]-[SetMode:207) set camera mode:1
[19.562][user]-[Info]-[StartRecordVideo:237) start record video
[20.336][core]-[Info]-[DjiCore_ApplicationStart:224) Start dji sdk application
[21.917][infor]-[Info]-[DjiAircraftInfo_NotifyMobileAppInfoHandle:666) Set mobile app info, language is Chinese, screen type is Big Screen
[21.979][downloader]-[Error]-[DjiDownloadFile_GetObject:137) Can't find download data object
[21.979][downloader]-[Error]-[DjiDownloadDataList_Init:96) Can't get download file object, type = 14
[21.979][downloader]-[Error]-[DjiDataDownloader_DataStartSend:408) Download data init error, stat = 0x000000E2
[21.979][downloader]-[Error]-[DjiDataDownloader_EventException:769) Run Event Function Exception ! srcState = 0, event = -1
[22.591][linker]-[Warn]-[DjiProtocol_v1Unpack:186) protocol frame crc16 error, exp:0x5420 cur:0x649C
[23.946][linker]-[Warn]-[DjiProtocol_v1Unpack:186) protocol frame crc16 error, exp:0x5E19 cur:0x5500
[26.047][linker]-[Warn]-[DjiProtocol_v1Unpack:186) protocol frame crc16 error, exp:0x95D0 cur:0x0101
[28.949][user]-[Info]-[SetMode:207) set camera mode:1
[29.222][infor]-[Info]-[DjiAircraftInfo_NotifyMobileAppInfoHandle:666) Set mobile app info, language is Chinese, screen type is Big Screen
[32.798][downloader]-[Error]-[DjiDownloadFile_GetObject:137) Can't find download data object
[32.798][downloader]-[Error]-[DjiDownloadDataList_Init:96) Can't get download file object, type = 14
[32.798][downloader]-[Error]-[DjiDataDownloader_DataStartSend:408) Download data init error, stat = 0x000000E2
[32.798][downloader]-[Error]-[DjiDataDownloader_EventException:769) Run Event Function Exception ! srcState = 0, event = -1
[33.962][utils]-[Error]-[DjiMsgq_Send:230) semaphore wait timeout
[33.962][linker]-[Error]-[DjiLinker_RecvTask:294) send msg to queue error
[33.973][utils]-[Error]-[DjiMsgq_Send:230) semaphore wait timeout
[33.973][linker]-[Error]-[DjiLinker_RecvTask:286) send msg to queue error
[33.984][utils]-[Error]-[DjiMsgq_Send:230) semaphore wait timeout
[33.984][linker]-[Error]-[DjiLinker_RecvTask:286) send msg to queue erro
-
感谢您的耐心等待, 如果是connect status async timeout,这个是串口指令发送失败的报错,如果频繁出现,您可以尝试调高波特率,另外可以更换USB-TTL FT232试试,近期有较多开发者反馈这个型号的USB-TTL相对来说会更稳定些。 关于SkyportV2升级失败的问题,您可以先用旧版的DA2软件升级试试:https://pan-sec.djicorp.com/s/tkYL4ERKD9k836s -
[116.225][downloader]-[Error]-[DjiDownloadFile_GetObject:137) Can't find download data object
[116.225][downloader]-[Error]-[DjiDownloadDataList_Init:96) Can't get download file object, type = 14
[116.225][downloader]-[Error]-[DjiDataDownloader_DataStartSend:407) Download data init error, stat = 0x000000E2
[116.225][downloader]-[Error]-[DjiDataDownloader_EventException:767) Run Event Function Exception ! srcState = 0, event = -1以上报错是什么问题?还是网口通信问题吗?但是能ping通192.168.110.1。
-
您可以先用旧版的DA2软件升级试试:https://pan-sec.djicorp.com/s/tkYL4ERKD9k836s
----链接是不是有问题,链接不是psdk?
Please sign in to leave a comment.
Comments
6 comments