Commit Graph

46 Commits

Author SHA1 Message Date
Peter Barker 6f2fd9c4a4 AC_AutoTune: tidy includes 2022-05-03 09:14:58 +10:00
Bill Geyer 8e35fd2658 AC_AutoTune: use failed state to exit 2022-04-18 18:00:20 +09:00
Iampete1 0e0f4c86dc AC_AutoTune: print gains on axis completion 2022-02-23 07:44:24 +09:00
Iampete1 894f924de0 AC_Autotune: add axis string function 2022-02-04 08:44:00 +09:00
Iampete1 08fcbedaee AC_AutoTune: remove check_level function and LevelIssue 2022-02-04 08:44:00 +09:00
Bill Geyer f0042b3909 AC_AutoTune: add safety checks for max allowed gains and freq range 2022-02-01 23:06:51 -05:00
Bill Geyer fb5fec387e AC_AutoTune: consolidate gcs messages and add reset for update gain variables 2022-02-01 23:06:51 -05:00
Bill Geyer bc2455e285 AC_AutoTune: rename parameter for convention and put testing timeout in subclasses 2022-02-01 23:06:51 -05:00
Bill Geyer 36d627c1b0 AC_AutoTune: adjust code to move parameter variables into subclasses 2022-02-01 23:06:51 -05:00
Bill Geyer c817e92ada AC_AutoTune: make incrementing the tune type a function 2022-02-01 23:06:51 -05:00
Bill Geyer a9d47532d0 AC_AutoTune: make initialize methods to restart testing 2022-02-01 23:06:51 -05:00
Bill Geyer 40321754fa AC_AutoTune: move load and backup gain methods to subclasses 2022-02-01 23:06:51 -05:00
Bill Geyer 38ff36fca7 AC_AutoTune: clean up variables 2022-02-01 23:06:51 -05:00
Bill Geyer 92cfd3fc63 AC_AutoTune: move heli specific methods to sub class 2022-02-01 23:06:51 -05:00
Bill Geyer da947d4498 AC_AutoTune: move multi specific methods into sub class 2022-02-01 23:06:51 -05:00
Bill Geyer e11c7185d0 AC_AutoTune: moved load_test_gains and Save_tuning_gains completely into sub classes 2022-02-01 23:06:51 -05:00
Bill Geyer 716fcc1cba AC_AutoTune: additional commenting and clean up 2022-02-01 23:06:51 -05:00
Bill Geyer b1e65de2d4 AC_AutoTune: removeing static variables-not complete 2022-02-01 23:06:51 -05:00
Bill Geyer 9d7291f28a AC_AutoTune: removed pilot control during angle P tuning, added vel feedback 2022-02-01 23:06:51 -05:00
Bill Geyer e780687f5f AC_AutoTune: Fix issue with parameters in quadplane 2022-02-01 23:06:51 -05:00
Bill Geyer bff6f3a7a8 AC_AutoTune: Stop specifying bit widths 2022-02-01 23:06:51 -05:00
Bill Geyer 768648b14c AC_AutoTune: fix position holding during sweeps 2022-02-01 23:06:51 -05:00
Bill Geyer c757de153d AC_AutoTune: tradheli autotune, sqashed commits together 2022-02-01 23:06:51 -05:00
Randy Mackay 873924d6cd AC_AutoTune: formatting and comment improvements 2022-02-01 23:06:51 -05:00
bnsgeyer fae1917aa7 AC_Autotune: add heli autotune with review comments incorporated 2022-02-01 23:06:51 -05:00
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