Deprecate mid_rc setting
Since all FC code expects RC channels to be in [1000;2000] range and we have rxrange to scale the inputs - we don't really need midrc as a setting. A hardcoded PWM_RANGE_MID define would suffice.
Related to #3312
Fine by me
Great. That sucks. Now back to ground zero on the altitude hold problem. If I use mid_thr (expo mid) for my alt_hold and I have mid_thr at zero so my expo is right, then the copter gains altitude and fights the alt_hold when I try to make corrections. If I change the code to use mid_rc and rcdata[throttle] instead of rccommand then it works perfectly. Altitude hold center value needs to be referenced to middle stick position, not expo center weight value.
@digitalentity See #3309
My point is that having a different neutral point for throttle expo and zero climb rate is unreasonable. For that specific bug expo code should be fixed, not a hack that will fix just althold case.
On Jun 8, 2018 1:27 PM, "Tim Eckel" [email protected] wrote:
@digitalentity https://github.com/digitalentity See #3309 https://github.com/iNavFlight/inav/issues/3309
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/iNavFlight/inav/issues/3313#issuecomment-395732773, or mute the thread https://github.com/notifications/unsubscribe-auth/AKi_mw8M491lXfr2uV7lhERhsBPtwTumks5t6l-ugaJpZM4UYLPe .
Completed with the merging of https://github.com/iNavFlight/inav-configurator/pull/484