borisbstyle
5ffb3b5068
Revert "Merge pull request #372 from aughey/betaflight"
...
This reverts commit a6a5f50ffb
, reversing
changes made to 9cc5503851
.
2016-05-04 00:00:04 +02:00
JOhn Aughey
b6ff69feda
Moving constrain and constrainf to the include file to be inlined.
2016-05-02 10:03:43 -05:00
borisbstyle
257865cff2
Simplify Fixed point Math notations
2016-03-03 16:17:10 +01:00
borisbstyle
7fd88f060d
Fixed point math Implementation instead of floats
2016-02-19 01:03:24 +01:00
Konstantin Sharlaimov (DigitalEntity)
e8917b7a28
Quick median filter for floats
2015-12-24 10:59:49 +01:00
borisbstyle
4b3ba927e9
Merge branch 'master' into betaflight
...
Conflicts:
src/main/blackbox/blackbox_io.c
src/main/drivers/serial_usb_vcp.c
src/main/flight/imu.c
src/main/mw.c
src/main/target/CC3D/target.h
2015-10-12 23:53:43 +02:00
Petr Ledvina
8f3d9fae9a
unify typedef struct name_s {} name_t;
naming convention
2015-10-12 19:58:12 +01:00
Konstantin Sharlaimov (DigitalEntity)
45a4f11f92
Added #define for imu debug output (+16 squashed commit)
...
Squashed local commits:
from : e4265d4a13f63f82d5cf55eea2c091622f96660b
up to (inc): 72416dc74745fa8bae1aded79aa4b9ed0e389076
2015-09-19 14:50:53 +02:00
Nicholas Sherlock
0c4604eeef
Blackbox code size savings by factoring common loops out into fuctions
2015-07-31 15:53:22 +09:00
digitalentity
a3b57386c2
Ported fast trigonometry functions over from @Crashpilot1000 Harakiri code
...
Fixed maths_unittest.cc to correctly handle float-point numbers
2015-07-09 22:38:17 +10:00
Dominic Clifton
4fcecbd667
De-duplicate vector matrix calculation code.
...
Saves 248 bytes of flash space when using -O0.
2015-06-24 22:33:36 +01:00
digitalentity
6e041c57dd
Added median filter implementation. Added 3-point median filter to generic barometer code.
2015-04-07 19:58:20 +01:00
Pierre Hugo
be03ed95fa
Renamed min, max and abs macros to MIN MAX and ABS.
2015-01-23 22:40:00 -08:00
Pierre Hugo
29c5630957
Moved vectors, euler angles, rotation and normalization from imu to maths.
2015-01-21 19:42:06 -08:00
Pierre Hugo
6711c56dc5
Switched to explicitly using M_PI.
2015-01-21 19:20:19 -08:00
Pierre Hugo
add0b517ed
Removed unused macro RADX10.
2015-01-21 19:13:15 -08:00
Pierre Hugo
c4dbe66249
Removed unused DEG2RAD macro.
2015-01-21 19:04:32 -08:00
Petr Ledvina
4157cf5315
Fix double constatns
...
some constants were double, M_PI was sometimes inherided as double
added -Wdouble-promotion to makefile warnings
2014-11-20 08:31:35 +01:00
Dominic Clifton
daa823ddba
AltHold cleanup.
...
* Renamed several methods and variables so they make more sense.
* Move more altitude hold related code out of imu.c/h into
altitudehold.c/h.
* Fixed a unsigned integer being using instead of an signed integer in
the throttle calculation code.
2014-09-29 01:34:15 +01:00
Goebish
b83e7b42b7
Add throttle level indicator led mode
2014-09-19 01:09:59 +02:00
Dominic Clifton
d60183d91d
Normalize all the line endings
2014-09-15 23:40:17 +01:00
Dominic Clifton
9f1a0fcb4c
Cleanup line endings.
2014-07-31 23:53:34 +01:00
Dominic Clifton
e867af8c4b
Correct project name in GPL notices.
2014-06-05 00:47:47 +01:00
Dominic Clifton
0bbcd6570f
Updated source files to include the GPL v3 notices. Include a copy of
...
the GPL v3.
2014-06-04 16:48:23 +01:00
Dominic Clifton
d19a5e7046
Cleanup project structure. Update unit test Makefile to place object
...
files in obj/test
2014-05-31 22:43:06 +01:00