Skip to content

ArduPlane: Add RTL_RADIUS and RTL_AUTOLAND to Flight Safety page#14243

Merged
DonLakeFlyer merged 1 commit intomavlink:masterfrom
DonLakeFlyer:plane-rtl-safety-params
Mar 30, 2026
Merged

ArduPlane: Add RTL_RADIUS and RTL_AUTOLAND to Flight Safety page#14243
DonLakeFlyer merged 1 commit intomavlink:masterfrom
DonLakeFlyer:plane-rtl-safety-params

Conversation

@DonLakeFlyer
Copy link
Copy Markdown
Collaborator

Summary

Add RTL_RADIUS (loiter radius) and RTL_AUTOLAND (auto land after RTL) to the fixed-wing Return to Launch section of the Flight Safety config page.

Also adds smallFont support to the config QML generator's label control, used here for a helper note below RTL_RADIUS explaining that 0 uses WP_LOITER_RAD and negative values mean counter-clockwise.

Changes

  • APMFlightSafety.VehicleConfig.json: Add RTL_RADIUS (textfield), helper label (small font, indented), and RTL_AUTOLAND (combobox) to the fixedWing RTL section
  • tools/generators/common/controls.py: Add small_font parameter to render_label() — emits font.pointSize: ScreenTools.smallFontPointSize when true
  • tools/generators/config_qml/page_generator.py: Add smallFont field to ControlDef, wire JSON parsing and label rendering

Closes #14198

Add RTL_RADIUS (loiter radius) and RTL_AUTOLAND (auto land after RTL)
to the fixed-wing Return to Launch section.

Also add smallFont support to the config QML generator's label control
for rendering helper text in a smaller font size.

Closes mavlink#14198

This comment was marked as resolved.

@github-actions
Copy link
Copy Markdown
Contributor

Build Results

Platform Status

Platform Status Details
Linux Passed View
Windows Passed View
MacOS Passed View
Android Passed View

All builds passed.

Pre-commit

Check Status Details
pre-commit Failed (non-blocking) View

Pre-commit hooks: 4 passed, 32 failed, 7 skipped.

Test Results

linux-sanitizers: 67 passed, 0 skipped
linux_gcc_64: 67 passed, 0 skipped
Total: 134 passed, 0 skipped

Artifact Sizes

Artifact Size
QGroundControl 248.05 MB
QGroundControl 338.19 MB
QGroundControl-aarch64 177.30 MB
QGroundControl-installer-AMD64 134.98 MB
QGroundControl-installer-AMD64-ARM64 77.60 MB
QGroundControl-installer-ARM64 106.30 MB
QGroundControl-mac 188.67 MB
QGroundControl-windows 188.70 MB
QGroundControl-x86_64 172.44 MB
No baseline available for comparison---
Updated: 2026-03-30 02:29:38 UTC • Triggered by: Android

@DonLakeFlyer DonLakeFlyer merged commit 015111e into mavlink:master Mar 30, 2026
68 of 71 checks passed
@DonLakeFlyer DonLakeFlyer deleted the plane-rtl-safety-params branch March 30, 2026 03:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ArduPlane Vehicle Config: missing setup pages

2 participants