in my copter i am using Spring centred throttle stick on my RC during calibartion. After calibarion i have seen all channels minimum and maximum value as around 1100 to 1900.
Especially, RC3_MIN = 1111, RC3_Max = 1911 and RC3_TRIM = 1111.
why not the trim value defaultly set to original trim value as RC actual around 1515.
since, current RC3_TRIM value is 1111 and Not 1515 when RC stick was centred but the drone keep decresing the altitude in Loiter Mode. after changing this value to 1515 then i dont see the drone altitude decrese.
Especially for RC centre stick can we have prearm check on TRIM value around 1500?
Thanks for the report. During the calculation of the pilot’s desired climb rate (in Loiter and other semi-autonomous modes) the RC3_TRIM values isn’t actually used so I don’t think this could be the cause of the climb in Loiter mode.
It’s possible to trace it through the code (as I have just now to confirm) but in the end it uses the RC_Channel::pwm_to_range_dz() function and it only uses the min and max values.
Sorry, I don’t really understand but please believe me when I say the RC3_TRIM is not used. If you have an onboard log file I’m happy to look into it further.