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

15921 commits

Author SHA1 Message Date
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
mikeller
db4bd1f186 Cleaned up the scheduler. 2020-03-16 08:35:58 +13:00
Bruce Luckcuck
e76fd50421 Change iterm_windup to only apply to yaw
Except for when Launch Control is active - then apply to all axes.
2020-03-15 13:03:02 -04:00
Bruce Luckcuck
703519512c
Merge pull request #9596 from betaflight/revert-9569-iterm-windup-setting-yaw-only
Revert "apply iterm_windup to yaw only"
2020-03-15 10:09:14 -04:00
Michael Keller
ea4f30c3ac
Revert "apply iterm_windup to yaw only" 2020-03-16 02:00:50 +13:00
mikeller
0db4160995 Added EXTI based frame timing measuring for RX SPI receivers. 2020-03-16 01:29:17 +13:00
mikeller
0062bc4100 Fixed CRSF RF mode indication on link loss. 2020-03-15 14:44:26 +13:00
Michael Keller
6ed4c0fbee
Merge pull request #9583 from etracer65/gyro_temperature_read_rate
Reduce gyro temperature read rate from 250hz to every 3 seconds
2020-03-15 14:14:42 +13:00
Michael Keller
05c90001ee
Merge pull request #9580 from etracer65/cms_setup_popup
CMS dynamic setup popup menu
2020-03-15 14:14:28 +13:00
Michael Keller
04d260d620
Merge pull request #9569 from ctzsnooze/iterm-windup-setting-yaw-only
apply iterm_windup to yaw only
2020-03-15 13:52:18 +13:00
mikeller
e9cb979cd8 Revert #9215: Vendor specific displayport initialisation. 2020-03-15 13:42:56 +13:00
mikeller
945ee706b9 Made LQ calculation comply with coding standards. 2020-03-15 11:31:41 +13:00
mikeller
b58954d845 Made RSSI inversion apply to all RSSI sources. 2020-03-15 11:14:11 +13:00