【PSDK】自定义控件,云台报错
Completed想请教一下,云台参数不支持是什么意思?
控件上的报错是我控件图片太大了吗?怎么控件都加载不出来了?
[17:52:22.736]收←◆[32m[2.452][core]-[Info]-[DjiCore_Init:104) Payload SDK Version : V3.8.0-beta.0-build.2006 [0m
[17:52:26.783]收←◆[32m[6.513][adapter]-[Info]-[DjiAccessAdapter_Init:213) Try identify UART0 connection failed. Probably because SDK adapter or aircraft not finish init or UART connect error. [0m
[17:52:27.150]收←◆[32m[6.883][adapter]-[Info]-[DjiAccessAdapter_Init:230) Identify aircraft series is Matrice 350 Series [0m
[32m[6.883][adapter]-[Info]-[DjiAccessAdapter_Init:263) Identify mount position type is Payload Port Type [0m
[32m[6.884][adapter]-[Info]-[DjiAccessAdapter_Init:365) Identity uart0 baudrate is 460800 bps [0m
[32m[6.890][adapter]-[Info]-[DjiPayloadNegotiate_Init:234) Waiting payload negotiate finished. [0m
[17:52:28.159]收←◆[32m[7.890][adapter]-[Info]-[DjiPayloadNegotiate_Init:238) No need wait negotiate finished [0m
[32m[7.891][core]-[Info]-[DjiIdentityVerify_UpdatePolicy:474) Updating dji sdk policy file... [0m
[17:52:29.151]收←◆[32m[8.892][core]-[Info]-[DjiIdentityVerify_UpdatePolicy:482) Update dji sdk policy file successfully [0m
[17:52:30.175]收←◆[32m[9.921][infor]-[Info]-[DjiAircraftInfo_GetAdapterSerialNumber:805) Get serial number of Skyport V2 or X-Port is 39CDLBB0010137 [0m
[32m[9.943][core]-[Info]-[DjiCore_Init:170) Identify AircraftType = Matrice 350 RTK, MountPosition = Payload Port NO1, SdkAdapterType = Skyport V2 [0m
[17:52:30.255]收←◆[32m[10.001][user]-[Info]-[DjiUser_MonitorTask:521) Used heap size: 42120/75000.
[0m
[17:52:30.735]收←◆[32m[10.485][time_sync]-[Info]-[DjiTimeSync_PushAppTimeHandle:109) Current time: 2024.05.20 17:52:27. [0m
[17:52:32.014]收←◆[31m[11.773][downloader]-[Error]-[DjiDownloadFile_GetObject:137) Can't find download data object [0m
[31m[11.773][downloader]-[Error]-[DjiDownloadDataList_Init:96) Can't get download file object, type = 20 [0m
[31m[11.773][downloader]-[Error]-[DjiDataDownloader_DataStartSend:408) Download data init error, stat = 0x000000E2 [0m
[31m[11.774][downloader]-[Error]-[DjiDataDownloader_EventException:768) Run Event Function Exception ! srcState = 0, event = -1 [0m
[17:52:35.854]收←◆[32m[15.637][core]-[Info]-[DjiCore_ApplicationStart:230) Start dji sdk application [0m
[17:52:36.815]收←◆[31m[16.587][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 6. [0m
[31m[16.588][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 7. [0m
[17:52:37.134]收←◆[32m[16.915][infor]-[Info]-[DjiAircraftInfo_NotifyMobileAppInfoHandle:713) Set mobile app info, language is Chinese, screen type is Big Screen [0m
[17:52:37.806]收←◆[31m[17.590][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 6. [0m
[31m[17.591][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 7. [0m
[17:52:38.798]收←◆[31m[18.595][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 6. [0m
[31m[18.595][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 7. [0m
[17:52:39.806]收←◆[31m[19.599][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 6. [0m
[31m[19.603][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 7. [0m
[17:52:40.206]收←◆[32m[20.003][user]-[Info]-[DjiUser_MonitorTask:521) Used heap size: 70408/75000.
[0m
[17:52:40.799]收←◆[31m[20.604][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 6. [0m
[31m[20.604][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 7. [0m
[17:52:41.806]收←◆[31m[21.608][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 6. [0m
[31m[21.609][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 7. [0m
[17:52:42.102]收←◆[31m[21.894][widget]-[Error]-[DjiDownloadFileWidget_GeneratedFileInfoList:289) Malloc error [0m
[31m[21.894][widget]-[Error]-[DjiDownloadFileWidget_GenerateFileList:172) Generate file info list error, stat = 0x000000E2 [0m
[31m[21.895][downloader]-[Error]-[DjiDownloadDataList_Init:104) File list generate error, stat = 0x000000E2 [0m
[31m[21.898][downloader]-[Error]-[DjiDataDownloader_DataStartSend:408) Download data init error, stat = 0x000000E2 [0m
[31m[21.898][downloader]-[Error]-[DjiDataDownloader_EventException:768) Run Event Function Exception ! srcState = 0, event = -1 [0m
[17:52:42.806]收←◆[31m[22.613][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 6. [0m
[31m[22.614][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 7. [0m
[17:52:43.814]收←◆[31m[23.619][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 6. [0m
[31m[23.620][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 7. [0m
[17:52:44.806]收←◆[31m[24.624][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 6. [0m
[31m[24.624][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 7. [0m
[17:52:45.798]收←◆[31m[25.625][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 6. [0m
[31m[25.626][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 7. [0m
[17:52:46.277]收←◆[31m[26.105][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 6. [0m
[31m[26.105][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 7. [0m
[17:52:46.806]收←◆[31m[26.629][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 6. [0m
[31m[26.630][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 7. [0m
[17:52:47.798]收←◆[31m[27.634][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 6. [0m
[31m[27.636][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 7. [0m
[17:52:48.806]收←◆[31m[28.639][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 6. [0m
[31m[28.639][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 7. [0m
[17:52:49.813]收←◆[31m[29.645][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 6. [0m
[31m[29.646][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 7. [0m
[17:52:50.165]收←◆[32m[30.005][user]-[Info]-[DjiUser_MonitorTask:521) Used heap size: 71528/75000.
[0m
[31m[30.021][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 6. [0m
[31m[30.021][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 7. [0m
[17:52:50.806]收←◆[31m[30.649][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 6. [0m
[31m[30.650][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 7. [0m
[17:52:52.006]收←◆[31m[31.850][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 6. [0m
[31m[31.851][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 7. [0m
[17:52:52.810]收←◆[31m[32.648][widget]-[Error]-[DjiDownloadFileWidget_GeneratedFileInfoList:289) Malloc error [0m
[31m[32.648][widget]-[Error]-[DjiDownloadFileWidget_GenerateFileList:172) Generate file info list error, stat = 0x000000E2 [0m
[31m[32.649][downloader]-[Error]-[DjiDownloadDataList_Init:104) File list generate error, stat = 0x000000E2 [0m
[31m[32.650][downloader]-[Error]-[DjiDataDownloader_DataStartSend:408) Download data init error, stat = 0x000000E2 [0m
[31m[32.650][downloader]-[Error]-[DjiDataDownloader_EventException:768) Run Event Function Exception ! srcState = 0, event = -1 [0m
[31m[32.655][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 6. [0m
[31m[32.656][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 7. [0m
[17:52:53.802]收←◆[31m[33.662][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 6. [0m
[31m[33.663][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 7. [0m
[17:52:54.810]收←◆[31m[34.665][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 6. [0m
[31m[34.667][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 7. [0m
[17:52:55.802]收←◆[31m[35.669][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 6. [0m
[31m[35.669][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 7. [0m
[17:52:56.810]收←◆[31m[36.673][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 6. [0m
[31m[36.673][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 7. [0m
[17:52:57.802]收←◆[31m[37.676][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 6. [0m
[31m[37.677][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 7. [0m
[17:52:58.810]收←◆[31m[38.682][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 6. [0m
[31m[38.682][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 7. [0m
[17:52:59.802]收←◆[31m[39.686][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 6. [0m
[31m[39.686][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 7. [0m
[17:53:00.122]收←◆[32m[40.006][user]-[Info]-[DjiUser_MonitorTask:521) Used heap size: 71896/75000.
[0m
[17:53:00.810]收←◆[31m[40.690][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 6. [0m
[31m[40.691][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 7. [0m
[17:53:01.802]收←◆[31m[41.694][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 6. [0m
[31m[41.695][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 7. [0m
[17:53:02.810]收←◆[31m[42.698][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 6. [0m
[31m[42.699][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 7. [0m
[17:53:03.802]收←◆[31m[43.703][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 6. [0m
[31m[43.705][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 7. [0m
[17:53:05.801]收←◆[31m[45.712][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 6. [0m
[31m[45.713][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 7. [0m
[17:53:09.801]收←◆[31m[49.733][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 6. [0m
[31m[49.733][gimbal]-[Error]-[DjiGimbal_GetUserParameterHandle:1125) parameter id is not supported: 7. [0m
[17:53:13.978]收←◆[31m[53.932][linker]-[Error]-[DjiCommand_SendSync:525) malloc memory for syncInfo fail. [0m
[31m[53.932][battery]-[Error]-[DjiBattery_GetSingleBatteryDynamicInfo:198) Subscribe battery info failed, error : 0x000000E2. [0m
[31m[53.932][linker]-[Error]-[DjiCommand_SendSync:525) malloc memory for syncInfo fail. [0m
[31m[53.934][battery]-[Error]-[DjiBattery_GetSingleBatteryDynamicInfo:198) Subscribe battery info failed, error : 0x000000E2. [0m
-
您好,这个是内存分配错误,这个应该是您的控件图标过大了。您可以用此处DJI 提供的Sketch 文件工具来设计自己的控件,https://developer.dji.com/doc/payload-sdk-tutorial/cn/function-set/basic-function/custom-widget.html
Please sign in to leave a comment.
Comments
2 comments