PSDK多次初始化失败
已完成我换了一个usbttl,但还是会经常初始化失败,修改波特率是在dji_sdk_app_info.h中修改#define USER_BAUD_RATE "230400"吗?我试了几个波特率,但是好像连接时所用的波特率并不是我指定的,我也看到过一些帖子说m350的波特率好像是会自动分配,并且我在多次运行PSDK并初始化失败后,会出现Try identify UART0 connection failed,之后就一直报uart0错误了,但是我查看dev中的设备,ttyusb0和ttyama0都是存在的,我用过两个usb ttl,FT232RL,CH340,但都不好使,你知道正确的设置波特率方式吗?还有如何解决我现在存在的问题
firefly@firefly:~/Payload-SDK/Payload-SDK-master/cmake-build-debug$ sudo ./bin/dji_sdk_demo_on_jetson_cxx
[0.003][core]-[Info]-[DjiCore_Init:106) Payload SDK Version : V3.9.1-beta.0-build.2090
[0.072][adapter]-[Info]-[DjiAccessAdapter_Init:231) Identify aircraft series is Matrice 350 Series
[0.072][adapter]-[Info]-[DjiAccessAdapter_Init:264) Identify mount position type is Extension Port Type
[0.078][adapter]-[Info]-[DjiAccessAdapter_Init:365) Identity uart0 baudrate is 230400 bps
[2.092][linker]-[Warn]-[DjiCommand_SendAsyncHandle:963) <0xe496>Command async send retry: index = 0, retryTimes = 3, 0x0A06->0x0306 0x0001
[4.093][linker]-[Warn]-[DjiCommand_SendAsyncHandle:963) <0xe496>Command async send retry: index = 0, retryTimes = 2, 0x0A06->0x0306 0x0001
[6.094][linker]-[Warn]-[DjiCommand_SendAsyncHandle:963) <0xe496>Command async send retry: index = 0, retryTimes = 1, 0x0A06->0x0306 0x0001
[8.095][linker]-[Error]-[DjiCommand_SendAsyncHandle:975) Command async send error 0
[8.095][linker]-[Error]-[DjiCommand_SendSync:550) sendSync callback timeout
terminate called after throwing an instance of 'std::runtime_error'
[8.095][auth]-[Error]-[DjiSdkActivate_GetDroneSWVersionSyncV1:235) Get drone version send error:0x000000E1.
what(): Core init error.
Aborted
firefly@firefly:~/Payload-SDK/Payload-SDK-master/cmake-build-debug$ sudo ./bin/dji_sdk_demo_on_jetson_cxx
[0.002][core]-[Info]-[DjiCore_Init:106) Payload SDK Version : V3.9.1-beta.0-build.2090
[2.365][adapter]-[Info]-[DjiAccessAdapter_Init:215) Try identify UART0 connection failed. Probably because SDK adapter or aircraft not finish init or UART connect error.
[4.766][adapter]-[Info]-[DjiAccessAdapter_Init:215) Try identify UART0 connection failed. Probably because SDK adapter or aircraft not finish init or UART connect error.
[7.168][adapter]-[Info]-[DjiAccessAdapter_Init:215) Try identify UART0 connection failed. Probably because SDK adapter or aircraft not finish init or UART connect error.
[9.570][adapter]-[Info]-[DjiAccessAdapter_Init:215) Try identify UART0 connection failed. Probably because SDK adapter or aircraft not finish init or UART connect error.
请先登录再写评论。
评论
1 条评论