Commit Graph

21 Commits

Author SHA1 Message Date
Andy Piper 819645d1f6 AC_AutoTune: set slew rate to 0 while twitching 2021-11-11 08:13:23 +09:00
Peter Barker 8d00152815 AC_AutoTune: stop specifying bit-widths for state
new: bin/arducopter  1670916  2544  194276  1867736
master: bin/arducopter  1671232  2544  194272  1868048

   new: bin/arduplane  1670692  2452  194364  1867508
master: bin/arduplane  1671012  2452  194364  1867828
2021-09-28 11:00:30 +10:00
Randy Mackay e78c6804a0 AC_AutoTune: remove start method and always init position controller 2021-05-03 20:23:27 -04:00
Randy Mackay 25beab4c82 AC_AutoTune: add failure to level warning 2021-02-06 14:45:53 +09:00
Patrick José Pereira 0ecbaa867d AC_AutoTune: Add missing const in member functions
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-02-03 18:45:14 +11:00
Andy Piper fd96cdf6e0 AC_AutoTune: set FLTT to zero while twitching
add pilot testing message
2020-06-30 20:09:48 +10:00
Leonard Hall 152205fd52 AC_AutoTune: fix restoring of original gains
current_gain_type was not being set when load_gains was called meaning subsequent calls to load_gains would fail if gain_type was GAIN_ORIGINAL
2020-01-31 19:40:21 +09:00
Peter Barker 3e4e7bdd18 AC_AutoTune: Log_Write events directly rather than via subclass 2019-11-01 14:47:52 +08:00
Peter Hall a0d8c04f3e AC_AutoTune: add public reset method 2019-05-07 09:23:50 +10:00
Peter Barker 020aa6bd49 AC_AutoTune: emit a warning every second while pilot overrides active 2019-03-18 09:35:52 +09:00
Peter Barker 87d05d843e AC_AutoTune: restrict scoping of LEVEL_ISSUE enum
This gives us tighter type-checking and scoping
2019-03-01 12:21:01 +11:00
Peter Barker 247a047177 AC_AutoTune: avoid int32_t<->float conversions
We're currently bouncing backwards and forwards between types.  Just
choose one!
2019-03-01 12:09:58 +11:00
Andrew Tridgell e279fde505 AC_AutoTune: log 3 axis PIDs during twitch 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
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 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 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
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