-
Notifications
You must be signed in to change notification settings - Fork 18.6k
Plane: move rudder-arming arm checks into Plane's AP_Arming #16008
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: move rudder-arming arm checks into Plane's AP_Arming #16008
Conversation
11bc4aa
to
2a05a86
Compare
924c46f
to
24e40e6
Compare
Requested changed were made
The follow-on PR for this is here: #16091 It moves the now-factored code in Plane's RC_Channel up into the parent class and uses it across the other relevant vehicles. |
24e40e6
to
a53459f
Compare
@peterbarker @tridge tested in SITL....it behaves like current for rudder arm/disarm....however, current is broken for rudder disarming if in QRTL, QLAND, or QACRO....you cant disarm once armed on the ground unless you change to a mode that can disarm or issue the MAVLINK disarm command....since QRTL and QLAND should autodisarm, it may not be a big problem, but QACRO is I think.... |
On Tue, 22 Dec 2020, Henry Wurzburg wrote:
@peterbarker @tridge tested in SITL....it behaves like current for rudder arm/disarm....however, current is broken for rudder disarming if in QRTL, QLAND,
or QACRO....you cant disarm once armed on the ground unless you change to a mode that can disarm or issue the MAVLINK disarm command....since QRTL and
QLAND should autodisarm, it may not be a big problem, but QACRO is I think....
and while testing I also found that if you are on the ground, disarmed, and switch to QAUTOTUNE it rejects the mode change (which I think is correct) BUT
sends a MAVLINK message that the mode change WAS accepted..it can be switched into from another mode on the ground if already armed.....once in QAUTOTUNE
and on the ground you can arm and disarm with rudder. So the mode accepted message needs to be corrected I believe
@Hwurzburg so can we merge this and change behaviour in another PR? Or
two, by the sounds of it.
There were obvious cleanups to be done which I resisted (eliminating the
static list of modes that allow arm/disarm for a callback on the current
flightmode, for example).
|
Yes,works just like current.... |
Thanks @Hwurzburg |
No description provided.