Commit Graph

24 Commits

Author SHA1 Message Date
Josh Stewart 7ca41a7355 Merge branch 'master' into ADC-interrupt 2016-11-10 07:48:47 +11:00
Josh Stewart 42640cd34b Minor performance improvements 2016-11-08 17:04:34 +11:00
VitorBoss 7b00c23134 Fully working FloatPoint 3D interpolation
Solved some issues, and renamed functions, get3DTableValueF for Float
version and get3DTableValueS for Simple code. Both seems very faster in
my tests.
2016-11-02 11:01:34 -02:00
VitorBoss 0e6ff94f6d Fix error introduced in last commit 2016-10-28 17:53:22 -02:00
VitorBoss edb9721f3a Fixed float interpolation
Added last values check to speedup the code, fixed the Overflow
protection and use 'do while' instead of 'for( , , )' function to
increade speed. All this result in a twice more speed on my tests
2016-10-28 17:45:05 -02:00
VitorBoss 59d6f132cd Fix code Style
Fix code style according to
http://speeduino.com/wiki/index.php/Style_code
2016-10-27 13:38:00 -02:00
VitorBoss af7bb6b261 new 3D interpolation codes
2 codes are there for future use, on my bench both are faster than used
now, about 146% faster on float and 160% on a clean code
2016-10-27 12:02:51 -02:00
Josh Stewart 6e50a6fc57 Updates per style guide 2016-10-26 00:42:20 +11:00
VitorBoss dabbf872c2 limit baro corretion
Check if engine isn't running. Others minor code changes.
2016-10-22 09:17:56 -02:00
VitorBoss 6d8714e035 Adition of float spark math
Add some spark math, fix some code too
2016-10-18 15:58:25 -02:00
Josh Stewart ca87f1044b Performance improvements on 2D table lookups 2016-07-22 13:52:27 +10:00
Josh Stewart 4210cd61c3 Experimental new fast caching on 2D tables (Similar to what is done on 3D tables) 2016-01-05 08:01:31 +11:00
Josh Stewart f8fd0f9692 Allow for dynamically sized 3d tables 2015-09-18 15:06:21 +10:00
Josh Stewart e44b800a6c Accuracy fix in 3d table lookup 2015-06-08 21:25:29 +10:00
Josh Stewart 372f6da64e Switch 2D tables to pointers 2015-06-05 18:02:47 +10:00
Josh Stewart f34c03c98e Big table lookup optimisation 2015-06-04 21:54:11 +10:00
Josh Stewart a9c2a2dec7 Minor performance tweaks 2015-06-04 00:31:02 +10:00
Josh Stewart 48f426317d Add explicit license information 2015-05-29 09:49:44 +10:00
Fredrik Johansson b743b2d1d0 Make the code compileable with eclipseArduino 2015-02-14 18:04:00 +01:00
Josh Stewart 1275901466 Adjust 2D tables to support ints as well as bytes 2014-05-12 21:27:22 +10:00
Josh Stewart 5870a47558 Various minor optimisations - Replace custom divide operation with div 2014-05-08 23:01:56 +10:00
Josh Stewart 8a0a99a9e4 Updated WUE and TAE to work with 2D tables 2014-02-27 15:17:14 +11:00
Josh Stewart 78fdfbe2bb Completed dynamic 2D table implementation (Untested) 2014-02-27 13:26:04 +11:00
Josh Stewart ac463dadf4 Addition of 2D table functions 2014-01-07 16:01:14 +08:00