ArduPilot / ArduPilot/MissionPlanner
Scary error message displayed if connection is lost while using MAVFTP
- Dominant language
- C#
- Stars
- 2.4k
- Forks
- 2.9k
- Avg merge
- 19h 16m
- Merged PRs (30d)
- 4
Description

This scary looking error message is displayed if MP loses contact with the autopilot while the MAVFTP window is open. The particular case that I saw this was when [uncovering a potential but in the AP flight code related to MAVFTP](https://github.com/ArduPilot/ardupilot/issues/13536) but I suspect the message appears under any situation in which the connection is lost (i.e. the user accidentally disconnects the USB cable or telemetry radio).
We should display something nice like, "Connection lost" instead of this scary message.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at the MAVFTP window and reproduce the issue by disconnecting the autopilot or USB/telemetry connection while it is open. Trace the connection-loss handling and replace the scary error presentation with a clear “Connection lost” message, then verify the window behaves correctly after contact is lost.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100