psdk3.0 osdk转接板连接飞机后外接供电口没电
Completed刚收到osdk套件,连接飞机后,万用表测量供电口没电,树莓派上没有找到ttyACM相关设备
-
关于OSDK转接板取电和USB识别问题,主要与硬件相关。建议先确认一下OSDK转接板的type C接头与飞机的OSDK type C接口连接是否良好,尤其是新飞机和新转接板,有可能存在接口胶头吻合不是特别好导致接触不良的现象。建议先检查硬件后直接申请产品售后 1、OSDK转接板取不到电的问题,若连接无问题,请直接联系support@dji.com,申请硬件售后 2、机载计算机识别不到ACM设备问题, a、机载计算机上需要安装ACM驱动,可正常识别ACM设备 b、连接双A USB至OSDK转接板的USB接口,无人机上电 c、可以通过双A USB连接OSDK转接板的USB接口,至PC windows USB接口,然后通过windows设备管理器看是否可以正常识别到USB 设备,若可以,需要检查机载端,若不可以,建议直接申请硬件售后。 ![](https://djisdksupport.zendesk.com/attachments/token/JKtZpnmkL40DHEoNozmJH5mEa/?name=inline-629263475.png) -
现在acm设备识别到了,但是启动出现了错误
pi@raspberrypi:/data/Payload_SDK_5G/build $ sudo ./bin/dji_sdk_demo_linux
[0.000][core]-[Info]-[DjiCore_Init:89) Payload SDK Version : V3.0.0-beta.0-build.1433
[1.360][utils]-[Info]-[DjiSdkVersionAck_Parse:183) Identify aircraft serial number = 1ZNBJAE00C00QT, Firmware = 3.4.8.93
[1.363][adapter]-[Info]-[DjiAccessAdapter_Init:149) Identify aircraft series is Matrice 300 Series
[1.363][adapter]-[Info]-[DjiAccessAdapter_Init:166) Identify mount position type is Extension Port Type
[2.522][core]-[Info]-[DjiIdentityVerify_UpdatePolicy:414) Updating dji sdk policy file...
[3.522][core]-[Info]-[DjiIdentityVerify_UpdatePolicy:417) Update dji sdk policy file successfully
[3.527][core]-[Info]-[DjiCore_Init:148) Identify AircraftType = Matrice 300 RTK, MountPosition = Extension Port, SdkAdapterType = None
[7.032][core]-[Info]-[DjiCore_ApplicationStart:199) Start dji sdk application
[7.032][user]-[Info]-[DjiTest_CameraManagerRunSample:776) Camera manager sample start
[7.032][user]-[Info]-[DjiTest_CameraManagerRunSample:779) --> Step 1: Init camera manager module
[8.081][user]-[Info]-[DjiTest_CameraManagerRunSample:787) --> Step 2: Get camera type and version
[8.582][linker]-[Warn]-[DjiCommand_SendAsyncHandle:860) Command async send retry: index = 0, retryTimes = 3, cmdSet = 0, cmdId = 1
[9.084][linker]-[Warn]-[DjiCommand_SendAsyncHandle:860) Command async send retry: index = 0, retryTimes = 2, cmdSet = 0, cmdId = 1
[9.585][linker]-[Warn]-[DjiCommand_SendAsyncHandle:860) Command async send retry: index = 0, retryTimes = 1, cmdSet = 0, cmdId = 1
[10.087][linker]-[Error]-[DjiCommand_SendAsyncHandle:872) Command async send error 0
[10.087][linker]-[Error]-[DjiCommand_SendSync:475) sendSync callback timeout
[10.087][cmu]-[Error]-[DjiCameraManager_GetCameraType:284) Get mount position 1 camera version error,error code: 0x000000E1.
[10.087][cmu]-[Error]-[DjiCameraManager_GetCameraType:285) Execution timeout. Suggestion : Please contact DJI for help.
[10.087][user]-[Error]-[DjiTest_CameraManagerRunSample:791) Get mounted position 1 camera's type failed, error code: 0x000000E1dji_sdk_demo_linux: ../../libusb/os/threads_posix.h:58: usbi_mutex_destroy: Assertion `pthread_mutex_destroy(mutex) == 0' failed.
已放弃 -
OSDK提供多个功能,您测试的这个功能是camera manager(相机管理功能),此功能没有相机负载是不可用的。 关于OSDK功能,可以先参考4.1版本文档介绍,PSDK 3.0中的OSDK功能与4.1版本中基本是一致的,部分功能可能有调整,以实际PSDK 3.0中提供的API为准。 https://developer.dji.com/cn/document/bf0278bd-37d9-4541-b27a-2854dcf1f6f7 -
是否指的是M300 FPV相机视频流? 若是,参考以下步骤,运行sample:./dji_sdk_demo_linux_cxx ![](https://djisdksupport.zendesk.com/attachments/token/xNA1j8V5C3XoHrVlKzmbtvge8/?name=inline567797728.png) 相机负载挂载位置(PSDK开发的负载也是一样的),挂载到云台口分别对应: m < ------ > 主云台口(飞机朝向左侧云台口) v < ------ > 副云台口(飞机朝向右侧云台口) t < ------ > 上云台口 可以先跑下sample,对应代码来了解一下OSDK的功能。
Please sign in to leave a comment.
Comments
10 comments