Commit Graph

163 Commits

Author SHA1 Message Date
Leonard Hall 79f4e0a2d8 Copter: Autotune: Level requirement improvements 2024-05-29 18:29:23 +10:00
Leonard Hall 41a5a1b8fe Copter: Autotune: Notify user of min Rate D for action 2024-05-29 18:29:23 +10:00
Leonard Hall fcd3c8502f Copter: Autotune: Twitch direction enhancements 2024-05-29 18:29:23 +10:00
Leonard Hall e2560371cf Copter: Autotune: Base angles limits on lean_angle_max 2024-05-29 18:29:23 +10:00
Leonard Hall 54618dd903 Copter: Autotune: Fail when bad tune is expected 2024-05-29 18:29:23 +10:00
Leonard Hall 13fb69be7c Copter: Autotune: Look for bounce earlier in test 2024-05-29 18:29:23 +10:00
Leonard Hall 18d18d14fc Copter: Autotune: Set D = 0 for Yaw test 2024-05-29 18:29:23 +10:00
Leonard Hall c000efdabe Copter: Autotune: Increase test timeout 2024-05-29 18:29:23 +10:00
Leonard Hall 327fd034da Copter: Autotune: Reduce default AGGR 2024-05-29 18:29:23 +10:00
Leonard Hall c47b3b8f03 Copter: Autotune: Reduce chance of desync 2024-05-29 18:29:23 +10:00
Andy Piper 2352990d90 AC_AutoTune: zero out D_FF during twitching 2024-05-14 16:33:38 +09:00
Peter Barker 2eede45f3a AC_AutoTune: allow compilation with HAL_LOGGING_ENABLED false 2024-01-17 18:25:55 +11:00
Peter Barker e95b1e5dd3 AC_AutoTune: add and use header guards 2023-12-12 11:36:15 +11:00
Mykhailo Kuznietsov ad0b0a1c05 AC_AutoTune: Fix some typos
Fixed some typos found in the code.
2023-10-12 18:30:42 +11:00
Andy Piper 813cf3660d AC_AutoTune: remove unsued variables 2023-07-13 11:02:40 +10:00
Andy Piper 0bad9451d5 AC_AutoTune: correct incorrect min raw rate valuee 2023-06-26 09:56:30 +10:00
Andy Piper 38adb308a9 AC_AutoTune: load test gains for correct axis when testing yaw D 2023-05-17 07:21:53 +10:00
Andy Piper 0f6d62c196 AC_AutoTune: add option for tuning yaw D-term
don't touch yaw D or FLTE when tuning the other
make yaw D tune an "axis"
2023-03-14 11:01:31 +11:00
Bill Geyer 6839f6c89b AC_AutoTune: Tradheli-modify I gain for angle p and tune check 2023-01-31 10:10:59 -05:00
Bill Geyer c8a7c128ad AC_AutoTune: Add Check Tune Sequence 2023-01-31 10:10:59 -05:00
Bill Geyer 0a0c02977d AC_Autotune: use DRP for tuning Angle P 2023-01-31 10:10:59 -05:00
Bill Geyer fc6a6ceaa8 AC_AutoTune: fix pilot testing bug 2022-11-22 08:10:00 +09:00
Peter Barker 771878be0e AC_AutoTune: remove GCS.h from library header files 2022-11-16 18:29:07 +11:00
Peter Barker e340c4655b AC_AutoTune: change namespace of MultiCopter and FixedWing params
this stops the libraries knowing anything about AP_Vehicle
2022-11-09 19:04:37 +11:00
Iampete1 7c4f48887a AC_AutoTune: params always use set method 2022-08-03 13:43:48 +01:00
Bill Geyer 4bb3b08a4a AC_AutoTune: fix tradheli bug with load gain set 2022-06-20 13:00:53 +09:00
Peter Barker 6f2fd9c4a4 AC_AutoTune: tidy includes 2022-05-03 09:14:58 +10:00
Andy Piper 742c2b034f AC_AutoTune: allow high ANGLE_P gains 2022-04-28 08:51:54 +09:00
Bill Geyer b8690ba109 AC_AutoTune: fix gain determination fail logic 2022-04-18 18:00:20 +09:00
Bill Geyer 8e35fd2658 AC_AutoTune: use failed state to exit 2022-04-18 18:00:20 +09:00
Bill Geyer b4059d3745 AC_AutoTune: use generic load gain method to save flash 2022-04-18 18:00:20 +09:00
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