42 Commits (91476d78ae1164164b95baf2bb3b687168e99b1b)

Author SHA1 Message Date
Andrew Tridgell 6862791d66 PID: fixed indent-tabs-mode 12 years ago
Andrew Tridgell 6123ea2dac PID: added get_pid_4500() 12 years ago
Andrew Tridgell fe964fcda0 PID: change to float input/output 12 years ago
Andrew Tridgell 306d53b4ae PID: updates for new AP_Param API 12 years ago
Pat Hickey 39d14c8a93 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 816fe9d35a PID: use NAN to flag a D reset 12 years ago
uncrustify 13e0dd2c70 uncrustify libraries/PID/PID.h 13 years ago
Andrew Tridgell 5e8fe8d93e AP_Param: update PID libraries for new constructor syntax 13 years ago
Andrew Tridgell f6d7d1bc59 APM: changed PID library to do automatic deltat calculation 13 years ago
Andrew Tridgell 150a67c262 fixed PID initialisation 13 years ago
Andrew Tridgell f760b3c717 restore _fCut that was lost in AP_Param development 13 years ago
Andrew Tridgell e5a0074312 modify the PID library for AP_Param 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