mavlink / qgroundcontrol

Cross-platform ground control station for drones (Android, iOS, Mac OS, Linux, Windows)
http://qgroundcontrol.io
3.22k stars 3.55k forks source link

Freeze Caused By Frequent MAVLink Messages #11602

Open flyingthingsintothings opened 3 months ago

flyingthingsintothings commented 3 months ago

Expected Behavior

When QGroundControl receivers frequent MAVLink messages, it should display all of them without issues under the panel that opens by clicking the megaphone (or error sign) in the top-left.

Current Behavior

When messages occur very frequently (every 100ms for example), QGroundControl freezes after a while. The freeze occurs after around 10 to 20 seconds of receiving these messages.

Steps to Reproduce:

Please provide an unambiguous set of steps to reproduce the current behavior

  1. Create a build of autopilot firmware that outputs lots of messages to the ground control station.
  2. Flash it on a flight controller.
  3. Connect to it using QGroundControl and wait around 20 seconds.

System Information

When posting bug reports, include the following information

Detailed Description

\/

Log Files and Screenshots

HTRamsey commented 3 months ago

On which link type?

flyingthingsintothings commented 3 months ago

Pixhawk 6X connected over USB to the laptop running QGroundControl. I don't have a telemetry connection set up for wireless communication as it is for testing and development only (but I do have one available for testing if necessary).

HTRamsey commented 3 months ago

I tried turning a ton of messages to 100Hz without any problem so I think this is most likely specific to GCS_SEND_TEXT which sends a MAVLINK_MSG_ID_STATUSTEXT which can be a costly message to send. I'll need to set up a lua script to send that message specifically to see, then I'll get back to you.