1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 16:25:31 +03:00
Commit graph

5860 commits

Author SHA1 Message Date
borisbstyle
5e5b44f593 Various cleanups and increase in D setpoint weight range 2016-08-24 00:34:28 +02:00
borisbstyle
e6a11960fd Equal pid.c optimalisation to betaflight pid 2016-08-23 01:06:19 +02:00
borisbstyle
f9c827c726 Remove Int based PID loop (All target support) 2016-08-23 00:56:22 +02:00
borisbstyle
c585ad5ac1 Merge pull request #1069 from Gamma-Software/patch-1
Little optimisation PID.c
2016-08-22 23:49:11 +02:00
Gamma-Software
0f1b00520f Little optimisation PID.c
Hi,
I know, it's not a huge optimisation but I just switched the condition of the IF condition (line 425). Given that the YAW axis occur one time in the FOR loop (line 366), the IF(axis == YAW) condition will be called one time whereas the IF(axis != YAW) condition will be called two times.

Check first the most used condition in an IF condition is a good thing to do in a code source.

I just don't know if it will be a major improvement, I let you judge.
2016-08-22 16:33:23 +02:00
mikeller
2f14f61190 Fixed lockups on LED_STRIP configuration. 2016-08-23 01:21:19 +12:00
borisbstyle
3ab82abddd Merge pull request #1062 from dexX7/target-fix-ircfusion3
Add missing pin to IRCFUSION3 target
2016-08-22 00:35:29 +02:00
dexX7
174c45b67f
Add missing pin to IRCFUSION3 target
Without the pin for the IRCFUSION3 target, connecting to the FC was not possible. To fix it, the missing pin is added to the target.
2016-08-21 22:48:23 +02:00
borisbstyle
74f22e78a4 Merge pull request #1055 from jflyper/RMDO-fix-MPU-interrupt
Update RMDO MPU interrupt support
2016-08-21 16:58:59 +02:00
jflyper
f15eb69d2c Update RMDO MPU interrupt support
The RMDO/target.h was under maintained that it was probably outdated by
EXTI changes at some stage.
2016-08-21 22:39:00 +09:00
J Blackman
013bdde16c Merge pull request #1053 from nathantsoi/fix/omnibus-motors-swapped
unswap omnibus motors 3 and 4
2016-08-21 17:18:06 +10:00
J Blackman
923a0655b3 Merge pull request #1046 from martinbudden/bf_pwminit
Added bounds checking in pwmInit
2016-08-21 17:17:20 +10:00
J Blackman
fed79608fd Merge pull request #1047 from martinbudden/bf_stm32f3discovery
Maximised hardware for STM32F3DISCOVERY target
2016-08-21 17:16:05 +10:00
nathan
525dbcc308 unswap omnibus motors 3 and 4 2016-08-20 22:55:03 -07:00
borisbstyle
9178ab5e6a Reduce Suspend time 2016-08-21 01:08:01 +02:00
borisbstyle
a321f7f766 Reduce Suspend time 2016-08-21 01:06:13 +02:00
borisbstyle
2b14e5d20c Include missing headers for ISHAPEDF3 2016-08-21 00:56:08 +02:00
borisbstyle
4043f5e5b4 Increase Battery Priority 2016-08-21 00:22:24 +02:00
borisbstyle
75da7ee207 Increase Battery Priority 2016-08-21 00:22:02 +02:00
borisbstyle
138ade7939 Improve dterm filter accuracy // magic number 2016-08-21 00:19:51 +02:00
borisbstyle
4e2ff7e7e9 Improve dterm filter accuracy // magic number 2016-08-21 00:13:14 +02:00
borisbstyle
4543778ad1 Merge branch 'master' into development 2016-08-20 23:53:12 +02:00
borisbstyle
198f2ca377 Merge pull request #937 from maxsymba/betaflight
Target for I-Shaped F3 from Banggood
2016-08-20 23:49:28 +02:00
borisbstyle
25a796a9cd Merge pull request #1043 from blckmn/ppm_fix
Small PPM fixes and updates to REVO
2016-08-20 23:46:39 +02:00
borisbstyle
b6d581bb73 Merge branch 'master' into development 2016-08-20 23:33:56 +02:00
borisbstyle
0668493ddd Busy wait reduction // Cleanup // New defaults 2016-08-20 23:24:25 +02:00
Martin Budden
655c05b54c Maximised hardware for STM32F3DISCOVERY target 2016-08-20 06:04:56 +01:00
Martin Budden
afdb0329bb Added bounds checking in pwmInit 2016-08-20 05:52:29 +01:00
borisbstyle
2600dacb12 Merge pull request #1044 from martinbudden/bf_fir_filter_averages
Added average to FIR filter. Added int16 FIR filter.
2016-08-20 00:12:02 +02:00
Martin Budden
6345280ad7 Added average to FIR filter. Added int16 FIR filter. 2016-08-19 17:52:11 +01:00
blckmn
f823a81540 Small PPM fixes and updates to REVO 2016-08-19 22:51:59 +10:00
Anton Stålheim
f21037ad37 Merge pull request #1037 from mikeller/remove_double_up_servo_dump
Removed doubled up servo output in CLI 'diff'/'dump'.
2016-08-18 12:43:17 +02:00
mikeller
de9f57d016 Removed doubled up servo output in CLI 'diff'/'dump'. 2016-08-18 21:58:07 +12:00
Michael Keller
a91953d75b Merge pull request #1033 from mikeller/travis_gcc_5_4_test
Testing gcc 5.4 for travis builds.
2016-08-18 12:38:02 +12:00
Michael Keller
17df76e63b Merge branch 'master' into development 2016-08-18 12:12:46 +12:00
Michael Keller
1146e72cea Update .travis.yml
Fix copy / pasta.
2016-08-18 12:12:33 +12:00
Michael Keller
c728aba5b0 Testing gcc 5.4 for travis builds. 2016-08-18 11:51:36 +12:00
borisbstyle
1a82b1c9f7 Merge pull request #1030 from MasterZap/masterzap/fix-3d-throttle
Fix deadband behaviour for 3D Throttle
2016-08-18 01:50:07 +02:00
borisbstyle
6f06561782 Merge branch 'master' of https://github.com/borisbstyle/betaflight 2016-08-18 01:37:13 +02:00
borisbstyle
847e2cd605 Remove Mag for CC3D 2016-08-18 01:36:32 +02:00
borisbstyle
e86fb6ed15 Merge pull request #1031 from betaflight/blackbox_motor_test
Blackbox motor test from @GaryKeeble
2016-08-18 01:25:18 +02:00
borisbstyle
926bc982d6 Change some commands 2016-08-18 01:24:46 +02:00
borisbstyle
bd04f4d22b coding style // refactor 2016-08-18 01:21:09 +02:00
mikeller
fe0a8d602e Added default value display for CLI dump / diff. 2016-08-18 11:17:01 +12:00
Gary Keeble
69e2c991e3 Test Mode Blackbox Logging
Prevent pausing of the log in test mode if a mode switch is configured

Add CLI Command and protect against blackbox storage full

Added CLI command blackbox_on_motor_test (ON/OFF).

Test Mode Blackbox Logging

Prevent pausing of the log in test mode if a mode switch is configured

Add CLI Command and protect against blackbox storage full

Added CLI command blackbox_on_motor_test (ON/OFF).

Cleanup as per BorisB recommendations

Remove un-needed header file entries and convert to millis().

Updated as per latest comments
2016-08-18 00:58:27 +02:00
Michael Keller
eb83ffa58c Merge pull request #997 from mikeller/added_cli_terse_define
Added 'CLI_TERSE' option for reduced image size. Reenabled LED_STRIP for CC3D.
2016-08-18 10:46:13 +12:00
Zap Andersson
f936b92c64 Fix whitespaces - again
Damned editor and their damned tabs. Tabs should be nuked from orbit!
2016-08-17 22:51:02 +02:00
Zap Andersson
522048c8f2 Fixed whitespace 2016-08-17 22:45:04 +02:00
Zap Andersson
2be9e6c0fe Fix throttle stick deadband behaviour in 3D Mode 2016-08-17 22:41:49 +02:00
Anders Höglund
6b83e91ce5 Merge pull request #1022 from AndersHoglund/development
Fixed some outdated info in Vagrantfile.
2016-08-16 23:57:19 +02:00