1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-17 05:15:25 +03:00
Commit graph

25 commits

Author SHA1 Message Date
borisbstyle
3f6860b83b Fix error in rc expo calculation // add configurable expo power 2016-09-02 22:10:01 +02:00
Martin Budden
141b369667 Removed trailing whitespace 2016-07-16 07:54:58 +01:00
JOhn Aughey
8310c6f050 Moving constrain to the include file and making it static inline 2016-05-03 17:44:49 -05:00
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
JOhn Aughey
61392c5afc Removing inline from constrin and constrainf.
These functions are used elsewhere and the inline declaration
can cause the compiler to make them static and unavailable outside
of this file.  Unless these functions are defined in a .h file,
they cannot be inlined.
2016-05-02 09:47:36 -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
borisbstyle
47c493b34a 2khz Performance Enhancements // More processing time 2015-12-30 00:03:33 +01:00
Konstantin Sharlaimov (DigitalEntity)
e8917b7a28 Quick median filter for floats 2015-12-24 10:59:49 +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
Konstantin Sharlaimov
082ac22eb0 Typo fix for quickMedianFilter implementation 2015-07-10 22:44:40 +10:00
Konstantin Sharlaimov (DigitalEntity)
eb5fc7c0eb Refactored code 2015-07-10 09:07:28 +10: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
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
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
Renamed from src/common/maths.c (Browse further)