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
Upgrading AP 3.8rc5 to AP3.9.8 broke aileron (rc5) passthrough in manual mode (function 18) #11798
Comments
@tridge @magicrub I'm still struggling to find out how this was working all the way to 3.8rc5 when I can't get it working in 3.8.0 anymore (can't seem to find a 3.8rc5 build online). |
@marcmerlin I suspect you want to investigate the parameter called The short form is that in 3.8 your input and outputs are decoupled/remapped in all modes including manual. This is all somewhat described here: http://ardupilot.org/plane/docs/plane-3-7-to-3-8-migration.html The parameter above was added as I needed direct control in manual that went past the servo output range. |
Thanks a lot @WickedShell, given that I was running 3.8rc5 and this change happened just afterwards, I never re-read the 3.8 upgrade notes, but only the ones after that and missed MANUAL_RCMASK |
So this was really a corner case, that setting is not really mentioned in the upgrade notes or how mode 18 silently disappeared in version 3.8. |
On a Pixhawk1, I had AP 3.8rc5 and was using SERVO5_FUNCTION as aileron in auto modes, and passthrough in manual.
Before the upgrade, I had SERVO5_FUNCTION set to 18, carried over from when it was RC5_FUNCTION.
It worked fine for years, I did have direct RC control in manual mode of channel 5, which I did use for crow flaps (both ailerons going up and flaps going down.
After upgrading to 3.9.8, the parameter was changed from 18 to 4 from what I can tell, but thankfully with a preflight I found out that actuating the crow flaps threw the channel 5 aileron down opposite to channel 1 aileron. Eventually I figured out that it was not passthrough in manual anymore but avoided an expensive crash by noticing this before taking off.
Now, I can only get back to this working state by going to 3.6.0. With 3.8.0, setting back SERVO5 to 18 makes the servo not work at all.
Setting it to 1 makes it work as passthrough only, but then it doesn't work in FBWA.
I have no idea how I had mode 18 still working up to 3.8rc5, but now it's gone for good unless I get back to 3.6 (3.7 seems removed from the list of available firmwares in MP).
The text was updated successfully, but these errors were encountered: