12 Commits (1e69b8826111969d6a8fddba5347a0ae0accda20)

Author SHA1 Message Date
Andrew Tridgell a18298ed76 APM_PI: updates for new AP_Param API 12 years ago
Pat Hickey 71a360b3e3 APM_PI: ported to AP_HAL 12 years ago
Pat Hickey 3f1d9d7f69 AP_Param: #include <AP_Param.h> fixups for libraries & sketches 12 years ago
uncrustify 466f76ebc1 uncrustify libraries/APM_PI/APM_PI.h 13 years ago
Andrew Tridgell 5e8fe8d93e AP_Param: update PID libraries for new constructor syntax 13 years ago
Andrew Tridgell db96303fa0 convert APM_PI library to AP_Param 13 years ago
Jason Short d0af95f0e3 allows main code to manually set the integrator value 13 years ago
Jason Short 9d1f56c6da Split P and I term 13 years ago
Jason Short 6bf0c32173 Removed some old debug prints from motors.pde 13 years ago
Jason Short 231e7e961c changed PI to float 14 years ago
Jason Short bf94ba551e changed PI Library to take Float for DeltaTime 14 years ago
tridge60@gmail.com 641099d2ed renamed ACM_PI to APM_PI to fix build 14 years ago
jasonshort ab876ebe13 Adding ACM_PI 14 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