Commit Graph

13 Commits

Author SHA1 Message Date
Andrew Tridgell
ac2db516b4 APM_PI: fixed indent-tabs-mode 2013-05-30 09:54:53 +10:00
James Bielman
4fa7bb1486 Add AVR compatibility header for missing math.h definitions.
- Define float versions of math functions to the double versions
  on AVR (eg. #define sinf sin).
- These macros appear to be missing in older versions of avr-libs.
- Include AP_Math.h rather than math.h to get these definitions.
2013-01-16 13:52:17 +11:00
uncrustify
6c0c5f524b uncrustify libraries/APM_PI/APM_PI.cpp 2012-08-21 19:04:08 -07:00
Andrew Tridgell
5e8fe8d93e AP_Param: update PID libraries for new constructor syntax 2012-08-08 12:11:57 +10:00
Andrew Tridgell
9c5a5473ab added indexes to group info structures 2012-02-13 16:22:52 +11:00
Andrew Tridgell
db96303fa0 convert APM_PI library to AP_Param 2012-02-13 16:22:52 +11:00
Jason Short
9ed6463b39 Split the P and I terms in PI 2011-12-06 21:08:47 -08:00
Jason Short
0ca427bdd9 Removed debugging code from APM_PI 2011-11-08 14:41:21 -08:00
Jason Short
6bf0c32173 Removed some old debug prints from motors.pde
added ability to not increment I term for traversals.
2011-11-07 14:32:39 -08:00
Jason Short
6fd7c1dcda AP_PI AP_Var change
using the If statement rather than Max to avoid potential AP_Var issues. I don't know if this is a real prob or not. Just being careful.
2011-10-26 09:46:16 -07:00
Jason Short
1f8576559a Optimized PI loop 2011-09-29 22:37:56 -07:00
Jason Short
bf94ba551e changed PI Library to take Float for DeltaTime
Changed timing to be more accurate in main loop. Still need to switch to micros(). Left that for Tridge. This gets rid of six floating point calcs *250. Nice!
2011-09-19 14:02:42 -07:00
tridge60@gmail.com
641099d2ed renamed ACM_PI to APM_PI to fix build
the library name needs to match the header name for the arduino build
to work

git-svn-id: https://arducopter.googlecode.com/svn/trunk@3254 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-09-05 01:15:24 +00:00