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

386 commits

Author SHA1 Message Date
Joel Fuster
f5afb74126 motorCount needs to be global 2015-01-10 14:33:52 -05:00
Joel Fuster
62147736b2 Remove unnecessary cast 2015-01-06 20:26:09 -05:00
Joel Fuster
c853f20d75 Disable mixer debug 2015-01-04 22:25:13 -05:00
Joel Fuster
06ce23951b Rename freq parameter; remove UT warnings 2015-01-04 22:15:09 -05:00
Joel Fuster
dc3271255c More unit tests 2015-01-04 22:10:20 -05:00
Joel Fuster
de7fa3f31a Fixed point passes initial unit test 2015-01-04 21:11:40 -05:00
Joel Fuster
fc218ebebc Merge in benchmark changes 2015-01-03 15:01:47 -05:00
Joel Fuster
596da65a87 Interim dev checkin 2015-01-03 14:56:50 -05:00
Joel Fuster
d019fa181d time filter execution 2015-01-03 13:10:05 -05:00
Joel Fuster
64a78f82f8 Interim checkin 2015-01-03 12:25:46 -05:00
Joel Fuster
654c614380 Fix rounding; drive unused servos 2015-01-02 17:47:00 -05:00
Joel Fuster
4bcedab3e9 Clean up lowpass patch 2015-01-02 17:16:55 -05:00
Joel Fuster
a3cc92347b Lowpass filter tested 2015-01-02 16:59:42 -05:00
Joel Fuster
3eee9eb079 Lowpass testing 2015-01-01 19:24:35 -05:00
Joel Fuster
cf40e3231a Add configuration of notch filter
More fine-grained filter freqs
2015-01-01 15:03:40 -05:00
Joel Fuster
ceb4690bef Servo filtering test 2015-01-01 11:56:56 -05:00
Nicholas Sherlock
dfd8e5b2b0 Merge branch 'master' of https://github.com/cleanflight/cleanflight 2014-12-26 11:56:00 +13:00
Dominic Clifton
5e573c4071 Minor mixup cleanups. 2014-12-24 14:52:58 +00:00
Dominic Clifton
ee19c1f071 Rename multiType to mixerMode. Rename MULTITYPE_* to MIXER_*.
'Type' is a noise word.

'Multi' is a mis-nomer - there is nothing 'multi' about a gimbal or
fixed wing.
2014-12-24 11:58:57 +00:00
Dominic Clifton
b123b4ef03 Cleanup disabling of mixers for CJMCU, this might be usefulfor the
AlienWii32 target too.

Deleted old out of date comments.  Various other minor cleanups.
2014-12-24 11:33:14 +00:00
Nicholas Sherlock
1b1a285b4a Syncing with Cleanflight upstream 2014-12-22 23:23:26 +13:00
Dominic Clifton
13305dd2e4 Disable mixer configuration on CJMCU to save flash size. 2014-12-21 23:40:48 +00:00
Dominic Clifton
d605ded161 Adding ATAIL support.
See https://github.com/multiwii/baseflight/pull/192
2014-12-21 14:58:46 +00:00
Nicholas Sherlock
8c41772584 Add Blackbox 0.1.0 2014-12-08 22:06:57 +13:00
Dominic Clifton
e802e2d032 Remove usage of feature() from pwm driver code so that driver code does
not have a dependency on config.c.
2014-12-06 11:39:31 +00:00
Ben Hitchcock
94c5573c39 Allowing oneshot125 functionality to work on a Naze board.
This code has been flight tested, but will have problems on a CC3D board, and also when the looptime is longer than 8200 uS.
2014-11-29 14:06:35 +08:00
Kyle Manna
c806046181 perms: Remove execute bit on source files
* Remove the execute bit on source files.
* No functional change.
2014-11-26 10:13:29 -06:00
Dominic Clifton
c0fd0c1f33 Replace profile.activate and rcOptions with
profile.modeActivationCondition and rcModeActivationMask.

Implementation of using and setting modeActivationConditions is missing.
2014-10-12 10:40:38 +01:00
Dominic Clifton
d60183d91d Normalize all the line endings 2014-09-15 23:40:17 +01:00
Dominic Clifton
3f0754d295 Replace global flags with stateFlags, flightModeFlags and armingFlags.
Each flag was previously a whole byte, now all of the flags only take up
4 bytes as they are represented by bit masks.

This is cleaner because the different kind of flags are now separated.

Additionally this changes the behaviour of arming slightly.  When using
a switch to arm the aircraft will not arm unless the switch has been in
the off state once.  This prevents arming if you power the aircraft with
a low throttle and the switch in the on position.
2014-08-24 12:11:30 +01:00
Dominic Clifton
07547d35aa Initialisation order meant that useServos was always false, the problem
was introduced in fd59a4cd52.
2014-06-30 19:41:46 +01:00
Dominic Clifton
fd59a4cd52 Update mixer to use servo count from results of pwm mapping.
Also ensure that only aux channels for which there are available servos
are used when forwarding channels.

Removed magic number usage.
2014-06-11 19:13:40 +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
18046013a4 Decouple sticks processing code from main mw loops.
Decouple led ring driver from non-driver code.
2014-06-01 18:36:33 +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/flight_mixer.c (Browse further)