1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 22:35:23 +03:00
Commit graph

2684 commits

Author SHA1 Message Date
Thomas Miric
08fb5bc1dd rewrite some functions
Some functions are rewritten to obtain a clearer code
2016-02-08 23:26:28 +01:00
Thomas Miric
e985a6c60b Change updateCRC8 with the optimized code from ledvinap 2016-02-08 23:26:28 +01:00
Thomas Miric
0850e89550 code formating and corrected spelling 2016-02-08 23:26:28 +01:00
Thomas Miric
bf8c3c88bc Add Jeti Ex Bus receiver with telemetry capabilities 2016-02-08 23:26:28 +01:00
borisbstyle
7bef1db230 Merge pull request #170 from borisbstyle/cc3d_ppm_timer_conflict
CC3D - don't share timer between PPM capture and motor output
2016-02-08 23:00:53 +01:00
borisbstyle
1d60ef46ba Fixed throttle problem in 3D // Tested 2016-02-08 22:58:09 +01:00
edusteinhorst
56e9278354 CC3D - don't share timer between PPM capture and motor output
A periodic glitch happens on AUX channels when using OneShot on CC3D,
especially with faster update loops. This is caused by a race condition
while forcing timer overflows and sharing the timer for PPM capture.
It causes the craft the fall out of the sky when using a switch to arm.

* Remap PPM in from S1_IN to S6_IN
* Remap RSSI_ADC from S6_IN to S3_IN
* Block PWM12/S6_OUT from being used with Oneshot/brushed motors so
TIM2 (PPM_IN timer) doesn't change prescaler or is manually overflowed
* Allow only one feature out of SOFTSERIAL/RSSI_ADC/SONAR, since they
will now share the same pin
* Update docs to reflect port changes and restrictions

This fixes cleanflight/cleanflight#1748,
fixes borisbstyle/betaflight#64, fixes borisbstyle/betaflight#127

fix BP6
2016-02-08 21:27:46 +01:00
borisbstyle
3fc14404dc Prevent saving wrong gyro_sync_denom through configurator 2016-02-08 14:50:33 +01:00
borisbstyle
7ee65eac8f Fix Race Targets 2016-02-08 14:48:13 +01:00
atomiclama
69b25af867 fix for mixer 2016-02-08 12:24:03 +00:00
borisbstyle
604896a3fc Fix 3D inversed throttle 2016-02-08 09:18:41 +01:00
borisbstyle
beaca5ba36 Disable saturation limit for non-airmode 2016-02-08 01:28:50 +01:00
borisbstyle
ee3111229a Working PID to Voltage Scaling // up to 25% gain from full to empty battery 2016-02-08 01:15:09 +01:00
borisbstyle
9b826f4373 Configurable saturation limit for Airmode 2016-02-07 23:50:46 +01:00
borisbstyle
8b85c57723 Merge pull request #164 from AlienWiiBF/CLI_Fix
Fix CLI table lookup for targets without blackbox support
2016-02-07 20:42:38 +01:00
borisbstyle
a1978b265a Disable error interrupt USB // Fixes CPU overload and arming issues on some boards. Thanks to moto moto 2016-02-07 20:41:22 +01:00
Michael Jakob
c906e4cd76 Fix CLI table lookup for targets without blackbox support 2016-02-07 13:15:04 +01:00
borisbstyle
350bae1ae9 Remove Some WTF's 2016-02-07 01:49:37 +01:00
borisbstyle
9a5a73ade9 Fix compile error 2016-02-06 23:01:05 +01:00
borisbstyle
cec838090d Apply proper calculation to Vbat PID scaler 2016-02-06 22:23:22 +01:00
borisbstyle
3b84cddc3d Fixes and cleanups to the new Airmode code 2016-02-06 22:13:44 +01:00
borisbstyle
035b34bbc4 Cleanup delta method code code and refactor 2016-02-06 14:00:45 +01:00
borisbstyle
71392f846d Merge pull request #163 from readerror67/lux_minor_fix
Minor fix for VBAT and PPM on LUX
2016-02-06 13:48:07 +01:00
borisbstyle
f1bb13d364 VBAT PID compensation Initial Implementation // Untested 2016-02-06 13:42:52 +01:00
borisbstyle
0e735ae313 Scale antiWindup increment to looptime. It is now always 500ms 2016-02-06 13:12:15 +01:00
borisbstyle
cdb671b0d6 Configurable gyro Denominator when gyro_lpf set to OFF 2016-02-06 13:09:40 +01:00
Read Error
623c5452a4 Minor fix for VBAT and PPM. 2016-02-06 05:22:20 -05:00
borisbstyle
9f15da0641 Fix Profile selection Bug MSP and rc_controls.c warnings 2016-02-05 23:00:23 +01:00
borisbstyle
36de2bbc23 Merge pull request #159 from KiteAnton/config_cleanup
Config cleanup
2016-02-05 22:50:22 +01:00
Michael Jakob
47f1d7e955 SPI3 fix
reintroduce SPI timeout to avoid driver blockage
AlienFlight related fixes
2016-02-05 22:14:49 +01:00
borisbstyle
fda0794441 Airmode rework // Fix 3D from negative to positive // cleanup 2016-02-05 22:04:39 +01:00
borisbstyle
18da3d08f8 Refactor previousErrorGyroI 2016-02-04 12:10:14 +01:00
borisbstyle
4b6f276d2b Set mid_rc for throttle checks in 3D 2016-02-04 12:01:51 +01:00
borisbstyle
212017654b Airmode overrules motor stop 2016-02-04 11:33:54 +01:00
KiteAnton
9711cb5a28 Bump EEPROM version 2016-02-04 05:59:43 +01:00
borisbstyle
c55d0baf31 Fix non Working Anti Windup 2016-02-04 01:55:44 +01:00
borisbstyle
5174e96549 Revert "Replace old lowpass with BiQuad for Vbat and Servo"
This reverts commit 27772ba56a.
2016-02-04 00:45:09 +01:00
borisbstyle
7f5f93a13d Cleanflight sync serial_cli.c // Scheduler CPU instead of load 2016-02-03 23:44:56 +01:00
KiteAnton
7c582fb863 Fix PR issue for colibri target 2016-02-03 22:06:09 +01:00
KiteAnton
cd30abdec6 Additional fix to solve rebase misses 2016-02-03 21:42:53 +01:00
KiteAnton
a24b02b90f Further config restructuring, moved rates to profile 2016-02-03 21:28:00 +01:00
KiteAnton
41a2a3767f Fix PR also for COLIBRI_RACE target 2016-02-03 21:20:25 +01:00
KiteAnton
b4b0669b78 Fix issue/bug in PR with pointer overwriting other values 2016-02-03 21:15:39 +01:00
KiteAnton
62e0e59ab5 Additional configs moved from profile to master 2016-02-03 21:10:08 +01:00
KiteAnton
0d054af27f Additional inflight adjustments possible 2016-02-03 21:03:27 +01:00
KiteAnton
f685635c4f Remove one profile 2016-02-03 21:03:27 +01:00
KiteAnton
69c7c2f9c7 Move modes and adjustments from profile to free up flash 2016-02-03 21:03:27 +01:00
borisbstyle
27772ba56a Replace old lowpass with BiQuad for Vbat and Servo 2016-02-03 14:33:43 +01:00
borisbstyle
eebacc2542 Refactor BiQuad // Set filters to floats 2016-02-03 13:46:56 +01:00
borisbstyle
403812c45f Fix Ledstrip for LUX_RACE target 2016-02-03 12:06:23 +01:00