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
Andrew Tridgell
a18298ed76
APM_PI: updates for new AP_Param API
2012-12-20 14:51:38 +11:00
Pat Hickey
71a360b3e3
APM_PI: ported to AP_HAL
...
* formatted to 80w, way of the future, way of the future
2012-12-20 14:51:31 +11:00
Pat Hickey
3f1d9d7f69
AP_Param: #include <AP_Param.h> fixups for libraries & sketches
...
* I mostly went through with grep and added an #include <AP_Param.h> below
every #include <AP_Common.h>. Not all of these example sketches might
strictly need AP_Param.
2012-12-20 14:51:19 +11:00
uncrustify
466f76ebc1
uncrustify libraries/APM_PI/APM_PI.h
2012-08-21 19:04:08 -07: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
d0af95f0e3
allows main code to manually set the integrator value
2012-01-04 09:28:36 -08:00
Jason Short
9d1f56c6da
Split P and I term
2011-12-06 21:10:30 -08: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
James Goppert
0c7c508541
Optional recursion added.
2011-09-30 17:17:51 -04:00
Jason Short
a7ea200407
Merge branch 'master' of https://code.google.com/p/ardupilot-mega
2011-09-29 23:27:36 -07:00
Jason Short
1f8576559a
Optimized PI loop
2011-09-29 22:37:56 -07:00
James Goppert
5489b84f8e
Improvements to cmake.
2011-09-29 21:23:26 -04:00
James Goppert
d887a28b91
Added ArduBoat/ ArduRover/ and APO library.
2011-09-29 14:12:15 -04:00
Jason Short
231e7e961c
changed PI to float
2011-09-19 14:41:32 -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
unknown
a4e001bbcf
Adding CMake support
2011-09-14 15:44:55 +02: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