19 Commits (644d0c223a56f572092f7512bff608a7ce934080)

Author SHA1 Message Date
Randy Mackay 0a46afa6c4 AC_PID: init members to reduce compiler warnings 11 years ago
Robert Lefebvre b35ec4339e AC_PID: Add method to set the D-term Filter Rate from main code. 11 years ago
Robert Lefebvre f1c3f2a3d1 AC_PID: Remove get_leaky_i function which is now found in AC_HELI_PID. 11 years ago
Robert Lefebvre ef7dc815cd AC_PID: Change Private members to Protected so that AC_HELI_PID can access them. 11 years ago
Randy Mackay fbc5af2705 AC_PID: results returned as float 11 years ago
Andrew Tridgell 8c25a504c3 AC_PID: fixed indent-tabs-mode 12 years ago
Andrew Tridgell 2294acc652 AC_PID: fixed build on ARM 12 years ago
Andrew Tridgell 9349259487 AC_PID: updates for new AP_Param API 12 years ago
Pat Hickey 050a878935 AC_PID: Ported to AP_HAL. 12 years ago
Pat Hickey 3f1d9d7f69 AP_Param: #include <AP_Param.h> fixups for libraries & sketches 12 years ago
Andrew Tridgell 5e7ca5b0f8 AC_PID: suppress the derivative immediately after reset 12 years ago
Andrew Tridgell eac1ad49d6 AC_PID: save 8 bytes per AC_PID object 12 years ago
Robert Lefebvre 1d12b781a0 AC_PID: Create Leaky Integrator Function. 12 years ago
uncrustify 6c5757e775 uncrustify libraries/AC_PID/AC_PID.h 13 years ago
Andrew Tridgell 5e8fe8d93e AP_Param: update PID libraries for new constructor syntax 13 years ago
rmackay9 24a471ff8f AC_PID - added more paranoid checking that imax is positive in constructor, operator() and load_gains methods 13 years ago
Jason Short b094f6ce52 added set integrator 13 years ago
Andrew Tridgell 452749149f convert AC_PID library to AP_Param 13 years ago
Jason Short af79eb273f Added D term to APM_PI - need to refactor this as a parent class and two child classes to save code space, remove dupes 13 years ago
jasonshort 4ec8805216 Reverted to older PID. Restored the older filter, and removed PI command. I am no longer using PID for the quad and have switched to PIPI loops which perform much better. The D term in this class is not that great. 14 years ago
jasonshort d192ceb8f8 upped D filter to 6 14 years ago
jasonshort 915a564b8f Changed the PID derivative filter to a moving average with 4 samples. Having great luck with it and High kD when using noisy sensors. 14 years ago
tridge60@gmail.com cf68e31729 fixed warnings in PID.h 14 years ago
jasonshort 5a22080484 I am Adding A "PI" loop to the mix. This is a need for AC2. We can optimize the internals later, but I basically duped the get_PID and removed the D term internals. 14 years ago
tridge60@gmail.com 860998d337 implemented typesafe PSTR() 14 years ago
jasonshort 240a3a2f2a quick.fix 14 years ago
DrZiplok@gmail.com 944825772d Use AP_Var to store PID scaling values. 14 years ago
jasonshort c9227dbcaf fixed a scaling bug in imax 14 years ago
jasonshort 55667fd905 removed EEPROMB references 14 years ago
james.goppert 6c10842562 Fixed PID error for low pass filter. 14 years ago
jasonshort 68eec6805a update use EEPROM class, new scaled input for RC_Channel 14 years ago
jasonshort f64fab442d added ability to get the integrator for debugging 14 years ago
james.goppert d13850c941 Added load_gains to PID constructor. 14 years ago
james.goppert 665dbefbd4 Added storage options to PID. 14 years ago
DrZiplok@gmail.com a64c5ef782 Correct misunderstanding about the intent of the external gain array. 14 years ago
DrZiplok@gmail.com 72cf1b4e57 Add a default ctor; due to 0 being magic, PID pid(0) is ambiguous. 14 years ago
DrZiplok@gmail.com 73eab31d0c Shrink the ctor slightly more 14 years ago
DrZiplok@gmail.com e699812af4 Don't zero fields in the ctor that can be zeroed by reset_I; the code gets replicated for every static instance of the class, which is obscene. 14 years ago
DrZiplok@gmail.com 9a45c2babc Re-type delta t, explicitly size error args to get_pid. 14 years ago
james.goppert f04e58c6b3 Added default scalar of 1 to PID. 14 years ago
DrZiplok@gmail.com 342b759fea Move the eeprom.h include out of the header, it's not needed there. 14 years ago
DrZiplok@gmail.com 52abef58d5 More syntax, etc. fixes. Compiles OK now. 14 years ago
DrZiplok@gmail.com dc40ee00ae Fix accessors, _RC 14 years ago
DrZiplok 264cca6d24 With apologies to Jason for breaking his branch, clean this up and document it. 14 years ago
james.goppert 3ca85f94d4 Checked for dt>0 in PID and modified ctor 14 years ago
james.goppert 7598c02f51 Added load/save gain overloads for float arrays to PID, 14 years ago
james.goppert 00e7f9b6d0 Added lowpass filter on PID lib derivative calc 14 years ago
jasonshort e7b26da27d A simple OO PID library 14 years ago