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

217 commits

Author SHA1 Message Date
mikeller
b42d1db0e8 Fixed DEBUG builds. 2020-07-17 01:57:08 +12:00
mikeller
15d1df3c77 Removed DTerm RPM filter. 2020-07-06 19:33:06 +12:00
Michael Keller
41fa8754bc
Merge pull request #9633 from mikeller/remove_vbat_pid_compensation
Remove vbat pid compensation
2020-07-06 13:41:27 +12:00
Michael Keller
8f2422f72e
Merge pull request #9726 from fgiudice98/blackbox-fields-selection 2020-07-06 12:58:42 +12:00
fgiudice98
a42ba9779a Changed variable name 2020-07-05 11:23:43 +02:00
Michael Keller
1fbd113204
Merge pull request #9690 from mikeller/cleanup_settings
Refactored assertion in 'settings.c'.
2020-07-05 21:09:17 +12:00
Michael Keller
1466acd5f3
Merge pull request #9697 from AlienWiiBF/ACCST_V2 2020-07-05 15:38:56 +12:00
ctzsnooze
7cd83464d6 Power 2 thrust compensation with 50% throttle compensation
^2 gain curve after discussions with Markus
Variable throttle compensation, more with higher TL for whoops
Calculator https://www.desmos.com/calculator/1rhq0pqoug
2020-07-05 14:01:42 +12:00
fgiudice98
d21b1fa77a Refactor
Changed mask var from 16 to 32 bits
Changed variables names
Inverse logic
Added definitions to cli settings
Added logging_fields_mask to blackbox header
2020-06-30 00:55:24 +02:00
fgiudice98
6d9e4a813a Add blackbox fields selection
Fields are selected using a 16bit uint variable
- Added selection to cli
- Added variable to msp (for future checkbox selection in the configurator)
- removed "blackbox_record_acc" as the same function can be achieved in the new code with "bb_log_acc"
2020-06-30 00:46:49 +02:00
Michael Keller
36d372d237
Merge pull request #9957 from jflyper/bfdev-baro-dps310 2020-06-30 01:02:27 +12:00
Michael Keller
a0f6a91033
Merge pull request #9803 from fgiudice98/blackbox-freq-cms 2020-06-30 00:55:16 +12:00
jflyper
a686ab45fa Barometer Infineon DPS310 support 2020-06-29 00:09:56 +09:00
Bruce Luckcuck
99a9543968 Add support for LSM6DSO gyro/acc
Also supports the LSM6DSOX variant which has the additional machine learning core (not used by Betaflight).
2020-06-21 16:22:29 -04:00
mikeller
b6689edc26 Removed VBat PID compensation. 2020-06-22 01:12:47 +12:00
Michael Keller
97ad043f9e
Merge pull request #9691 from mikeller/add_common_hardware_settings
Added the most common (reasonable) hardware settings to 'dump hardware'.
2020-06-22 01:07:17 +12:00
Michael Keller
12f02a1f19
Merge pull request #9753 from mikeller/remove_mag_declination
Removed the unused setting 'mag_declination'.
2020-06-22 00:20:33 +12:00
MJ666
1aca26c1a3 Initial FrSky ACCST V2.1.x support 2020-06-18 17:52:19 +02:00
eggsbenedict
e2b3cb0b86 addition of altitude buffer var
added a user configurable altitude buffer option for MAX_ALT and CURRENT_ALT rescue mode options.
2020-06-08 17:42:48 -04:00
mikeller
15114d0e43 Added the most common (reasonable) hardware settings to 'dump hardware'. 2020-06-07 12:57:30 +12:00
ctzsnooze
49834c0d7f Increase minimum gyro rpm Q to 250 for 4.2 2020-05-24 18:54:27 +10:00
fgiudice98
b063cb4e90 Change p_ratio to sample_rate
Complete refactor logging rate selection in cli, msp and blackbox code
Retains backward compatibility

Fixed tests and requested changes

Fixed blackbox device "SERIAL" not showing in cms menu and whitespace of "FLASH"
2020-05-17 23:41:44 +02:00
mikeller
9bace5b9d1 Fixed condition for the 'ANTI GRAVITY' mode switch to hide it wen anti-gravity is disabled. 2020-05-08 01:14:45 +12:00
mikeller
b7ee04127d Removed the unused setting 'mag_declination'. 2020-05-02 23:30:01 +12:00
Bruce Luckcuck
24849bce0e Fix link_quality_alarm range
This was missed during the transition to CRSF using a 0-100 range instead of 0-300.
2020-04-12 20:46:47 -04:00
mikeller
af2e7ae831 Refactored assertion in 'settings.c'. 2020-04-12 01:27:54 +12:00
Michael Keller
2101326a1d
Merge pull request #9619 from mikeller/add_motor_protocol_disabled
Added 'disabled' motor protocol and made it the default.
2020-04-11 12:41:18 +12:00
mikeller
d1ac12eccd Added 'disabled' motor protocol and made it the default. 2020-04-01 20:33:29 +13:00
Michael Keller
d494d215a9
Merge pull request #9643 from hydra/bf-fix-video-configuration-for-frskyosd
Fix unable to change video system for FrSkyPixelOSD.
2020-03-28 13:51:19 +13:00
Dominic Clifton
4084c9b3d5 Fix unable to change video system for FrSkyPixelOSD. 2020-03-26 17:34:37 +01:00
Michael Keller
395a412b59
Merge pull request #9561 from ctzsnooze/vbat-motor-limit
Battery sag compensation by varying motor output
2020-03-26 13:58:16 +13:00
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
5932b01e6b SBAS_NONE, gps_sbas_integrity 2020-03-22 18:54:03 +01: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
Michael Keller
792090e37f
Merge branch 'master' into redpine_rebase2 2020-03-18 23:46:02 +13: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
Miguel Angel Mulero Martinez
40cb515c00 Fix OSD dbm element size 2020-03-16 10:26:07 +01:00
mikeller
e9cb979cd8 Revert #9215: Vendor specific displayport initialisation. 2020-03-15 13:42:56 +13:00
mikeller
f3ec114a2a Added custom (switch) box naming. 2020-03-12 07:04:24 +13:00
Michael Keller
55a0c0129a
Merge pull request #9560 from etracer65/add_msp_rc_smoothing_auto_factor_validation
Add validation to MSP for the rc_smoothing_auto_factor setting
2020-03-09 13:23:38 +13:00
Michael Keller
90228a5e30
Merge pull request #9550 from mikeller/add_crsf_rx_snr_display
Added option to display RX SNR dB for CRSF instead of RSSI dBm.
2020-03-09 13:23:07 +13:00
Bruce Luckcuck
447cbac988 Add support for Bosch BMI270 gyro/accelerometer sensor 2020-03-08 18:56:50 -04:00
Bruce Luckcuck
15ec707a0b Add validation to MSP for the rc_smoothing_auto_factor setting
This is a workaround for a validation bug in configurator 10.6 where the user can enter an invalid value, immediately click "Save" and that value will be stored before the value is range-checked. Added validation to the MSP message processing to constrain the range to prevent a dangerous result.
2020-03-07 18:48:23 -05:00
mikeller
d0cf12a52b Added option to display RX SNR dB for CRSF instead of RSSI dBm. 2020-03-07 17:29:21 +13:00
Nicola De Pasquale
fbcdeb5be6 quick rates 2020-03-04 13:45:56 +01:00
ctzsnooze
b61d641bfc Set actual rates in deg/s, independently of each other
Each parameter is independent.
Set actual centre sensitivity and actual max rates.
For:
Centre sensitivity of 200 = rcRate of 1.0; enter as 2.0 in Config, 200 CLI
Max Rate of 800, enter sRate as 0.8 in Config, 80 in CLI
Expo enter as usual, 0.5 approximates no expo, 0 is flatter, 1 is about the same as 0.5 expo usually, but won't change centre sensitivity.
2020-02-22 11:31:15 +11:00
Michael Keller
6876b89c8e
Merge pull request #9487 from Asizon/ffInterpolateToCms
Added FF Interpolate options to CMS
2020-02-19 00:01:31 +13:00
jflyper
ff16686893 White space tidy 2020-02-17 23:54:57 +13:00