1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 04:45:24 +03:00
Commit graph

15592 commits

Author SHA1 Message Date
ctzsnooze
2922f06f40 ff_interpolated should default to AVERAGED_2
Identified by OCrap
2020-02-12 18:24:44 +11:00
ctzsnooze
86c309454f More aggresive FF for averaging <3 2020-02-09 16:53:34 +11:00
Michael Keller
be016dc794
Merge pull request #9460 from noah95/rssi-scale-doc
Rssi scale documentation
2020-02-09 08:02:41 +13:00
Noah Huetter
9444d0d93b
Move chapter up hierarchy 2020-02-08 10:39:57 +01:00
Michael Keller
9e3d34aed0
Merge pull request #9437 from mikeller/add_rx_binding_to_msp
Added command to bind RX to MSP.
2020-02-08 20:47:50 +13:00
Michael Keller
ecfbaa9101
Merge pull request #9456 from etracer65/rename_acc_calib_arming_disabled
Rename ACC_CALIB arming disabled message to NO_ACC_CAL
2020-02-08 14:56:08 +13:00
Michael Keller
55bdf61b2d
Merge pull request #9455 from etracer65/yaw_spin_recovery_auto
Add "auto" mode to yaw spin recovery
2020-02-08 14:55:47 +13:00
Michael Keller
d7c7919540
Merge pull request #9448 from jflyper/bfdev-g4-adc
[G4] ADC support
2020-02-08 14:55:28 +13:00
jflyper
a554fc7a09 [G4] ADC support 2020-02-08 13:26:41 +13:00
Noah Huetter
df626d34a4
Add documentation for RSSI scale and offset 2020-02-07 16:37:57 +01:00
Michael Keller
c4912847fc
Merge pull request #9452 from etracer65/use_board_info_fix_compile
Fix compile errors when USE_BOARD_INFO is not defined
2020-02-07 09:58:07 +13:00
Michael Keller
11e81a9bc8
Merge pull request #9453 from etracer65/use_blackbox_compiler_warning
Fix compiler warnings if USE_BLACKBOX is not defined
2020-02-07 09:55:35 +13:00
Bruce Luckcuck
653fe308cb Add "auto" mode to yaw spin recovery
Changes yaw spin recovery from a simple on/off to on/off/auto. In auto mode the triggering threshold is automatically calculated based on the user's current max yaw rate.

So `yaw_spin_recovery` has the following options:
`OFF`: Feature is disabled
`ON`: Feature is enabled with a manually configured `yaw_spin_threshold`
`AUTO`: Feature is enabled and the trigger threshold is automatically calculated.

The auto calculation of the trigger threshold is:
```
MAX(yawRate * 0.25, 200)
```
The 25% of the user's rate is to provide a buffer for yaw overshoots during normal flight. Overall the threshold is constrained between 500 - 1950 to match the manual selection.

The default is changed from `ON` to `AUTO` so that users will get protection without needing to configure the threshold manually.

In `AUTO` mode the threshold is calculated dynamically so rate changes in flight (like rateprofile change) will set a new trigger threshold.
2020-02-05 23:55:31 -05:00
Michael Keller
19fa0f7c23
Merge pull request #9449 from etracer65/blackbox_32k_cleanup
Blackbox 32K code cleanup
2020-02-06 17:07:26 +13:00
mikeller
39b62cb6c1 Added command to bind RX to MSP. 2020-02-06 13:36:27 +13:00
Bruce Luckcuck
272955f0dc Rename ACC_CALIB arming disabled message to NO_ACC_CAL 2020-02-05 18:08:39 -05:00
Bruce Luckcuck
ecd9034b07 Fix compiler warnings if USE_BLACKBOX is not defined 2020-02-05 10:59:54 -05:00
Bruce Luckcuck
6fc19c5fe9 Fix compile errors when USE_BOARD_INFO is not defined 2020-02-05 09:49:56 -05:00
Michael Keller
97704dda58
Merge pull request #9444 from etracer65/gyro_native_sample_rate
Gyro native rate sampling, filtering, and scheduler restructuring
2020-02-05 23:21:56 +13:00
Michael Keller
591ab6aff3
Merge pull request #9441 from jflyper/bfdev-fix-dashboard-init-order
Fix dashboard initialization order
2020-02-05 12:39:00 +13:00
Bruce Luckcuck
f29440957d Blackbox 32K code cleanup
Cleaning up some missed 32K specific code.
2020-02-04 18:30:30 -05:00
Bruce Luckcuck
f584780944 Gyro native rate sampling, filtering, and scheduler restructuring 2020-02-04 18:19:35 -05:00
Michael Keller
42f18b2cbc
Merge pull request #9445 from mikeller/fix_sdcard_default
Fixed default for 'sdcard_mode' to 'none'.
2020-02-05 06:07:00 +13:00
mikeller
e4cfe77e05 Fixed default for 'sdcard_mode' to 'none'. 2020-02-04 17:02:33 +13:00
Michael Keller
131965577f
Merge pull request #9438 from jflyper/bfdev-g4-timer
[G4] timer support
2020-02-04 06:23:48 +13:00
Michael Keller
26a7717e53
Merge pull request #9439 from jflyper/bfdev-g4-softserial
[G4] SOFTSERIAL support
2020-02-04 06:18:06 +13:00
Michael Keller
b11565efbe
Merge pull request #9436 from mikeller/added_sdio_to_unified_targets
Added support for SDIO to Unified Targets.
2020-02-03 19:49:41 +13:00
jflyper
c172ab3193 Fix dashboard initialization order 2020-02-03 13:05:08 +09:00
jflyper
fb1be68a8a [G4] timer support 2020-02-03 11:15:09 +09:00
Michael Keller
a573c8972a
Merge pull request #9435 from etracer65/dyn_notch_minmax_setting_order
Rearrange parameter ordering so dynamic notch min/max are together
2020-02-03 13:12:15 +13:00
Michael Keller
1000dc3680
Merge pull request #9433 from etracer65/gps_rescue_fix_altitude_mode
Fix GPS Rescue altitude mode behavior
2020-02-03 13:11:12 +13:00
jflyper
2b4c5eef1d [G4] SOFTSERIAL support 2020-02-03 01:58:37 +09:00
mikeller
27ef887742 Added support for SDIO to Unified Targets. 2020-02-02 17:08:45 +13:00
Michael Keller
30bf9e809f
Merge pull request #9431 from jflyper/bfdev-g4-spi
[G4] SPI support
2020-02-02 13:52:49 +13:00
Bruce Luckcuck
aa05d3ebc7 Rearrange parameter ordering so dynamic notch min/max are together
Previously settings were separated and out of order.
2020-02-01 13:10:47 -05:00
Bruce Luckcuck
741674c759 Fix GPS Rescue altitude mode behavior
Fixed unassigned variable controlling the altitude mode. Unassigned value was defaulting to 0 forcing `MAX_ALT` mode at all times instead of the user setting.
2020-02-01 10:30:23 -05:00
Michael Keller
09e8234117
Merge pull request #9430 from jflyper/bfdev-g4-exti
[G4] EXTI support
2020-02-01 20:29:49 +13:00
Michael Keller
cbc91ce813
Merge pull request #9407 from jflyper/bfdev-g4-uart
[G4] UART support
2020-02-01 20:21:17 +13:00
jflyper
258db6867b [G4] UART support 2020-02-01 09:58:31 +09:00
Michael Keller
971a89e3c6
Merge pull request #9420 from mikeller/exclude_swd_pins_from_pullup
Exclude SWD pins from being initialised as pull up if unused.
2020-01-31 19:59:55 +13:00
jflyper
d316309ff5 [G4] SPI support 2020-01-31 13:26:32 +09:00
jflyper
b3e6c6d148 [G4] EXTI support 2020-01-31 13:08:45 +09:00
Michael Keller
287741b816
Merge pull request #9421 from etracer65/fix_compile_without_vtxtable
Fix compile errors if USE_VTX_TABLE is not defined
2020-01-31 01:06:37 +13:00
Michael Keller
30ba612b39
Merge pull request #9408 from Asizon/skipInfoEntries
Skip DYNAMIC read only entries in CMS
2020-01-29 10:28:00 +13:00
Asizon
6061e4e3ea Move Skip to a function 2020-01-28 15:48:14 +01:00
Michael Keller
03c6c1db4b
Merge pull request #9418 from mikeller/fix_stm32f411_pin_init
Fixed initialisation of unused pins on STM32F411.
2020-01-28 21:18:27 +13:00
mikeller
cd27b63b89 Exclude SWD pins from being initialised as pull up if unused. 2020-01-28 10:52:21 +13:00
Bruce Luckcuck
c2770087c3 Fix compile errors if USE_VTX_TABLE is not defined 2020-01-27 09:07:20 -05:00
mikeller
a8a3585f38 Fixed initialisation of unused pins on STM32F411. 2020-01-27 21:12:09 +13:00
Michael Keller
0c6b965898
Merge pull request #9416 from mikeller/fix_missing_spaces
Fixed missing spaces after 'if'.
2020-01-27 19:26:59 +13:00