Bruce Luckcuck
325ba33a3f
Fix zero throttle deadband when using switched 3D modes
...
When using switched 3D modes the throttle stick ranges from 0-100% controlling the motors in only one direction. The problem was that the 3D Throttle Deadband was being applied to the minimum throttle making a much larger throttle deadband from zero throttle. So in the case of the default deadband of 50, the throttle stick movement would be equivalent to 100us of deadband (output is halved so requires double the input). This would be like trying to fly with `min_check` set to 1100.
The fix uses `min_check` to set the deadband when in switched 3D modes. This produces the same throttle deadband as normal non-3D flight.
2018-09-18 20:39:04 -04:00
borisbstyle
27cbf0515d
Merge pull request #6775 from kmitchel/fix_osd_stat_max_g_force
...
Relocate G-force calculation.
2018-09-17 08:54:41 +02:00
Kenneth Mitchell
91dcea8053
Relocate G-force calculation.
2018-09-16 19:19:40 -04:00
Michael Keller
a252b1cb7e
Merge pull request #6770 from jflyper/bfdev-handle-null-spi-instance
...
Handle NULL SPI instance case
2018-09-17 10:13:53 +12:00
Michael Keller
5f4da5166b
Merge pull request #6765 from nyway/master
...
Add default CAMERA_CONTROL pin for DALRCF722DUAL
2018-09-17 09:32:51 +12:00
Michael Keller
fa72298d41
Merge pull request #6774 from jflyper/bfdev-STM32F7X2-move-battery-meter-source-to-config
...
STM32F7X2 Move default battery meter source to board config
2018-09-17 09:17:35 +12:00
jflyper
8ee787043f
Move default battery meter source to board config
2018-09-17 01:40:26 +09:00
jflyper
4193890b27
Handle NULL SPI instance case
2018-09-16 03:09:45 +09:00
Michael Keller
9cec06dfc5
Merge pull request #6753 from kmitchel/fix_osd_flip_arrow
...
Fix osd flip arrow
2018-09-15 19:22:18 +12:00
ZhengNingwei
ed88607113
Add default CAMERA_CONTROL pin for DALRCF722DUAL
...
Add default CAMERA_CONTROL pin for DALRCF722DUAL
2018-09-15 11:07:14 +08:00
Kenneth Mitchell
1f81011f5e
Fix OSD Flip arrow.
2018-09-13 18:24:55 -04:00
Michael Keller
8207dab3e5
Merge pull request #5868 from jflyper/bfdev-poc-migrate-to-dual-gyro
...
Configurable ACC/GYRO
2018-09-14 09:22:47 +12:00
borisbstyle
9c2a8ddca3
Set theme jekyll-theme-midnight
2018-09-13 22:31:16 +02:00
borisbstyle
2eb6aa27d4
Merge pull request #6736 from andrejpodzimek/timer_definitions
...
Fixing mismatches in USED_TIMERS definitions.
2018-09-12 22:02:18 +02:00
borisbstyle
93c6f93ac1
Merge pull request #6738 from andrejpodzimek/per_target_tests
...
Adding a per-target unit test for timer metadata consistency.
2018-09-12 21:59:56 +02:00
borisbstyle
5a73bf9f5d
Merge pull request #6743 from AndersHoglund/fix_6722
...
Fix issue 6722. SRXL data collection was not triggered.
2018-09-12 21:57:33 +02:00
Anders Hoglund
e475659e53
Fix issue 6722. SRXL data collection was not triggered.
2018-09-12 12:59:40 +02:00
borisbstyle
45cf479042
Merge pull request #6734 from betaflight/iterm_relax_unittest
...
Add Iterm Relax unittest + refactor PID code (Separate iterm relax and absolute control)
2018-09-12 09:26:03 +02:00
borisbstyle
afccf50d96
Add Iterm Relax unittest // refactor
...
Refactor PID code Iterm Relax and Absolute control
Move defines for unittest to Makefile
Fix unittest isAirmodeActivated()
Absolute control unittests + optimizations
Fix dead code absolute control // unittests
Further optimizations to absolute control switch logic
2018-09-12 08:09:21 +02:00
borisbstyle
fff8045ba7
Merge pull request #6729 from betaflight/anti_windup_fix
...
Change itermWindupPointPercent default
2018-09-11 06:51:40 +02:00
Andrej Podzimek
c96c735430
Fixing mismatches in USED_TIMERS definitions.
2018-09-11 06:42:10 +02:00
Andrej Podzimek
9d553380c3
Adding a per-target unit test for timer metadata consistency.
2018-09-11 06:42:10 +02:00
Andrej Podzimek
17b66067bb
Adding a reusable mapping function between alt and base targets.
2018-09-11 06:06:50 +02:00
Andrej Podzimek
f089562d94
Fixing mismatches in USED_TIMERS definitions.
2018-09-11 05:35:08 +02:00
borisbstyle
aa44fd6bbd
Change default iterm_windup
2018-09-10 23:38:40 +02:00
borisbstyle
00dbaf9fa7
Cleanup code // add unittestst for iterm windup
2018-09-10 23:38:39 +02:00
Michael Keller
261f8d679a
Merge pull request #6732 from betaflight/bff3_features
...
Enable Iterm relax and rc smooth on bff3
2018-09-11 09:23:44 +12:00
Michael Keller
a5ca6e067c
Merge pull request #6706 from DieHertz/bfdev-kakute-f765-target
...
Added KAKUTEF7V2 target
2018-09-11 09:03:12 +12:00
borisbstyle
a42b26fb73
Merge pull request #6731 from etracer65/dterm_notch_cutoff_default
...
Change dterm_notch_cutoff default to 0
2018-09-10 19:59:24 +02:00
borisbstyle
e2995dc6ea
Enable Iterm relax and rc smooth on bff3
2018-09-10 19:55:30 +02:00
Bruce Luckcuck
9cf671b817
Change dterm_notch_cutoff default to 0
...
The dterm notch is disabled and dterm_notch_hz is already 0 by default. When the Configurator saves changes from the PID Tuning tab and the notch is disabled it sets both dterm_notch_hz and dterm_notch_cutoff to 0. Since the default was left at 160, this makes dterm_notch_cutoff appear in diff outputs. Ultimately it's just cosmetic since the dterm notch is disabled if either value is zero. But there's no reason for the dterm_notch_cutoff to remain set to the legacy 160 value.
2018-09-10 08:07:27 -04:00
jflyper
59db3f69f7
OMNINXT Fix orientation of gyro 2
2018-09-10 18:08:44 +09:00
jflyper
3e89a313bd
Handle more targets
2018-09-10 17:55:55 +09:00
jflyper
017c20226f
Convert new targets
2018-09-10 17:55:55 +09:00
jflyper
9ef9f98310
Various fixes based on mikeller's comment.
2018-09-10 17:55:55 +09:00
jflyper
fc6c24c38e
Configurable acc/gyro
2018-09-10 17:55:52 +09:00
Michael Keller
c71b1cb0df
Merge pull request #6721 from betaflight/anti_windup_fix
...
Fix bug with antiwindup inversion
2018-09-10 20:51:15 +12:00
Michael Keller
56b181a235
Merge pull request #6726 from ctzsnooze/iterm-relax-threshold-minor-fix
...
use the defined value in both places
2018-09-10 20:49:50 +12:00
Andrey Mironov
241458e1e0
Added KAKUTEF7V2 target
2018-09-10 10:54:45 +03:00
Michael Keller
5ef68ef6a3
Merge pull request #6669 from DieHertz/bfdev-f76x-support
...
Added support for STM32F765xx
2018-09-10 19:42:38 +12:00
Michael Keller
be3cd4f5c4
Merge pull request #6720 from Faduf/YUPIF7_Mag_orientation
...
add specific orientation for mag of the YupiF7 extension board
2018-09-10 19:15:42 +12:00
borisbstyle
864a2d6a2b
Fix bug with antiwindup inversion
2018-09-10 09:08:36 +02:00
ctzsnooze
acbc041259
use the defined value in both places
2018-09-10 16:52:27 +10:00
Faduf
5361dd0d66
add specific orientation for mag of the YupiF7 extension board
2018-09-09 22:05:15 +02:00
Andrey Mironov
600b854850
Reordered F7 chip types
2018-09-09 13:36:46 +03:00
Andrey Mironov
501f4a1345
Removed redundant preprocessor defs for UART AF
2018-09-09 13:36:25 +03:00
Michael Keller
39ced6bbfe
Merge pull request #6668 from mikeller/add_fno_common
...
Added '-fno-common' build option, fixed resulting problems.
2018-09-08 16:51:22 +12:00
Michael Keller
0c265773dd
Merge pull request #6688 from mikeller/dont_skip_serial_frames
...
Remove skipping of frames after suspension for serial RX.
2018-09-08 16:37:33 +12:00
Michael Keller
aa9e421068
Merge pull request #6680 from mikeller/add_vtx_control_disable_mode
...
Added 'VTX CONTROL DISABLE' mode.
2018-09-08 15:37:11 +12:00
Andrey Mironov
d6861b0842
Refactored UART pin config similarly to SPI to accomodate F765
2018-09-07 23:22:49 +03:00