目前我正在尝试将覆盆子pi 3作为我的板载设备安装到我的M100上。我通过使用提供的UART串行电缆将UART_CAN2端口连接到我的pi的GND,TXD和RXD引脚来连接我的pi。我正在使用DJI在Github上提供的SDK的3.1分支,它与M100兼容。当我尝试从我的构建目录执行djiosdk-linux-sample时,会出现:
User Configuration read successfully.
These are your User_Config settings.
Serial port = /dev/ttyS0
Baudrate = 115200
Drone/FC Version: M100
SDK Version: 3.1
App ID: MY_APP_ID_XXXXXXX
App Key: MY_APP_KEY_XXXXXXXXXXXXXXXXXXXXXXX
Does everything look correct? If not, navigate to Linux/UserConfig.txt and make changes.
STATUS init,line 51: Attempting to open device /dev/ttyS0 with baudrate 115200...
STATUS init,line 60: ...Serial started successfully.
Attempting activation..
Automatic activation successful.
Failed to obtain control.
Your RC mode switch is not in mode F. (Is the RC connected and paired?)
This program will exit now.
我知道之前已经问过这个问题,但我没有找到任何令人信服的答案。我的遥控器处于模式F,并且它在Assistant应用程序中被识别为。但是,我知道这不是问题。我从网上其他人那里听到(https://github.com/dji-sdk/Onboard-SDK/issues/77),遥控器及其模式不是问题的核心。有谁知道如何解决这个问题?任何帮助都会很棒。
谢谢, AWATHIEU