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

12294 commits

Author SHA1 Message Date
mikeller
1036b29a58 Improved code to apply level modes. 2020-02-18 00:29:32 +13:00
Michael Keller
17e620f997
Merge pull request #9486 from IllusionFpv/updated-dlpf-curve
Updated DLPF curve
2020-02-17 23:57:49 +13:00
Michael Keller
d25c852098
Merge pull request #9464 from jflyper/bfdev-g4-mco
[G4] MCO support
2020-02-17 08:12:05 +13:00
Michael Keller
c984107291
Merge pull request #9482 from ctzsnooze/Revert-iTerm-Relax
Restore proper behaviour of iterm_relax_cutoff in setpoint mode
2020-02-17 08:11:26 +13:00
Michael Keller
82ed38a5dc
Merge pull request #9484 from mikeller/remove_legacy_timer_index
Removed legacy timer index notation from CLI.
2020-02-17 08:11:03 +13:00
Michael Keller
b96649ef76
Merge pull request #9481 from phobos-/nfe-racemode
NFE Race Mode
2020-02-17 08:08:59 +13:00
phobos-
8ce268d5f1 Implemented NFE Race Mode 2020-02-16 13:46:08 +01:00
jflyper
1db460f164 [G4] MCO support 2020-02-16 15:21:49 +09:00
Nicola De Pasquale
2e9516bb63 updated dlpf curve math, now it goes from straight to positive 2020-02-15 23:49:16 +01:00
mikeller
bc4701aebf Simplified the calculations, fixed tests. 2020-02-16 10:34:31 +13:00
ctzsnooze
2bbe525853 Fix iterm_relax at low cutoff values
Doesn't adjust threshold upwards when cutoff is reduced below default.
This reverts to original setpoint code behaviour.

Probably better to go back entirely to the original code.

Add changed max on iterm_relax_cutoff to CMS

Restore ITERM_RELAX_SETPOINT_THRESHOLD to float to fix Travis error
2020-02-16 10:17:06 +13:00
jflyper
716a47fd55 [H7] Add support for 480MHz clock for silicon Rev.V 2020-02-16 00:03:40 +09:00
Michael Keller
e67555db7f
Merge pull request #9479 from mikeller/detect_stm32H743_revisions
Detect revisions of the STM32H743.
2020-02-16 03:33:59 +13:00
mikeller
e785d6eaae Removed legacy timer index notation from CLI. 2020-02-15 14:56:28 +13:00
Michael Keller
563022cc40
Merge pull request #9474 from jflyper/bfdev-config-streamer-cleanup-for-h7-and-g4
[H7][G4] getFLASHSectorForEEPROM cleanup
2020-02-15 13:48:37 +13:00
Michael Keller
a49827fe34
Merge pull request #9466 from ctzsnooze/FF_lessSmooth
More aggresive FF for no or 2 point averaging; default to 2 point averaging
2020-02-15 13:47:09 +13:00
Michael Keller
3176368bc8
Merge pull request #9454 from rvdveen/low-capacity-warning
Add 'low capacity' warning shown when exceeding configured cap_alarm value
2020-02-15 13:05:43 +13:00
mikeller
214d378e82 Detect revisions of the STM32H743. 2020-02-15 12:35:57 +13:00
Roy van der Veen
89fad8dc7f Add 'low capacity' warning shown when exceeding configured cap_alarm value 2020-02-14 09:52:29 +01:00
Michael Keller
7ed29f455a
Merge pull request #9463 from jflyper/bfdev-g4-ledstrip
[G4] LED_STRIP support
2020-02-13 13:03:11 +13:00
jflyper
7f6a4a3295 [H7][G4] getFLASHSectorForEEPROM cleanup 2020-02-13 04:33:30 +09:00
AlessandroAU
925101cdb2 add crsf rf_mode parameter to osd display
make osdRFmode = 0 default

changes as requested

fixed formatting and unittests

remove 3.41 scaling on crsf LQ and simply osd drawing function

Update rx.c

changed loop to only go to 99 instead of 300
2020-02-13 02:52:18 +10:00
ctzsnooze
2922f06f40 ff_interpolated should default to AVERAGED_2
Identified by OCrap
2020-02-12 18:24:44 +11:00
Michael Keller
6ad530788f
Merge pull request #9459 from etracer65/cms_acc_cal_instructions
Add instructions to CMS accelerometer calibration
2020-02-11 01:37:47 +13:00
jflyper
a4483b4fe9 [G4] LED_STRIP support 2020-02-10 02:48:15 +09:00
ctzsnooze
86c309454f More aggresive FF for averaging <3 2020-02-09 16:53:34 +11: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
Bruce Luckcuck
e9411c2294 Add instructions to CMS accelerometer calibration 2020-02-07 08:34:28 -05: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
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