Skip to content

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

Merged

Conversation

peterbarker
Copy link
Contributor

No description provided.

@peterbarker peterbarker force-pushed the wip/rudder-arm-checks-in-arming branch from 11bc4aa to 2a05a86 Compare December 8, 2020 01:50
@peterbarker peterbarker force-pushed the wip/rudder-arm-checks-in-arming branch 2 times, most recently from 924c46f to 24e40e6 Compare December 17, 2020 20:49
@peterbarker peterbarker dismissed WickedShell’s stale review December 17, 2020 21:07

Requested changed were made

@peterbarker
Copy link
Contributor Author

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.

@Hwurzburg
Copy link
Collaborator

@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

@peterbarker
Copy link
Contributor Author

peterbarker commented Dec 23, 2020 via email

@Hwurzburg
Copy link
Collaborator

Yes,works just like current....

@peterbarker peterbarker merged commit 9b2ef4f into ArduPilot:master Dec 29, 2020
@peterbarker
Copy link
Contributor Author

Thanks @Hwurzburg

@peterbarker peterbarker deleted the wip/rudder-arm-checks-in-arming branch January 1, 2021 00:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants