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

326 commits

Author SHA1 Message Date
Michael Keller
233a68c9c1
Merge pull request #6163 from RicoKirstein/pll_osd_clock
added the USEMCO2ASOSDCLOCK define for the F7 cpus.
2018-11-22 20:58:25 +13:00
Michael Keller
f0f98c920c
Merge pull request #7085 from etracer65/rc_smoothing_auto_factor
RC Smoothing: allow the user to adjust the "smoothness" of the auto cutoff calc
2018-11-15 07:07:23 +13:00
Michael Keller
3210245f39
Merge pull request #7019 from conkerkh/SDIO1bit
Add option for 1Bit SDIO on F4XX targets.
2018-11-15 06:58:58 +13:00
Bruce Luckcuck
47b29a4d45 RC Smoothing: added parameter to allow user to adjust the smoothness of the auto cutoff calc
Adds `rc_smoothing_auto_smoothness` parameter that allows the user to tune the filter auto cutoff calculation. Increasing the value makes the resulting rcCommand traces smoother.

Allows the user to retain the "auto" calculation which is important for protocols that can change rate (like CRSF), but still tune the resulting "smoothness" to their preference.
2018-11-13 08:42:09 -05:00
Mark Hale
8789246110 Support for disabling individual telemetry sensors.
Signed-off-by: Mark Hale <mark.hale@physics.org>
2018-11-12 22:02:35 +00:00
Michael Keller
ebeb473761
Merge pull request #7072 from etracer65/osd_ah_invert
Add osd_ah_invert to allow reversing the direction of the OSD artificial horizon
2018-11-13 01:19:10 +13:00
Chris
4af7393f19 Identation fix 2018-11-12 11:54:23 +00:00
Chris
cdb4c1ef44 Add PG for 4Bit SDIO, fix whitespaces. 2018-11-12 11:54:23 +00:00
Michael Keller
91c4a496a7
Merge pull request #7044 from pulquero/telm_config
Support for enabling individual ESC telemetry sensors.
2018-11-12 01:11:44 +13:00
Bruce Luckcuck
b5cb1bf65a Add osd_ah_invert to allow reversing the direction of the OSD artificial horizon 2018-11-10 15:28:10 -05:00
Mark Hale
2b2b6e8c53 Support for enabling individual ESC telemetry sensors.
Signed-off-by: Mark Hale <mark.hale@physics.org>
2018-11-10 19:53:19 +00:00
Michael Keller
3cbf8ae02f
Merge pull request #7062 from etracer65/add_tpa_d_only_mode
Make TPA configurable to affect P/D or D only
2018-11-10 19:54:29 +13:00
Michael Keller
4367a66778
Merge pull request #7043 from TonyBlit/gps_total_distance
Total distance flown added to OSD and Stats
2018-11-10 13:32:17 +13:00
Bruce Luckcuck
357d19aa05 Move parameter from PID profile to rate profile 2018-11-09 08:05:40 -05:00
Bruce Luckcuck
fc189e5850 Make TPA configurable to affect P/D or D only
Adds a new `tpa_mode` parameter that accepts `PD` (default) and `D`. Allows the user to configer to affect P/D as it always has, or switch to D-only mode.

Note: the `tpa_mode` parameter was added to the PID Profile instead of rate profiles with the other TPA parameters. This can be discussed, but I didn't think it made sense to have this be part of rate profiles as it affects PID tuning (the same argument could be made for the other TPA parameters).

Code is wrapped in `USE_TPA_MODE` so it can be disabled if needed.
2018-11-08 19:22:29 -05:00
jflyper
37bee1dcbc Configurable ADC internal sensor calibration values
There are MCUs without calibration values for VREFINT and temperature sensors.
Also changed adcTSSlopeK to signed, to handle negative slope case.
2018-11-09 01:26:43 +09:00
Tony Cabello
7abe51303f Total distance flown added to OSD and Stats 2018-11-08 15:40:30 +01:00
mikeller
570a0f7882 Changed RC rate minimum to be 0.01. 2018-11-05 23:27:42 +13:00
Michael Keller
c0344496ca
Merge pull request #6992 from etracer65/launch_control
Launch Control
2018-11-02 00:49:42 +13:00
Michael Keller
ace5017cc8
Merge pull request #6480 from pulquero/osd_frame_errors_3_5
Added frame quality to OSD.
2018-11-01 22:24:20 +13:00
Bruce Luckcuck
b723d2976d Changes from review and add unit tests
Stylistic updates and add tests to the PID unit tests to verify launch control behavior
2018-10-30 18:14:49 -04:00
Mark Hale
9b9a86e4c5 Added rx link quality indicator (based on rx frame error rate) to OSD. 2018-10-30 17:31:25 +00:00
Maciej Janowski
9656dbba40 Merge branch 'master' of https://github.com/betaflight/betaflight into motor-diag
# Conflicts:
#	src/main/io/osd.c
#	src/main/io/osd.h
#	src/test/unit/osd_unittest.cc
2018-10-29 21:16:24 +01:00
Maciej Janowski
3d2d5a2efa Initial implementation
Percentage implementation

Settings fix, formatting

Add support for different number of motors

Optimize and cut superfluous code

Hard-add mixer.h

Formatting adjustment to fit BF standards, linking error in unittest fix attempt

Add stubs and variables for unittests

Character based indicators

Change output to special characters

Fix spacing

Update test code, add variable

Include changes as per peer review
2018-10-29 21:09:46 +01:00
Michael Keller
71c563fdb4
Merge pull request #6977 from mikeller/remove_skip_defines
Converted 'SKIP_' defines to 'USE_'.
2018-10-29 07:37:10 +13:00
Bruce Luckcuck
e4dc93b128 Launch Control
Adds a race start assistance system that allows the pilot to pitch forward and then release the sticks with the quad holding position for the race start.
2018-10-27 11:50:37 -04:00
jflyper
9f47d130b9 Adds the MCO driver facility for F7 targets
MCO2 output as run time configurable option
Add sanity check for MCO2 pin
changed output mode to AF from OUTPUT in mco driver
MCO for F4 is not implemented yet
Reinstate original OMNIBUSF7 target.h
Add config variable mco2_on_pc9
Make MCO2 pin hardcoded with mco2_on_pin control variable
fixed mco2 clock config corruption
removed unused pin definitions
2018-10-26 19:51:19 +02:00
Kenneth Mitchell
ca460e842b
Implement throttle based dynamic gyro and dterm filters. 2018-10-25 19:23:14 -04:00
mikeller
a03f30efa0 Converted 'SKIP_' defines to 'USE_'. 2018-10-25 00:38:05 +13:00
Michael Keller
9ab8370379
Merge pull request #6933 from kmitchel/dlpf2_biquad
Implement biquad on 2nd dterm lowpass filter.
2018-10-19 01:32:19 +13:00
Kenneth Mitchell
641d0a2e54 Implement biquad on 2nd dterm lowpass filter. 2018-10-14 13:34:11 -04:00
Frederic Morin
4f152db4f5 Increase maximum fpv_mix_degrees value 2018-10-12 22:29:34 -07:00
jflyper
f6aae5160c Fix overlooked USE_xxx case (ADC) 2018-10-09 23:12:43 +09:00
Michael Keller
2f1643924e
Merge pull request #6656 from timman2er/add_stat_esc_max_temp_rpm
added esc max temp and rpm to OSD
2018-10-08 01:03:20 +13:00
Michael Keller
cc820d99de
Merge pull request #6865 from chibaron/add_sfhss
Add SFHSS-SPI-RX
2018-10-08 01:01:13 +13:00
MJ666
9e36354c45 Update Gyro driver for generic target 2018-10-03 00:26:55 +02:00
chibaron
9a452f4a1e Change SFHSS bind parameter rxSfhssSpiConfig to rxFrSkySpiConfig 2018-10-03 00:32:18 +09:00
chibaron
95d3200c92 fix coding style 2018-10-02 01:51:25 +09:00
chibaron
cb5fc4fd63 Add SFHSS-SPI-RX 2018-10-01 23:27:40 +09:00
jflyper
00840ce40f Prepare SD card SPI and SDIO variants for consolidation 2018-10-01 19:44:04 +09:00
Bruce Luckcuck
0074f05573 Remove unused IMU parameters 2018-09-24 16:14:03 -04:00
Michael Keller
2a529c8119
Merge pull request #6514 from bforbort/LIS3MDL
Add support for ST LIS3MDL MEMS Magnetometer
2018-09-20 22:54:58 +12:00
timman2er
ef17d7fc31 add max esc temp and rpm to osd 2018-09-20 10:15:00 +02:00
Michael Keller
ea6c21f1e6
Merge pull request #6447 from bforbort/vario
Enable Vario on targets that support barometers
2018-09-18 23:53:09 +12:00
Blaine
eb5af3a161 Add support for the ST LIS3MDL 3-Axis Magnetometer per #6437 2018-09-16 19:56:13 -07:00
Michael Keller
8207dab3e5
Merge pull request #5868 from jflyper/bfdev-poc-migrate-to-dual-gyro
Configurable ACC/GYRO
2018-09-14 09:22:47 +12:00
borisbstyle
00dbaf9fa7 Cleanup code // add unittestst for iterm windup 2018-09-10 23:38:39 +02:00
jflyper
9ef9f98310 Various fixes based on mikeller's comment. 2018-09-10 17:55:55 +09:00
jflyper
fc6c24c38e Configurable acc/gyro 2018-09-10 17:55:52 +09:00
Michael Keller
ad16f2db0f
Merge pull request #6402 from ianrmurphy/3.4.0-rate-limit
CLI configurable limits for rates
2018-09-05 08:33:30 +12:00