Commit Graph

132 Commits

Author SHA1 Message Date
Peter Barker 66f0a0f42b AC_AutoTune: stop libraries including AP_Logger.h in .h files
AP_Logger.h is a nexus of includes; while this is being improved over
time, there's no reason for the library headers to include AP_Logger.h
as the logger itself is access by singleton and the structures are in
LogStructure.h

This necessitated moving The PID_Info structure out of AP_Logger's
namespace.  This cleans up a pretty nasty bit - that structure is
definitely not simply used for logging, but also used to pass pid
information around to controllers!

There are a lot of patches in here because AP_Logger.h, acting as a
nexus, was providing transitive header file inclusion in many (some
unlikely!) places.
2022-04-08 19:18:38 +10:00
Bill Geyer f1a6865caa AC_Autotune: clean up variable init for dwell 2022-03-29 08:05:41 +09:00
Bill Geyer bd0df72863 AC_AutoTune: use chirp function in AP_Math for frequency sweeps 2022-03-29 08:05:41 +09:00
Bill Geyer ce725764d4 AC_AutoTune: combine dwell_run_test for angle and rate 2022-03-29 08:05:41 +09:00
Bill Geyer ba28227483 AC_AutoTune: combine dwell_init methods 2022-03-29 08:05:41 +09:00
Bill Geyer bbc259329d AC_AutoTune:tradheli-streamline gcs messages 2022-03-29 08:05:41 +09:00
Peter Barker 28bc05eb84 AC_AutoTune: Vector tidying 2022-03-07 08:22:58 +09:00
Peter Barker 9539362320 AC_AutoTune_Heli: use structure assignment to clear structures 2022-03-07 08:22:58 +09:00
Peter Barker 7ff6442aeb AC_AutoTune: use structure assignment for test results 2022-03-07 08:22:58 +09:00
Peter Barker 33c7bb21cf AC_AutoTune: createstructure to hold specific test's sweep results 2022-03-07 08:22:58 +09:00
Andy Piper 8b563836ac AC_AutoTune: nuke clang warnings 2022-03-03 16:34:14 +11:00
Iampete1 607a7bfd70 AC_Autotune_Heli: print gains on axis completion 2022-02-23 07:44:24 +09:00
Iampete1 2ccf8af2bd AC_Autotune_Multi: print gains on axis completion 2022-02-23 07:44:24 +09:00
Iampete1 0e0f4c86dc AC_AutoTune: print gains on axis completion 2022-02-23 07:44:24 +09:00
Bill Geyer 0a65fbbcb5 AC_AutoTune: tradheli-update parameter descriptions and default values 2022-02-07 06:23:37 -05:00
murata 8fbdb01033 AC_AutoTune: Remove meaningless semicolons 2022-02-07 08:27:34 +09:00
Iampete1 894f924de0 AC_Autotune: add axis string function 2022-02-04 08:44:00 +09:00
Iampete1 58e2e84432 AC_Autotune: remove error string and start test 2022-02-04 08:44:00 +09:00
Iampete1 8376779038 AC_AutoTune: Multi: consolidate messages 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 6356970839 AC_AutoTune: reduce target angle for feedforward test 2022-02-01 23:06:51 -05:00
Bill Geyer a91cc7aad7 AC_AutoTune: fix code response for unknown tune type 2022-02-01 23:06:51 -05:00
Bill Geyer b260839b13 AC_AutoTune: fix yaw feedforward test 2022-02-01 23:06:51 -05: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 607004ce4c AC_AutoTune: combine update rate and angle update methods in freqresp library 2022-02-01 23:06:51 -05:00
Bill Geyer b218f6e5d5 AC_AutoTune: clean up the update gain methods 2022-02-01 23:06:51 -05:00
Bill Geyer d72f142ebe AC_AutoTune: fix heading error filter and streamline updating_rate_d_up 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 9945c80fb4 AC_AutoTune: switch remaining variables over to using filter library 2022-02-01 23:06:51 -05:00
Bill Geyer 024645f0be AC_AutoTune: switch variables over to using filter library 2022-02-01 23:06:51 -05:00
Bill Geyer a2246cb1a4 AC_AutoTune: ff test modified to reset target att to current for recovery 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 66c6a5f877 AC_AutoTune: reorder defines and remove unused in heli 2022-02-01 23:06:51 -05:00
Bill Geyer 5cfd0502f7 AC_AutoTune: add internal error check for cases and methods multi should never use 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 24603f3cf1 AC_AutoTune: use if-else statements for new_meas and new_target 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 476560d377 AC_AutoTune: fix max angle check to be circular 2022-02-01 23:06:51 -05:00
Bill Geyer 790a77d44a AC_AutoTune: init angle dwell test with proper init method 2022-02-01 23:06:51 -05:00
Bill Geyer 7bccaac327 AC_AutoTune: have circular buffers in freqresp object statically allocated 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 2d3228c699 AC_AutoTune: adding comments to code 2022-02-01 23:06:51 -05:00
Bill Geyer 1f6424c781 AC_AutoTune: fix build error 2022-02-01 23:06:51 -05:00
bnsgeyer f74279447e AC_AutoTune: incorporated suggested changes 2022-02-01 23:06:51 -05:00