Skip to content

ArduPilot: Review AVAILABLE_MODES_MONITOR discussion and clean up QGC standard modes handling #14713

Description

@DonLakeFlyer

Background

ArduPilot/ardupilot#33811 covers ArduPilot streaming AVAILABLE_MODES_MONITOR unconditionally after the first AVAILABLE_MODES request, which caused QGC to re-download the full mode list on every connect (see #14247). ArduPilot/ardupilot#33814 changes AP to only stream the monitor after the mode set actually changes.

Task

Review the full discussion in ArduPilot/ardupilot#33811 and clean up the QGC side accordingly. Items raised in the discussion that need review:

  • Verify QGC behaves correctly when it connects to a vehicle that is already streaming AVAILABLE_MODES_MONITOR (modes changed before connect / another GCS previously requested modes). Monitor messages received before QGC has requested AVAILABLE_MODES should be ignored without causing problems.
  • QGC currently requests modes one by one instead of using index 0 for "send all modes". Determine why (possibly a workaround for an old PX4 firmware bug) and switch to the single "send all" request if possible.
  • Re-verify against the new AP behavior (GCS_MAVLink: rework AVAILABLE_MODES_MONITOR to only stream after a change ArduPilot/ardupilot#33814) that QGC only downloads the mode list once on a normal connect, and re-downloads correctly when the mode set changes.

References

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions