连接FlyCart 30读取ttyUSB0出错 DjiAccessAdapter_Init:215
使用USB转TTL再转USB连接树莓派,发现有 /dev/ttyUSB0 口,编译运行PSDK示例出现以下错误:
[2.539][adapter]-[Info]-[DjiAccessAdapter_Init:215) Try identify UART0 connection failed. Probably because SDK adapter or aircraft not finish init or UART connect error.
-
您好,USB0一般是USB-TTL连接才有的,如果您是杜邦线直接连接板载串口,需要在树莓派上开启对应的串口以后再配置,可以参考此处:https://blog.csdn.net/FuckerGod/article/details/131232138?utm_medium=distribute.pc_relevant.none-task-blog-2~default~baidujs_baidulandingword~default-0-131232138-blog-136201093.235^v43^pc_blog_bottom_relevance_base3&spm=1001.2101.3001.4242.1&utm_relevant_index=3 -
在github上也发了帖子,那边有图片:
连接FlyCart 30读取ttyUSB0出错 DjiAccessAdapter_Init:215 · Issue #231 · dji-sdk/Payload-SDK
Please sign in to leave a comment.
Comments
5 comments