Peter Barker
e5e4dee708
AC_PID: 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
Bill Geyer
b1d6e41fb9
AC_PID: tradheli-change param name from _VFF to _FF
3 years ago
Leonard Hall
8d330a95b5
AC_PID: replace reset_I_smoothly with relax_integrator
3 years ago
Randy Mackay
39b0d76121
AC_PID: minor format fix
3 years ago
Randy Mackay
9d12130689
AC_PID_2D: minor format fix
3 years ago
Leonard Hall
b7801947af
AC_PID: AC_PID_2D: let I term change direction but not grow when limited
3 years ago
Iampete1
6162775dd0
AC_PID: P 1D, P 2D: remove unused limit flags
3 years ago
Peter Hall
82dd216195
AC_PID_2D: correct limit caculation
3 years ago
Andy Piper
e84a05d5ba
AC_PID: add slew_rate modifier
3 years ago
Leonard Hall
d21b07db98
AC_PID: fix PID filter names FILT -> FLTE, D_FILT -> FLTD
...
Follow used guided but references the maximum velocity settings. As Guided does not set maximum velocities these values come back as zero. So we need to reference WP_Nav to get safe maximums.
4 years ago
Andrew Tridgell
c8079a318c
AC_PID: convert AC_P_2D to double
4 years ago
Andrew Tridgell
476e9fc15a
AC_PID: use CLASS_NO_COPY()
4 years ago
Leonard Hall
16ba99149b
AC_PID: Fix before squash 2
4 years ago
Leonard Hall
9e9e139f99
AC_PID: Fix before squash
4 years ago
Leonard Hall
6bed10c434
AC_PID: Add error variable with accessor and clean up
4 years ago
Leonard Hall
eb07bfee2b
AC_PID: minor format fixes
4 years ago
Andrew Tridgell
95b375dc87
AC_PID: log SRate in pid info and expose slew rate
4 years ago
Andrew Tridgell
6f2e592943
AC_PID: allow for slew limit scaler
...
used by plane to have slew limiter in deg/s
4 years ago
Andrew Tridgell
62afa46924
AC_PID: added accessor for IMAX
4 years ago
Leonard Hall
1d720cc5e9
AC_PID: library update and additional functions
...
includes corrections from peer review
4 years ago
Leonard Hall
f0f87be06d
AC_PID: AC_PI_2D format changes
4 years ago
Patrick José Pereira
f9732b6c70
AC_PID: Add missing const in member functions
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
4 years ago
Peter Hall
1a14c8a05b
AC_PID: populate pid_info limit feild
4 years ago
bnsgeyer
c565536afa
AC_PID: add support to smoothly reset the integrator
4 years ago
Andrew Tridgell
9e73922fd9
AC_PID: use calc_lowpass_alpha_dt()
4 years ago
Andrew Tridgell
739410953b
AC_PID: added slew limiter AC_PID
...
this adds the fixed wing slew limiter as an optional part of
AC_PID. It allows the user to configure a maximum slew limit to
prevent oscillations in PIDs when gains are too high
4 years ago
Jim Stockwell
1565c69943
AC_HELI_PID: spelling in comment, leaded -> leaked
4 years ago
Peter Barker
c78dcb15a1
AC_PID: remove dead get_ff(float target) method as per TODO comment
4 years ago
Andrew Tridgell
ad69f6802f
AC_PID: added AC_PI controller
...
will be used by IMU heater
5 years ago
Randy Mackay
0052dcc8f8
AC_PID: update pid_info when integrator set
5 years ago
Leonard Hall
ee820258ad
AC_HELI_PID: support for upgrade to PID object
...
updates parameters based on new PID library
rename get_leaky_i to update_leaky_i and move FILT locations
6 years ago
Leonard Hall
ab0bdc9fe6
AC_PID: upgrade to PID object
6 years ago
Peter Barker
3175a2ce19
AC_PID: correct examples with override keyword
6 years ago
Randy Mackay
54a505dade
AC_PID: fix filt_d_hz accessor
...
this accessor is not actually used
6 years ago
Randy Mackay
cae020c307
AC_PID: minor format fix
6 years ago
Peter Barker
112ace8adb
AC_PID: correct AC_PID_LEAK_MIN constant type
6 years ago
Peter Barker
2dae643280
AC_PID: update example to stop shadowing global chibios variable
6 years ago
Peter Barker
18c53b8d8a
AC_PID: remove keywords.txt
6 years ago
Peter Barker
b47733142f
GLOBAL: rename DataFlash_Class to AP_Logger
6 years ago
Peter Barker
312243142b
AC_PID: remove use of never-set AP_HAL_PX4 and AP_HAL_VRBRAIN
6 years ago
Leonard Hall
8c6a24450a
AC_PID: Fix D term initialisation
6 years ago
Leonard Hall
4ceabe4838
AC_PID_2D: add reset for filter and D term
7 years ago
Peter Barker
774b091611
AC_PID: get example working again
7 years ago
Randy Mackay
b381ae7bf3
AC_PID: support storing actual
7 years ago
Peter Barker
e2b31a535c
AC_PID: update example for new rc() method
7 years ago
Michael du Breuil
1d60b0ec62
AC_PID: Support new RC_Channels::read_input()
7 years ago
Michael du Breuil
5d84850f32
AC_PID: Use RC_Channels instead of hal.rcin
7 years ago
Randy Mackay
04822152da
AC_PID: fixes after peer review of AC_PID_2D
7 years ago
Randy Mackay
398a0d89bf
AC_P: add const accessor
7 years ago
Randy Mackay
c1708db208
AC_PID: add const and use is_positive in AC_PI_2D
7 years ago