Commit Graph

70 Commits

Author SHA1 Message Date
Leonard Hall 4edc464b83 AC_AutoTune: desired-ground-idle replaces spin-when-armed 2019-01-15 11:41:44 +09:00
Andrew Tridgell a885f86ce7 AC_AutoTune: fixed testing of gains with aux switch
this fixes the use of an aux switch for autotune to test gains before
disarm.

Many thanks to Mark Whitehorn for noticing this regression
2019-01-14 09:43:15 +11:00
Andrew Tridgell e66a360e27 AC_AutoTune: added lower limit on scaler reduction 2018-12-22 15:10:23 +11:00
Andrew Tridgell e279fde505 AC_AutoTune: log 3 axis PIDs during twitch 2018-12-22 15:10:23 +11:00
Leonard Hall b5066cffb6 AC_Autotune: Log in degrees 2018-12-22 15:10:23 +11:00
Andrew Tridgell be9be889db AC_AutoTune: ensure we always have the right gains loaded 2018-12-22 15:10:23 +11:00
Andrew Tridgell 460d697678 AC_AutoTune: loosen level threshold after 2s 2018-12-22 15:10:23 +11:00
Andrew Tridgell d0bc1520f6 AC_AutoTune: reset step_scaler between tune types 2018-12-22 15:10:23 +11:00
Andrew Tridgell d6a23fd22a AC_AutoTune: fixed missing else statement 2018-12-22 15:10:23 +11:00
Leonard Hall ce27eb5de1 AC_Autotune: Reduce rate step for over angle abort 2018-12-22 15:10:23 +11:00
Andrew Tridgell 6312a88d90 AC_Autotune: fixed waiting for level timeout 2018-12-21 22:17:52 +11:00
Leonard Hall e0c24d6ecf AC_Autotune: Include FF variable 2018-12-21 22:17:52 +11:00
Andrew Tridgell 4ea9f329e2 AC_AutoTune: use AHRS_View for RATE logging 2018-12-21 22:17:52 +11:00
Leonard Hall b25f7a38e8 AC_Autotune: Include FF variable 2018-12-21 22:17:52 +11:00
Leonard Hall b0f3674eee AC_Autotune: Add level time out. 2018-12-21 22:17:52 +11:00
Andrew Tridgell 6d4e886bc9 AC_AutoTune: moved axes_completed init
thanks Randy
2018-12-18 18:56:10 +09:00
Andrew Tridgell 2277f70456 AC_AutoTune: allow save of completed axes
this allows you to stop the tune by disarming part way through and
save the completed axes
2018-12-18 18:56:10 +09:00
Randy Mackay c5a2065a86 AC_AutoTune; minor format fixes 2018-12-18 10:55:15 +09:00
Andrew Tridgell d90edcbb1d AC_AutoTune: fixed time subtraction bug
would have failed at time wrap point
2018-12-14 16:33:11 +11:00
Andrew Tridgell 47265c6fb7 AC_AutoTune: converted autotune mode to a library
this allows for common code between copter and quadplanes
2018-12-14 16:33:11 +11:00