Limited servo throw for fixed wing in Horizon/Acro mode without throttle.
Issue: When in stabilization modes like acro and horizon there is less servo throw when not throttle is engage. Even with airmode enabled.
Why its an issue: Many airplanes are suitables as semi gliders, so we throttle up and throttle all the way down and fly without throttle, when doing this we need all the servo movements we got.
Also when landing an airplane its normal to cut throttle and glide in for landing, and also here we need full servo movement to hold the plane steady. With abit of wind I had to put plane in passtrough mode to be able to correct enough.
With limited servo throws blackbox log I do the following:
Arm Full aileron in passtrough (Getting full aileron throw) Full aileron in horizon (Getting limited aileron throw) Full aileron in horzion + throttle. (Getting full aileron throw again)
Good luck! You may also want to increase ROLL/PITCH P if response to the right stick in flight is not sharp enough
Closing this one.
This issue still remains. With zero throttle, the plane's control surfaces are much less maniobrable. I guess we should have the same control with or w/o motor.
It is a problem usually for landing, as I have to increase trottle to get more pitch down !!, instead of cut motor. It is also a problem if we want to glide with nice control when not in 'passthrough'
@oleost can you test 3e6204d? Should fix the issue.
Sure I can test.
But lets recap:
With airmode enable before, there was no I-term attenuation? It was only an interlock so after arming one had to go above a certain % of throttle to get rid of the I-term attenuation? So with airmode one had to throttle up, and then go to zero throttle and test, and there would be no difference in servo movement?
I aggre that "airmode" should be default "on" on airplanes.
But with new code there is no interlock right? So I-term will always wind up after powering up? Not sure if thats good when standing on ground or in hands before launching.
No, with new code I-term will wind-up only if AIR-MODE is disabled. If AIR MODE is enabled I-term is only allowed to shrink, not grow.
Okey, will test.
One fear is that I term will grow while just standing on ground getting ready to fly.
One solution would be that I-tern is not allowed to grow while unarmed and throttle has not been over 30%. After throttle been over 30% it's allowed to grow below 30% aswell. Resets when it's disarmed. What you think?
@digitalentity tested and confirm that its no difference with throttle on/off now.
Possible to get fw-improvements updated with current master?
great !
@digitalentity One still need airmode to get full deflection on fixed-wing. Just tested again with new set of PIDS with not enough P gain to allow full servo movement on P itself.
Airmode OFF = Not full servo throw when no throttle (But armed) Airmode On = Full servo throw with no throttle.
Yes, that's the way it is. At zero throttle with AIR MODE off I-term is inactive and it's the I-term that allows full servo throw when P is not enough.
@digitalentity Sounds good, just notice you sad "No, with new code I-term will wind-up only if AIR-MODE is disabled. If AIR MODE is enabled I-term is only allowed to shrink, not grow."
I guess I was wrong when typing this :) It's like this at zero throttle:
- AIR MODE disabled: I-term reset and inactive
- AIR MODE enabled: I-term only allowed to shrink when right stick centered, I-term is fully active when stick in deflected.
Cloosing this then?
I think so. Just need an update to the wiki that airplanes should use air mode to ensure proper zero throttle operation.
Added it to Step 5 in fixed wing guide. https://github.com/iNavFlight/inav/wiki/3.-Fixed-wing-guide
AIR MODE why not turn off the engine? how to plan a landing? Flying Wing how to plant running engine? AIR MODE on the video engine is started https://youtu.be/8jKbmxs1y64 firmware made today
@odixxx You are saying when turning on airmode the motor is running even with zero throttle? This is not normal, and should not happend.
But in order for us to look at whats wrong, please provide more infomation like CLI dump and a blackbox log.
yes all right, the engine is running I can write the blackbox