104 Commits (master)

Author SHA1 Message Date
Andrew Tridgell 816fe9d35a PID: use NAN to flag a D reset 12 years ago
Andrew Tridgell f6fce1e238 PID: don't reset _last_error on reset_I() 12 years ago
Andrew Tridgell d13d117e61 APM: removed reset_I() and instead auto-reset integrator in PID library 13 years ago
uncrustify 13e0dd2c70 uncrustify libraries/PID/PID.h 13 years ago
uncrustify 330c6c07e3 uncrustify libraries/PID/PID.cpp 13 years ago
uncrustify 84816966ec uncrustify libraries/PID/examples/pid/pid.pde 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 23ed5c2cee fixed imax load/save in PID 13 years ago
Andrew Tridgell 150a67c262 fixed PID initialisation 13 years ago
Andrew Tridgell 9c5a5473ab added indexes to group info structures 13 years ago
Andrew Tridgell f760b3c717 restore _fCut that was lost in AP_Param development 13 years ago
Andrew Tridgell bf4a77da81 convert libraries to new typesafe macros 13 years ago
Andrew Tridgell e5a0074312 modify the PID library for AP_Param 13 years ago
Andrew Tridgell 9c1e257826 fixed example in PID library 13 years ago
James Goppert 0c7c508541 Optional recursion added. 14 years ago
James Goppert 5489b84f8e Improvements to cmake. 14 years ago
James Goppert d887a28b91 Added ArduBoat/ ArduRover/ and APO library. 14 years ago
unknown a4e001bbcf Adding CMake support 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
tridge60@gmail.com 5c68a04c5d PID: fixed an uninitialised variable 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
james.goppert@gmail.com c1b6032e7f Eclipse makefile support for examples. 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
mich146@hotmail.com 0328f926b5 Reinstate Float loading and saving 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
jasonshort 2ac2faf7a7 git-svn-id: https://arducopter.googlecode.com/svn/trunk@979 f9c3cf11-9bcb-44bc-f272-b75c42450872 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 b0fbe39459 Remove spurious scaling 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