ArduPilot / ardupilot

ArduPlane, ArduCopter, ArduRover, ArduSub source
http://ardupilot.org/
GNU General Public License v3.0
10.46k stars 17.11k forks source link

Plane: Autotune for TECS #4821

Open magicrub opened 7 years ago

magicrub commented 7 years ago

Autotune for TECS, perhaps a new autotune mode called TECSTUNE? Discuss

magicrub commented 7 years ago

Primary params that need to be tuned: TECS_CLMB_MAX TECS_SINK_MIN TECS_SINK_MAX

if we can get those tuned then we're drastically improving the flight envelope. Everything else is fine tuning.

jinchengde commented 7 years ago

do you have any theory for this autotune? interesting!

magicrub commented 7 years ago

not yet, I just made this issue so we wouldn't forget to do it someday. It's definitely in demand.

palm369 commented 7 years ago

This should be all calculated automatically under certain conditions, then printed in MP as msg. Results = (alt2 - alt1) / ( T2- T1)

State1 (alt1, T1) = start of fulfilling conditions State2 (alt2, T2) = fulfilling for given time or altitude

Subroutine could be enabled via a new TECS_TUNE_MSG parameter, so one can disable it to dont spam the msg tab in MP.

This could be the conditions to fulfill:

TECS_CLMB_MAX

TECS_SINK_MIN

TECS_SINK_MAX

EShamaev commented 2 years ago

Tom, are you currently working on this feature? I plan to implement it, but if you are on the way then no need to do double job.