-
Notifications
You must be signed in to change notification settings - Fork 17.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plane:mode AUTOLAND enhancements #28976
Open
Hwurzburg
wants to merge
2
commits into
ArduPilot:master
Choose a base branch
from
Hwurzburg:autoland_improvements_mk2
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
+154
−52
Conversation
This file contains 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
Hwurzburg
force-pushed
the
autoland_improvements_mk2
branch
2 times, most recently
from
January 1, 2025 15:03
0cc3cd5
to
3c10149
Compare
peterbarker
requested changes
Jan 1, 2025
Hwurzburg
force-pushed
the
autoland_improvements_mk2
branch
2 times, most recently
from
January 1, 2025 23:30
e462280
to
f722212
Compare
IamPete1
reviewed
Jan 6, 2025
Hwurzburg
force-pushed
the
autoland_improvements_mk2
branch
from
January 6, 2025 21:48
f722212
to
63417b3
Compare
Hwurzburg
force-pushed
the
autoland_improvements_mk2
branch
3 times, most recently
from
January 8, 2025 18:54
2332cc5
to
a6b0ebc
Compare
Added loiter to alt with direct exit to landing final and moved option to AUTOLAND module... |
Hwurzburg
force-pushed
the
autoland_improvements_mk2
branch
from
January 8, 2025 19:12
a6b0ebc
to
57d5e22
Compare
Hwurzburg
force-pushed
the
autoland_improvements_mk2
branch
from
January 8, 2025 21:35
57d5e22
to
c5189fe
Compare
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.
This PR enhances the new AUTOLAND mode. It adds the following new features:
Allows takeoff direction capture, and hence autoland direction and use, in ACRO, STABILIZE, FBWA, and MANUAL modes,
in addition to Mode TAKEOFF and AUTO NAV_TAKEOFF, using the same criteria as currently used, the first time after arming.
Adds an option that will set this direction upon arming using a compass, if in use, instead of ground course, allowing the user to set it on the ground arbitrarily as desired, independent of the actual takeoff direction. The option is in the autoland module for future expansion
the "base" leg is actually a WP_LOITER_RAD loiter to alt with tangent exit directly into the final approach waypoint and landing with proper loiter direction.
changes to current behavior, besides the new features, is that once the direction is captured it persists until a disarm occurs. Therefore multiple auto takeoffs while armed no longer reset the direction captured by the first, on each subsequent takeoff. Originally, I thought this behavior was desirable, but I now believe it's not of much benefit and the new behavior avoids the current corner case issue of resetting the direction while in flight if a NAV_TAKEOFF autotakeoff is interrupted and then resumed.
In addition, it removes the AUTOLAND code segments in the commands_logic and mode_takeoff modules, reducing the flash impact overall...
These changes have been tested in SITL and flight-tested in all configurations I could think of.