ArduPilot: 4.7.0-beta3 release - #32733
Merged
Merged
Conversation
Contributor
|
Please add in #32598 too, I somehow forgot to tag it for backport but it links up with the EKF changes. |
Georacer
force-pushed
the
pr/4.7.0-beta3
branch
from
April 13, 2026 08:36
f45797c to
7cf8c57
Compare
Contributor
Author
Done. |
Georacer
force-pushed
the
pr/4.7.0-beta3
branch
2 times, most recently
from
April 13, 2026 16:06
f4a1149 to
395f5df
Compare
All EAHRS plane tests (VectorNav, MicroStrain5, MicroStrain7, InertialLabs) used identical per-test ap1.txt mission files (SHA256 0289f48fb154...). Replace them with a single Generic_Missions/externalahrs.txt and add a fly_generic_mission() helper to arduplane.py that loads from that directory. fly_external_AHRS() no longer takes a mission argument. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
It works in two modes: IMU (external sensor for EKF3) or INS (performs sensor fusion instead of EKF3). The parser for incoming binary serial data is a separate class, for testability. Includes unittest for the parser. # Conflicts: # libraries/AP_ExternalAHRS/AP_ExternalAHRS.cpp # libraries/AP_ExternalAHRS/AP_ExternalAHRS_config.h
So we can reuse it from AP_External/AP_ExternalAHRS_SensAItion_Parser.
- One test in IMU mode and one in INS mode. - Also add build option to enable SensAItion as External AHRS - Also adapt to updated AHRS_OPTIONS definition
this allows for fence altitudes to be above ground level, absolute, origin or above home (the default and current behaviour)
add accessors for max alt frame pre-arm check for terrain frames only enable terrain checks if terrain is available introduce get_relative_safe_alt_max_m and get_relative_safe_alt_min_m methods dummy implementation of terrain_database_required
make home and origin different heights in MaxAltFence add tests for fence alt _TP parameters Co-authored-by: <pbarker@barker.dropbear.id.au>
Add get_safe_alt_max_m_and_frame() and get_safe_alt_min_m_and_frame() which return both the safe altitude and its reference frame via output parameters, for use by scripting bindings.
Update get_safe_alt_min and get_safe_alt_max bindings to also return the altitude frame as a second return value. Existing callers are not broken as Lua silently discards extra return values.
rmackay9
reviewed
Apr 15, 2026
rmackay9
reviewed
Apr 15, 2026
rmackay9
reviewed
Apr 15, 2026
rmackay9
reviewed
Apr 15, 2026
rmackay9
reviewed
Apr 15, 2026
rmackay9
previously requested changes
Apr 15, 2026
rmackay9
left a comment
Contributor
There was a problem hiding this comment.
Could you update the mavlink reference to the latest ardupilot master (or something close)?
Georacer
force-pushed
the
pr/4.7.0-beta3
branch
from
April 15, 2026 09:38
538e794 to
0338b5c
Compare
Georacer
force-pushed
the
pr/4.7.0-beta3
branch
from
April 15, 2026 09:56
0338b5c to
8660eca
Compare
Contributor
Author
I brought in the 2nd most recent commit, which is what is referenced by ArduPilot/mavlink#497. |
rmackay9
approved these changes
Apr 16, 2026
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.
Summary
PR for the 4.7.0-beta3 PR.
Classification & Testing (check all that apply and add your own)
Description
This is the ArduPilot 4.7.0-beta2 release and includes all the PRs in the 4.7 Backport project's "4.7.0-beta3" column.
It would be great if the devs involved could check that they are happy with the ReleaseNotes.txt