M300机型使用DJI Assistant2软件升级SkyportV2失败 需要安装包
已完成-
您好,您可以从此处下载DA2 v2.1.9版本:https://pan-sec.djicorp.com/s/jZ5FaMZw9rZYyET -
升级完了还是无法正常运行PSDK3.8.1
[0.001][core]-[Info]-[DjiCore_Init:105) Payload SDK Version : V3.8.1-beta.0-build.2006
[0.376][adapter]-[Info]-[DjiAccessAdapter_Init:231) Identify aircraft series is Matrice 300 Series
[0.376][adapter]-[Info]-[DjiAccessAdapter_Init:264) Identify mount position type is Payload Port Type
[0.382][adapter]-[Info]-[DjiAccessAdapter_Init:365) Identity uart0 baudrate is 460800 bps
[0.388][adapter]-[Info]-[DjiPayloadNegotiate_Init:234) Waiting payload negotiate finished.
[1.430][core]-[Info]-[DjiIdentityVerify_UpdatePolicy:474) Updating dji sdk policy file...
[2.430][core]-[Info]-[DjiIdentityVerify_UpdatePolicy:482) Update dji sdk policy file successfully
[3.456][infor]-[Info]-[DjiAircraftInfo_GetAdapterSerialNumber:806) Get serial number of Skyport V2 or X-Port is 39CBK350010095
[3.460][core]-[Info]-[DjiCore_Init:173) Identify AircraftType = Matrice 300 RTK, MountPosition = Payload Port NO3, SdkAdapterType = Skyport V2
terminate called after throwing an instance of 'std::runtime_error'
what(): Please run this sample on extension port. -
配置成 “DJI_USE_ONLY_UART” 程序可以执行,但似乎有些模块无法使用。
[7.057][flight]-[Error]-[DjiFlightController_Init:115) Don't support this module on this aircraft series and mount position
[10.451][liveview]-[Error]-[DjiLiveview_Init:257) Don't support this module
[10.694][liveview]-[Error]-[DjiLiveview_SetHandler:959) lock mutex error: 0x000000E3.
[10.694][liveview]-[Error]-[DjiLiveview_StopH264Stream:705) set callback and userdata for liveview failed.
[11.241][liveview]-[Error]-[DjiLiveview_FindLiveviewSource:1099) lock mutex error: 0x000000E3.
[11.241][liveview]-[Error]-[DjiLiveview_StartH264Stream:546) Can't find source, errno: 0x000000E3.
[11.241][widget]-[Error]-[DjiGimbalManager_Init:74) Don't support this module on this aircraft series and mount position
[11.241][user]-[Error]-[gimbalInit:34) Init gimbal manager failed, error code: 0x000000E0
[12.257][linker]-[Error]-[DjiCommand_RegRecvCmdHandler:648) duplicate the registered command, type:2, CA 01 02 80 FFFFFFFF
[12.257][linker]-[Error]-[DjiCommand_RegRecvCmdHandler:650) Have existed the same object. Suggestion : Please input valid parameters.
[12.257][collaboration]-[Error]-[DjiPayloadCollaboration_Init:135) Reg payload collaboration cmd handler error
[12.257][cmu]-[Error]-[DjiCameraManager_Init:296) Payload collaboration init failed, error code: 0x00000103.
[12.257][user]-[Error]-[cameraInit:64) Init camera manager failed, error code: 0x00000103如果配置成 “DJI_USE_UART_AND_NETWORK_DEVICE” 程序提示
[0.008][core]-[Info]-[DjiCore_Init:105) Payload SDK Version : V3.8.1-beta.0-build.2006
chmod: changing permissions of '/dev/ttyTHS0': Operation not permitted
chmod: changing permissions of '/dev/ttyTHS0': Operation not permitted
chmod: changing permissions of '/dev/ttyTHS0': Operation not permitted
chmod: changing permissions of '/dev/ttyTHS0': Operation not permitted
chmod: changing permissions of '/dev/ttyTHS0': Operation not permitted
[0.378][adapter]-[Info]-[DjiAccessAdapter_Init:231) Identify aircraft series is Matrice 300 Series
[0.378][adapter]-[Info]-[DjiAccessAdapter_Init:264) Identify mount position type is Payload Port Type
chmod: changing permissions of '/dev/ttyTHS0': Operation not permitted
[0.386][adapter]-[Info]-[DjiAccessAdapter_Init:365) Identity uart0 baudrate is 460800 bps
[0.388][adapter]-[Info]-[DjiPayloadNegotiate_Init:234) Waiting payload negotiate finished.
[1.388][adapter]-[Info]-[DjiPayloadNegotiate_Init:234) Waiting payload negotiate finished.
[2.388][adapter]-[Info]-[DjiPayloadNegotiate_Init:234) Waiting payload negotiate finished.
[3.389][adapter]-[Info]-[DjiPayloadNegotiate_Init:234) Waiting payload negotiate finished.
[4.389][adapter]-[Info]-[DjiPayloadNegotiate_Init:234) Waiting payload negotiate finished.
[5.389][adapter]-[Info]-[DjiPayloadNegotiate_Init:234) Waiting payload negotiate finished.
[6.389][adapter]-[Info]-[DjiPayloadNegotiate_Init:234) Waiting payload negotiate finished.
[7.389][adapter]-[Info]-[DjiPayloadNegotiate_Init:234) Waiting payload negotiate finished.
[8.389][adapter]-[Info]-[DjiPayloadNegotiate_Init:234) Waiting payload negotiate finished.
[9.389][adapter]-[Info]-[DjiPayloadNegotiate_Init:234) Waiting payload negotiate finished.
[10.389][adapter]-[Info]-[DjiPayloadNegotiate_Init:234) Waiting payload negotiate finished.
[21.410][adapter]-[Error]-[DjiAccessAdapter_Init:381) Payload negotiate error, returnCode = 225
[21.410][core]-[Error]-[DjiCore_Init:125) Access adapter init error, stat:225
terminate called after throwing an instance of 'std::runtime_error'
what(): Core init error. -
重启设备后再试了一下,配置成 “DJI_USE_UART_AND_NETWORK_DEVICE” 程序也提示
[7.057][flight]-[Error]-[DjiFlightController_Init:115) Don't support this module on this aircraft series and mount position
[10.451][liveview]-[Error]-[DjiLiveview_Init:257) Don't support this module
[10.694][liveview]-[Error]-[DjiLiveview_SetHandler:959) lock mutex error: 0x000000E3.
[10.694][liveview]-[Error]-[DjiLiveview_StopH264Stream:705) set callback and userdata for liveview failed.
[11.241][liveview]-[Error]-[DjiLiveview_FindLiveviewSource:1099) lock mutex error: 0x000000E3.
[11.241][liveview]-[Error]-[DjiLiveview_StartH264Stream:546) Can't find source, errno: 0x000000E3.
[11.241][widget]-[Error]-[DjiGimbalManager_Init:74) Don't support this module on this aircraft series and mount position
[11.241][user]-[Error]-[gimbalInit:34) Init gimbal manager failed, error code: 0x000000E0
[12.257][linker]-[Error]-[DjiCommand_RegRecvCmdHandler:648) duplicate the registered command, type:2, CA 01 02 80 FFFFFFFF
[12.257][linker]-[Error]-[DjiCommand_RegRecvCmdHandler:650) Have existed the same object. Suggestion : Please input valid parameters.
[12.257][collaboration]-[Error]-[DjiPayloadCollaboration_Init:135) Reg payload collaboration cmd handler error
[12.257][cmu]-[Error]-[DjiCameraManager_Init:296) Payload collaboration init failed, error code: 0x00000103.
[12.257][user]-[Error]-[cameraInit:64) Init camera manager failed, error code: 0x00000103 -
您好,如果您在云台口跑的是C++的sample,需要在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."); } 注释掉,另外云台口是不支持Liveview功能的,您这个报错是符合预期的,可以在此处查看不同端口所支持的功能。https://developer.dji.com/doc/payload-sdk-tutorial/cn/model-instruction/choose-develop-platform.html
请先登录再写评论。
评论
6 条评论