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.
2021-08-10 08:33:56 +09:00
Andrew Tridgell
c8079a318c
AC_PID: convert AC_P_2D to double
2021-06-24 21:34:30 +10:00
Andrew Tridgell
476e9fc15a
AC_PID: use CLASS_NO_COPY()
2021-06-08 11:14:52 +10:00
Leonard Hall
16ba99149b
AC_PID: Fix before squash 2
2021-05-24 20:13:37 +10:00
Leonard Hall
9e9e139f99
AC_PID: Fix before squash
2021-05-24 20:13:37 +10:00
Leonard Hall
6bed10c434
AC_PID: Add error variable with accessor and clean up
2021-05-24 20:13:37 +10:00
Leonard Hall
eb07bfee2b
AC_PID: minor format fixes
2021-05-12 17:16:00 +10:00
Andrew Tridgell
95b375dc87
AC_PID: log SRate in pid info and expose slew rate
2021-04-15 06:57:16 +10:00
Andrew Tridgell
6f2e592943
AC_PID: allow for slew limit scaler
...
used by plane to have slew limiter in deg/s
2021-04-15 06:57:16 +10:00
Andrew Tridgell
62afa46924
AC_PID: added accessor for IMAX
2021-04-15 06:57:16 +10:00
Leonard Hall
1d720cc5e9
AC_PID: library update and additional functions
...
includes corrections from peer review
2021-04-03 12:07:59 +09:00
Leonard Hall
f0f87be06d
AC_PID: AC_PI_2D format changes
2021-02-18 12:59:39 +09:00
Patrick José Pereira
f9732b6c70
AC_PID: Add missing const in member functions
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-02-03 18:45:14 +11:00
Peter Hall
1a14c8a05b
AC_PID: populate pid_info limit feild
2021-01-05 10:27:28 +11:00
bnsgeyer
c565536afa
AC_PID: add support to smoothly reset the integrator
2020-12-21 23:33:48 -05:00
Andrew Tridgell
9e73922fd9
AC_PID: use calc_lowpass_alpha_dt()
2020-11-10 16:15:45 +11:00
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
2020-10-25 10:32:48 +11:00
Jim Stockwell
1565c69943
AC_HELI_PID: spelling in comment, leaded -> leaked
2020-09-11 08:39:58 +09:00
Peter Barker
c78dcb15a1
AC_PID: remove dead get_ff(float target) method as per TODO comment
2020-09-09 13:19:17 +09:00
Andrew Tridgell
ad69f6802f
AC_PID: added AC_PI controller
...
will be used by IMU heater
2019-11-02 16:31:04 +11:00
Randy Mackay
0052dcc8f8
AC_PID: update pid_info when integrator set
2019-10-18 11:15:25 +09:00
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
2019-07-25 17:38:15 +09:00
Leonard Hall
ab0bdc9fe6
AC_PID: upgrade to PID object
2019-07-25 17:38:15 +09:00
Peter Barker
3175a2ce19
AC_PID: correct examples with override keyword
2019-04-30 09:29:59 +10:00
Randy Mackay
54a505dade
AC_PID: fix filt_d_hz accessor
...
this accessor is not actually used
2019-04-18 10:26:56 +09:00
Randy Mackay
cae020c307
AC_PID: minor format fix
2019-04-16 11:23:46 +09:00
Peter Barker
112ace8adb
AC_PID: correct AC_PID_LEAK_MIN constant type
2019-04-05 23:04:17 -07:00
Peter Barker
2dae643280
AC_PID: update example to stop shadowing global chibios variable
2019-03-23 11:23:07 +11:00
Peter Barker
18c53b8d8a
AC_PID: remove keywords.txt
2019-02-17 00:29:38 -08:00
Peter Barker
b47733142f
GLOBAL: rename DataFlash_Class to AP_Logger
2019-01-18 18:08:20 +11:00
Peter Barker
312243142b
AC_PID: remove use of never-set AP_HAL_PX4 and AP_HAL_VRBRAIN
2019-01-18 09:53:44 +11:00
Leonard Hall
8c6a24450a
AC_PID: Fix D term initialisation
2018-09-15 11:00:29 +10:00
Leonard Hall
4ceabe4838
AC_PID_2D: add reset for filter and D term
2018-09-04 13:37:28 +09:00
Peter Barker
774b091611
AC_PID: get example working again
2018-08-31 21:08:11 +09:00
Randy Mackay
b381ae7bf3
AC_PID: support storing actual
2018-08-27 16:44:33 +09:00
Peter Barker
e2b31a535c
AC_PID: update example for new rc() method
2018-08-01 12:11:30 +09:00
Michael du Breuil
1d60b0ec62
AC_PID: Support new RC_Channels::read_input()
2018-04-26 08:00:09 +10:00
Michael du Breuil
5d84850f32
AC_PID: Use RC_Channels instead of hal.rcin
2018-04-11 21:47:07 +01:00
Randy Mackay
04822152da
AC_PID: fixes after peer review of AC_PID_2D
2018-01-23 12:00:43 +09:00
Randy Mackay
398a0d89bf
AC_P: add const accessor
2018-01-23 12:00:43 +09:00
Randy Mackay
c1708db208
AC_PID: add const and use is_positive in AC_PI_2D
2018-01-23 12:00:43 +09:00
Leonard Hall
fd964a21d6
AC_PID: add AC_PID_2D
2018-01-23 12:00:43 +09:00
Randy Mackay
4e8155f4e5
AC_PID: allow non-zero ff gain default
2018-01-05 13:33:21 +09:00
Randy Mackay
91d489d91e
AC_PID: implement reset_filter
2017-10-26 19:44:47 +09:00
Randy Mackay
f995106c1e
AC_PID: minor formatting change
2017-08-09 18:03:09 +09:00
Pierre Kancir
320c5e1b96
AC_PID: example fix travis warning
...
missing function declaration
implicit cast
some style fix
2017-04-13 19:56:16 +01:00
Andrew Tridgell
b97bf5d15e
AC_PID: added feed-forward to AC_PID
2017-02-18 17:26:43 +11:00
murata
5e11497332
AC_PID: Unify from print or println to printf.
2017-01-27 18:20:22 +11:00
Andrew Tridgell
ccae8979c1
AC_PID: expose filt_hz as a AP_Float
...
this allows defaults to be overridden
2017-01-12 17:39:37 +11:00
Andrew Tridgell
2086b591a2
AC_PID: expose ff() method in AC_PID
...
this allows for an abstract AC_PID class to be used in
AC_AttitudeControl for both multicopter and heli
2017-01-12 17:39:37 +11:00