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.
3 years ago
Iampete1
0e0f4c86dc
AC_AutoTune: print gains on axis completion
3 years ago
Iampete1
894f924de0
AC_Autotune: add axis string function
3 years ago
Iampete1
58e2e84432
AC_Autotune: remove error string and start test
3 years ago
Iampete1
08fcbedaee
AC_AutoTune: remove check_level function and LevelIssue
3 years ago
Bill Geyer
a91cc7aad7
AC_AutoTune: fix code response for unknown tune type
3 years ago
Bill Geyer
f0042b3909
AC_AutoTune: add safety checks for max allowed gains and freq range
3 years ago
Bill Geyer
fb5fec387e
AC_AutoTune: consolidate gcs messages and add reset for update gain variables
3 years ago
Bill Geyer
bc2455e285
AC_AutoTune: rename parameter for convention and put testing timeout in subclasses
3 years ago
Bill Geyer
66c6a5f877
AC_AutoTune: reorder defines and remove unused in heli
3 years ago
Bill Geyer
36d627c1b0
AC_AutoTune: adjust code to move parameter variables into subclasses
3 years ago
Bill Geyer
c817e92ada
AC_AutoTune: make incrementing the tune type a function
3 years ago
Bill Geyer
a9d47532d0
AC_AutoTune: make initialize methods to restart testing
3 years ago
Bill Geyer
40321754fa
AC_AutoTune: move load and backup gain methods to subclasses
3 years ago
Bill Geyer
476560d377
AC_AutoTune: fix max angle check to be circular
3 years ago
Bill Geyer
92cfd3fc63
AC_AutoTune: move heli specific methods to sub class
3 years ago
Bill Geyer
da947d4498
AC_AutoTune: move multi specific methods into sub class
3 years ago
Bill Geyer
e11c7185d0
AC_AutoTune: moved load_test_gains and Save_tuning_gains completely into sub classes
3 years ago
Bill Geyer
716fcc1cba
AC_AutoTune: additional commenting and clean up
3 years ago
Bill Geyer
1f6424c781
AC_AutoTune: fix build error
3 years ago
Bill Geyer
b1e65de2d4
AC_AutoTune: removeing static variables-not complete
3 years ago
Bill Geyer
58b6dae4d5
AC_AutoTune: modifcations based on suggested changes
3 years ago
Bill Geyer
9d7291f28a
AC_AutoTune: removed pilot control during angle P tuning, added vel feedback
3 years ago
Bill Geyer
e780687f5f
AC_AutoTune: Fix issue with parameters in quadplane
3 years ago
Bill Geyer
c5cbf6ce37
AC_AutoTune: add conditional for constants based on build
3 years ago
Bill Geyer
7e4c94f7ec
AC_AutoTune: fix bug with test_max_accel
3 years ago
Bill Geyer
a5c1d51430
AC_AutoTune: add rate limits for rate dwell test and unusual attitude protections
3 years ago
Bill Geyer
768648b14c
AC_AutoTune: fix position holding during sweeps
3 years ago
Bill Geyer
af1c8dd9bc
AC_AutoTune: clean up FreqResp library and add comments
3 years ago
Bill Geyer
9ff3a7e795
AutoTune: fix commit Add units to the AC_AttitudeControl Library after rebase
3 years ago
Bill Geyer
c757de153d
AC_AutoTune: tradheli autotune, sqashed commits together
3 years ago
Randy Mackay
873924d6cd
AC_AutoTune: formatting and comment improvements
3 years ago
bnsgeyer
fae1917aa7
AC_Autotune: add heli autotune with review comments incorporated
3 years ago
Leonard Hall
5a97a232e7
AC_AutoTune: Move rate limit to AC_AttitudeControl
3 years ago
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
3 years ago
Josh Henderson
bd9361b701
AC_AutoTune: INAV rename for neu & cm/cms
3 years ago
Andy Piper
819645d1f6
AC_AutoTune: set slew rate to 0 while twitching
3 years ago
Leonard Hall
90b5bc6a2d
AC_AutoTune: Add units to the AC_AttitudeControl Library
4 years ago
Leonard Hall
30cda045f1
AC_Autotune: Separate landing and terrain following.
4 years ago
Andrew Tridgell
d9ee2b3c6c
AC_AutoTune: mark logger Write() calls as streaming where appropriate
4 years ago
Peter Barker
092885f67f
AC_AutoTune: remove @Values from param metadata where @Bitmask exists
4 years ago
Leonard Hall
53439b19cd
AC_AutoTune: Fix before squash
4 years ago
Leonard Hall
34fa62d51c
AC_AutoTune: PosControl fixes
4 years ago
murata
49bb4d38a1
AC_AutoTune: Disable variables that are overwritten
4 years ago
Randy Mackay
e78c6804a0
AC_AutoTune: remove start method and always init position controller
4 years ago
Peter Barker
1fb43d63e2
autotest: shorten statustext message to avoid chunking
4 years ago
Randy Mackay
d1dda86f60
AC_AutoTune: report step in lower case
...
also shortens displayed accuracy to 0.1deg and removes one pair of brackets
we should use lower case for reporting because it is easier to read and it takes up less space when displayed on MP's HUD (and probably other GCSs too)
4 years ago
Randy Mackay
25beab4c82
AC_AutoTune: add failure to level warning
4 years ago
Randy Mackay
4032ac9884
AC_AutoTune: level criteria is 5deg for plane and 2.5 for all others
4 years ago
Patrick José Pereira
0ecbaa867d
AC_AutoTune: Add missing const in member functions
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
4 years ago