Repository navigation
Conversation
Signed-off-by: nflyernz <[email protected]>
Coverage Report for CI Build 40683293017Coverage remained the same at 93.542%Details
Uncovered ChangesNo uncovered changes found. Coverage RegressionsNo coverage regressions found. Coverage Stats💛 - Coveralls |
amilcarlucas
approved these changes
Oct 28, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Correct ArduPlane Step 70 (
70_everyday_use.param) so the generic Plane templates no longer propose the obsoleteRTL_ALT,3500setting.ArduPlane 4.7.2 uses
RTL_ALTITUDE, expressed in metres above HOME. Its firmware default is 100 m, while-1means maintain current altitude.Rather than impose either the old 35 m setting or the firmware default, AMC should present the connected flight controller's actual
RTL_ALTITUDEvalue for user review.Changes
RTL_ALT,3500from theempty_4.7.xandnormal_planeStep 70 templates.RTL_ALTITUDEentry using AMC's existingadd_parametersmechanism.RTL_ALTITUDEvalue.RTL_CLIMB_MINand Copter/Rover configurations unchanged.This affects newly created generic Plane template steps only. Existing user projects are not silently migrated or modified.
Regression coverage
Added
tests/test_arduplane_rtl_altitude_review.py, covering template contents, actual FC values of 100, 35 and -1 m, saved-value preservation, missing FC parameters, and vehicle-specific isolation.Checklist
git commit --signoff)Testing
Local validation reported by Codex:
typassed.git diff --checkpassed.The focused tests exercise AMC's existing configuration-step processing, including copying the live FC parameter value and preserving saved settings. Full integration and hardware testing have not been reported.
Firmware reference: ArduPlane 4.7.2,
ArduPlane/Parameters.cppandArduPlane/config.h.