Peter Barker
9397ece55a
AC_AutoTune: make axis-type enum-class
...
Co-authored-by: Andrew Tridgell <andrew@tridgell.net>
2024-07-30 10:20:26 +10:00
Leonard Hall
bb1758ecb1
AC_Autotune: Add ABORT state for consistency between tests
2024-07-26 20:11:42 +10:00
Leonard Hall
bea2c5b59b
AC_Autotune: Clean up Multi Variables and non functional changes
2024-07-26 20:11:42 +10:00
Leonard Hall
b9e06402af
Copter: Autotune: Increase waiting for level timeout.
2024-05-29 18:29:23 +10:00
Leonard Hall
cebcbf0044
Copter: Autotune: Virtual methods to separate Heli and Multi
2024-05-29 18:29:23 +10:00
Leonard Hall
712cf3696b
Copter: Autotune: Small changes for clarity
2024-05-29 18:29:23 +10:00
Leonard Hall
79f4e0a2d8
Copter: Autotune: Level requirement improvements
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
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
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
c8a7c128ad
AC_AutoTune: Add Check Tune Sequence
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
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
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
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
58e2e84432
AC_Autotune: remove error string and start test
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
a91cc7aad7
AC_AutoTune: fix code response for unknown tune type
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
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
66c6a5f877
AC_AutoTune: reorder defines and remove unused in heli
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
476560d377
AC_AutoTune: fix max angle check to be circular
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
1f6424c781
AC_AutoTune: fix build error
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
58b6dae4d5
AC_AutoTune: modifcations based on suggested changes
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
c5cbf6ce37
AC_AutoTune: add conditional for constants based on build
2022-02-01 23:06:51 -05:00
Bill Geyer
7e4c94f7ec
AC_AutoTune: fix bug with test_max_accel
2022-02-01 23:06:51 -05:00
Bill Geyer
a5c1d51430
AC_AutoTune: add rate limits for rate dwell test and unusual attitude protections
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
af1c8dd9bc
AC_AutoTune: clean up FreqResp library and add comments
2022-02-01 23:06:51 -05:00
Bill Geyer
9ff3a7e795
AutoTune: fix commit Add units to the AC_AttitudeControl Library after rebase
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
Leonard Hall
5a97a232e7
AC_AutoTune: Move rate limit to AC_AttitudeControl
2022-01-11 10:57:53 +11:00
Andrew Tridgell
a39040d864
AC_AutoTune: limit autotune target rates to parameter limits
...
this makes it safer to autotune a large vehicle which may become
unstable at very high target rates
2021-12-21 11:02:51 +09:00