我的照片hawk hardware(pixhawk1) does not connect when rc.txt is in SD card.

13 views (last 30 days)
lim daehee
lim daehee on 18 May 2020
Commented: Arun Mathamkode 2022年4月6日
我正在为PX4 Autopilot使用嵌入式编码器支持软件万博1manbetx包。
When I do the calibration for pixhawk, pixhawk is connected with qgroundcontrol well and the led also worked well.
However, when I put rc.txt file into the SD card, pixhawk cannot connect with qgroundcontrol with error message : 'The vehicle is not responding' and the led light does not flash(off).
I think no flash led means that the pixhawk doesn't booted and I don't know why my pixhawk is not booted.
1 Comment
R
R 2020年5月19日
When you put the rc.txt file , pixhawk tries to load your simulink software and not the deafult px4 software
that means 2 things
  1. the leds will blink only if you activated them in youre simulink app and build the code on pixhawk
  2. for pixhawk to communicate with QGC when youre simulink app is active you need to have several additional lines in the rc,.xt:
mavlink start -d /dev/ttyACM0 -m config –x
mavlink boot_complete

Sign in to comment.

Answers (1)

Arun Mathamkode
Arun Mathamkode 2021年11月11日
在Pixhawk USB上启用Mavlink将确保与QGC的连接。参考 this 文档。
3 Comments
Arun Mathamkode
Arun Mathamkode 2022年4月6日
基于我的理解,在Pixhawk中使用Mavlink块不是合乎逻辑的用例。PX4已经具有“ Mavlink”模块,该模块可以编码和解码数据并通过Pixhawk的不同串行接口进行流式传输。Mavlink块的主要用途是在主机PC或Companion Computer上使用它来读取/编写Mavlink消息。UORB消息是在PX4中的不同模块之间进行通信的方式。请参阅 PX4体系结构 UORB图 更多细节。我将推荐您在您要使用的任何特定串行接口上​​启用Mavlink流,PX4将负责编码Mavlink数据并将其发送到该规范接口。您可以考虑使用 mav_x_config parameter to enable MAVLink Telemetry. As per PX4 documentation, MAVlink is defaulty enabled over TELEM1 ( MAV_0_CONFIG), 如果您使用RCS作为启动脚本。 来自R2021B,我们建议将RCS用作启动脚本,而不是自定义RC.TXT。您可以选择在R2021B的硬件设置屏幕中选择此问题。

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

开始狩猎!

被某某人翻译