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: added RTL_AUTOLAND=3 #20345
Plane: added RTL_AUTOLAND=3 #20345
Conversation
There is a command long too. ardupilot/ArduPlane/GCS_Mavlink.cpp Lines 959 to 965 in 73eabb1
For 4.3 I would like to get "auto RTL" mode into plane to match copter, that will remove the |
Yeah, you can definetly opt out of this without rtl autoland enabled. I
will need an option bit to not run the check, because we plan do land
starts, because you can jump to it via mavlink, but on failsafe we want to
go to a rally point.
…On Mon, Mar 21, 2022, 20:09 Peter Hall ***@***.***> wrote:
There is a command long too.
https://github.com/ArduPilot/ardupilot/blob/73eabb1fd09d1ef28c6692d6746e4eeec4d027df/ArduPlane/GCS_Mavlink.cpp#L959-L965
For 4.3 I would like to get "auto RTL" mode into plane to match copter,
that will remove the RTL_AUTOLAND param.
—
Reply to this email directly, view it on GitHub
<#20345 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAEKTCH2SQU7DQ6I3HKZ4QDVBE2VZANCNFSM5RJQO2KA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
@WickedShell you can just set RTL_AUTOLAND to -1 |
i've added a RTL_AUTOLAND=3 to disable the warning |
set RTL_AUTOLAND=3 to get go-around but not RTL DO_LAND_START usage
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggest the values for RTL_AUTOLAND are:
Value | Meaning |
---|---|
0 | Disable |
1 | Home - Enable fly HOME or to a Rally point then land |
2 | Land - Enable go directly to landing sequence |
3 | Go Around - Disable but allow Arming with DO_LAND_START in the mission for go arounds. |
This is because in QGC, you only see the first few letters of each option, as per this screen shot.
// @Description: Automatically begin landing sequence after arriving at RTL location. This requires the addition of a DO_LAND_START mission item, which acts as a marker for the start of a landing sequence. The closest landing sequence will be chosen to the current location. | ||
// @Values: 0:Disable,1:Enable - go HOME then land,2:Enable - go directly to landing sequence | ||
// @Description: Automatically begin landing sequence after arriving at RTL location. This requires the addition of a DO_LAND_START mission item, which acts as a marker for the start of a landing sequence. The closest landing sequence will be chosen to the current location. If this is set to 0 and there is a DO_LAND_START mission item then you will get an arming check failure. You can set to a value of 3 to avoid the arming check failure and use the DO_LAND_START for go-around without it changing RTL behaviour. For a value of 1 a rally point will be used instead of HOME if in range (see rally point documentation). | ||
// @Values: 0:Disable,1:Fly HOME then land,2:Go directly to landing sequence, 3:OnlyForGoAround |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// @Values: 0:Disable,1:Fly HOME then land,2:Go directly to landing sequence, 3:OnlyForGoAround
I think this should be renamed it confused me and I made a 4: DisableArmCheck
or 4: DisableArmCheck_NoRTL
. U
I had little reason for checking the extended descriptions since I didn't want a GoAround. I want it for ship landing scripting :)
this allows for easy disabling of the new arming check