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

15983 commits

Author SHA1 Message Date
mikeller
b020917c4b Prevent 0 in 'vbat_display_lpf_period' to avoid division by zero. 2020-03-25 00:41:50 +13:00
Michael Keller
a4f9e42104
Merge pull request #9617 from TonyBlit/sbas_none
SBAS_NONE, gps_sbas_integrity
2020-03-24 08:43:39 +13:00
Tony Cabello
ba335635ac cleanup 2020-03-23 15:45:24 +01:00
Michael Keller
5f5f469c2a
Merge pull request #9628 from jflyper/bfdev-f1-maintenance-415
[F1] Maintenance to keep F1 buildable
2020-03-24 02:34:09 +13:00
Michael Keller
c2409cbd10
Merge pull request #9623 from mikeller/add_azure_build
Added Azure build for pull requests.
2020-03-24 02:32:58 +13:00
Michael Keller
70f7549847
Merge pull request #9620 from mikeller/updated_contributing_list
Updated the 'Contributing' list in README.md.
2020-03-24 02:32:10 +13:00
Michael Keller
9310323f2a
Merge pull request #9625 from jflyper/bfdev-fix-ADC5_DMA_OPT-def
[ADC] Fix ADC5_DMA_OPT def
2020-03-24 01:44:54 +13:00
Michael Keller
7f00659a88
Merge pull request #9626 from mikeller/improve_cli_error_messages
Improved CLI error messages.
2020-03-24 01:28:42 +13:00
mikeller
d2605975a1 Improved CLI error messages. 2020-03-23 15:18:51 +13:00
jflyper
6dcb373257 [F1] Maintenance to keep F1 buildable 2020-03-23 10:30:33 +09:00
Michael Keller
0bbe52ba21
Merge pull request #9615 from TonyBlit/fix_ublox_dynamic
minor fix: missing ifdef and autoconfig check
2020-03-23 13:53:06 +13:00
Michael Keller
5c5011c6b7
Merge pull request #9616 from TonyBlit/fix_alt_before_arm
Absolute altitude before arming is now correct when using GPS and Baro
2020-03-23 13:50:10 +13:00
Tony Cabello
5932b01e6b SBAS_NONE, gps_sbas_integrity 2020-03-22 18:54:03 +01:00
jflyper
433bf792f8 [ADC] Fix ADC5_DMA_OPT def 2020-03-22 20:53:43 +09:00
mikeller
e353b1a9f3 Added repository link. 2020-03-22 23:07:03 +13:00
mikeller
3aff913c83 Reformatted the release message. 2020-03-22 22:45:05 +13:00
mikeller
391c053382 Edit the release when re-publishing. 2020-03-22 22:14:25 +13:00
mikeller
3413bb0dce Improved repository link. 2020-03-22 21:55:34 +13:00
mikeller
a77a8d4227 Added Azure build for pull requests. 2020-03-22 20:24:37 +13:00
ctzsnooze
d63ba914c6 motor output scale
First draft

Change method to percentage compensation

fast sag filter with fast battery updates

Renaming, moving factors to init where possible

Names changed, display update frequency reverted to 50hz as it was

50Hz ESC Voltage sampling, battery sag lowpass for PID compensation.

increment PG_PID_PROFILE, element added to end of batteryConfig_t

all HZ_TO_INTERVALs set back to 200 to match battery task frequency of 200hz.

Add a flag to control vbat comp

Flag vbat_sag_comp_enabled allows battery compensation to be enabled or
disabled from the CLI. When disabled the battery voltage task is run at
50Hz and the battery compensation code is not run. When enabled the
voltage task is run at 200Hz and the compensation code runs. Constants
for the fast and slow rates are added to tasks.h. The default value for
vbat_sag_compensation is changed to 100 as we no longer need to use it
to disable the feature.

Fixed variable task frequency setting.

Added config validation to disable sag compensation unless ADC is used as the voltage data source.

Added conditionals, fixed naming.

Fixed build.
2020-03-22 17:15:08 +13:00
mikeller
34d58a4f5e Updated the 'Contributing' list in README.md. 2020-03-22 15:44:43 +13:00
Tony Cabello
720d994a90 minor fix: missing ifdef and autoconfig check 2020-03-21 16:27:02 +01:00
Tony Cabello
5209a83e6a Bug fix: absolute altitude before arming is now correct when using GPS and Baro 2020-03-21 16:26:30 +01:00
Michael Keller
9c3d4603b7
Merge pull request #9613 from etracer65/cc2500_register_init_array
cc2500: Use array-based register initialization
2020-03-21 14:57:41 +13:00
Michael Keller
5bbb238fd8
Merge pull request #9612 from etracer65/cms_osd_elements_update
Add RC channels, camera frame, efficiency elements to CMS OSD menu
2020-03-21 11:21:15 +13:00
Michael Keller
04dd72969f
Merge pull request #9610 from jflyper/bfdev-h7-add-missing-SPI1_MOSI-pin
[H7] Add missing SPI1_MOSI pin
2020-03-21 01:14:13 +13:00
Michael Keller
02c92a034c
Merge pull request #9608 from etracer65/fix_mixer_profile_init
Fix initialization of mixer related pidProfile settings
2020-03-21 01:09:06 +13:00
Bruce Luckcuck
6f7318cd2d Add RC channels, camera frame, efficiency elements to CMS OSD menu 2020-03-20 07:58:59 -04:00
Bruce Luckcuck
c298076bb3 cc2500: Use array-based register initialization
Store and process the register initializations in a `const` array and process iteratively instead of individual register write calls.

Saves 712 bytes for STM32F7X2 target.
2020-03-19 19:17:04 -04:00
jflyper
cdd635849d [H7] Add missing SPI1_MOSI pin 2020-03-19 14:08:39 +09:00
Bruce Luckcuck
37069ba267 Fix initialization of mixer related pidProfile settings
Previously the variables were only initialized at boot and were not updated when the pidProfile changed.
2020-03-18 10:38:31 -04:00
Michael Keller
21aef61230
Merge pull request #7601 from brycedjohnson/redpine_rebase2
Redpine protocol with cc2500 chip - Low Latency/fast
2020-03-19 00:07:49 +13:00
Michael Keller
792090e37f
Merge branch 'master' into redpine_rebase2 2020-03-18 23:46:02 +13:00
Michael Keller
95e4087641
Merge pull request #9601 from DavidBoone/efficiency-osd
Efficiency OSD element in mAh/km or mAh/mi
2020-03-18 23:24:27 +13:00
Michael Keller
23fba0d33d
Merge pull request #9606 from Linjieqiang/fix_IFLIGHT_H7_bugs
[IF_H7_TWING] Fix timer assignment error, adjust sensor orientation.
2020-03-18 23:14:01 +13:00
LinJieqiang
39b7c15f70 [IF_H7_TWING] Fix timer assignment error, adjust sensor orientation. 2020-03-18 17:17:20 +08:00
brycedjohnson
97c8952921 Redpine fast and slow protocols for cc2500 2020-03-17 19:17:21 -06:00
David Boone
93635f62aa Efficiency OSD element in mAh/km or mAh/mi 2020-03-17 15:51:46 -07:00
Michael Keller
bbdc1bd586
Merge pull request #9489 from mikeller/move_targets_into_legacy_for_4_1_6
Move targets into legacy targets for 4.1.6.
2020-03-17 22:05:11 +13:00
Michael Keller
ed6175b22c
Merge pull request #9597 from etracer65/iterm_windup_yaw_only
Change iterm_windup to only apply to yaw
2020-03-17 22:05:02 +13:00
Michael Keller
8e39bf4138
Merge pull request #9602 from McGiverGim/fix_osd_dbm
Fix OSD dbm element size
2020-03-17 22:04:51 +13:00
Miguel Angel Mulero Martinez
40cb515c00 Fix OSD dbm element size 2020-03-16 10:26:07 +01:00
Michael Keller
9b6911f80c
Merge pull request #9595 from mikeller/add_rx_spi_exti_frame_time_monitoring
Added EXTI based frame timing measuring for RX SPI receivers.
2020-03-16 18:03:00 +13:00
Michael Keller
69e1f6c8c8
Merge pull request #9592 from mikeller/fix_crsf_rf_mode
Fixed CRSF RF mode indication on link loss.
2020-03-16 18:02:51 +13:00
Michael Keller
01f0095296
Merge pull request #9590 from mikeller/clean_up_scheduler
Cleaned up the scheduler.
2020-03-16 18:02:36 +13:00
Michael Keller
a6d84a82a7
Merge pull request #9588 from mikeller/clean_up_lq_calculation
Made LQ calculation comply with coding standards.
2020-03-16 18:02:15 +13:00
Michael Keller
2e6b49516e
Merge pull request #9587 from mikeller/fix_crsf_rssi_collection
Fixed collection of RSSI data for CRSF.
2020-03-16 17:50:45 +13:00
Michael Keller
4fbfc4a69b
Merge pull request #9586 from mikeller/make_rssi_inversion_generic
Made RSSI inversion apply to all RSSI sources.
2020-03-16 17:50:31 +13:00
Michael Keller
6a2666dad8
Merge pull request #9591 from mikeller/revert_9215_vendor_specific_displayport_init
Revert #9215: Vendor specific displayport initialisation.
2020-03-16 16:42:16 +13:00
Michael Keller
94005fda6c
Merge pull request #9584 from etracer65/bmi270_compile_optimization
Change BMI270 driver compilation to speed-optimized
2020-03-16 08:54:08 +13:00