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

14067 commits

Author SHA1 Message Date
mikeller
567175ac4d Re-enabled VTX table support. 2019-04-14 23:48:37 +12:00
Michael Keller
b4286c6ac9
Merge pull request #7935 from etracer65/dshot_command_packet_sequence
Refactor dshot command output scheduling logic
2019-04-14 23:25:33 +12:00
Michael Keller
1d5647e07f
Merge pull request #7995 from Docteh/unified_config_fix
Allocating OSD_CS resource for MATEKF411 unified config
2019-04-14 23:12:25 +12:00
Michael Keller
1f08a8f5e5
Merge pull request #7993 from etracer65/osd_vario_wedge
Fix OSD crash if vario element is enabled but not supported by target
2019-04-14 23:11:25 +12:00
Michael Keller
19aa7387f9
Merge pull request #7984 from ctzsnooze/Allow-lower-dynamic-notch-minimum
set dyn_notch_min_hz minimum to 60hz
2019-04-14 23:10:56 +12:00
Michael Keller
c72afc790f
Merge pull request #7950 from etracer65/fix_mpu6000_multi_gyro_init
Fix gyro/acc initialization when more than one MPU6000 (or MPU9250) sensor is connected
2019-04-14 22:59:01 +12:00
Nicola De Pasquale
3a282d1d3e improve landing altitude
fix some comments

some requested fixes

initialLandingAltitude converted in meters

removed landing altitude setting from msp, added missing comma

re-added gps_rescue_landing_alt in settings.c

made target landing distance configurable, renamed descentDistance

added slow down distance and improved return speed

changed newSpeed formula

moved newSpeed variable in gps rescue inizialization phase

newSpeed declared as int32_t

modified slow down distance to constant

added some comments

fix type-casting bug

removed extra space

changed slow down distance for better landing

changed default targetLandingAltitudeM to 5 meters
2019-04-14 12:17:19 +02:00
Michael Keller
7d86cd6523
Merge pull request #7986 from ianrmurphy/add-rate-limits-to-msp
Added rate limit settings to MSP API 1.42 for configurator.
2019-04-14 21:52:05 +12:00
Michael Keller
3cc7165cc5
Merge pull request #7953 from etracer65/require_msp_on_vcp_port
Change serial port config validation to require MSP on VCP port
2019-04-14 21:50:46 +12:00
Michael Keller
f5cd3d921c
Merge pull request #7941 from jflyper/bfdev-f4-mco-support
Add MCO2 output support for F4
2019-04-14 21:50:23 +12:00
Michael Keller
e12b802bb1
Merge pull request #7927 from krzysztofmatula/km-odometer
Flight statistics (odometer) added.
2019-04-14 21:49:31 +12:00
Michael Keller
b468b94995
Merge pull request #7924 from mikeller/add_crash_recovery_disarm
Added 'disarm' option to crash recovery.
2019-04-14 21:49:05 +12:00
Michael Keller
739694ac62
Merge pull request #7858 from etracer65/debug_dual_gyro_scaled
Add DUAL_GYRO_SCALED debug mode to capture raw scaled roll/pitch for each gyro
2019-04-14 21:46:08 +12:00
Michael Keller
ef94b5f077
Merge pull request #7843 from stawiski/warnings-fix
Fixed warnings.
2019-04-14 21:45:37 +12:00
Michael Keller
2ce3a923e3
Merge pull request #7839 from hydra/bf-fix-duplicate-transponder-enable
Fix duplicate transponder task enable attempt.
2019-04-14 21:37:03 +12:00
Michael Keller
d52cb7e7c0
Merge pull request #7970 from mikeller/make_f3_targets_unsupported
Make F3 targets unsupported to improve build times.
2019-04-14 21:34:43 +12:00
Michael Keller
c3d828e4b4
Merge pull request #7737 from joelucid/remove_ff
remove smart_feedforward
2019-04-14 21:32:39 +12:00
Michael Keller
65603e49a2
Merge pull request #7621 from betaflight/bf-allow-compilation-with-no-serial-ports
Allow compilation of the printf code when no serial ports are used.
2019-04-14 21:31:31 +12:00
Michael Keller
5a67eb8c1e
Merge pull request #7626 from hydra/bf-move-memory-section-initialisation
Move memory section initialisation earlier into the init sequence.
2019-04-14 21:26:34 +12:00
Michael Keller
76444c5cc3
Merge pull request #7968 from mikeller/increment_msp_api_version_to_1_42
Incremented MSP API version to 1.42.
2019-04-14 21:19:36 +12:00
Michael Keller
6229d60315
Merge pull request #7972 from mikeller/add_hglrc_manufacturer_id
Added manufacturer id for HGLRC.
2019-04-14 21:19:13 +12:00
Michael Keller
e3a49f287e
Merge pull request #7967 from mikeller/increment_version_to_4_1_0
Incremented version to 4.1.0.
2019-04-14 21:18:30 +12:00
mikeller
2bed36b659 Make F3 targets unsupported to improve build times. 2019-04-14 19:31:24 +12:00
ianrmurphy
9fd158412a Added rate limit settings to MSP API 1.42 for configurator. 2019-04-13 14:14:39 +01:00
root
f7a0ede39e Allocating OSD_CS resource for MATEKF411 unified config 2019-04-12 20:48:33 +00:00
Krzysztof Matula
24bf8050c1 OSD: combined ON/ARM timer 2019-04-12 22:41:22 +02:00
Bruce Luckcuck
3f0fe85b98 Fix OSD crash if vario element is enabled but not supported by target
Missing `#ifdef USE_VARIO` around the element definition.
2019-04-12 15:52:47 -04:00
ctzsnooze
5021edb133 set dyn_notch_min_hz minimum to 70hz
dyn_notch_min_hz provides a lower frequency limit below which the dynamic notch cannot go.
The current minimum is 100hz.
For low rpm quads (>7" to X class), when the dynamic notch mode is 'LOW', we should allow the user to enter the lowest possible value that can be detected by the FFT.
That is theoretically the centre of the second bin.  In low mode that is half-way between 31 and 63hz.  In practice, that value will be biased upwards a little bit by the uppers shoulder.  In practice the lowest value returned by the FFT is likely to not be less than 60hz.
This PR lowers the limit from 100hz to 60hz, allowing access to the full range of possible FFT tracking frequencies in LOW mode for low rpm quads.
2019-04-12 22:05:37 +10:00
mikeller
70cca33b98 Added manufacturer id for HGLRC. 2019-04-12 00:13:39 +12:00
mikeller
b6523b4c1c Incremented MSP API version to 1.42. 2019-04-11 22:33:38 +12:00
mikeller
2fd00ea935 Incremented version to 4.1.0. 2019-04-11 22:30:23 +12:00
Doven7
60c1aa7171
HGLRCF745.config 2019-04-11 15:54:05 +08:00
Michael Keller
9ad2cc8445
Merge pull request #7962 from mikeller/increment_config_version_for_4_0
Incremented EEPROM config version for the 4.0 release.
2019-04-11 18:48:58 +12:00
Michael Keller
a5678de337 Incremented EEPROM config version for the 4.0 release. 2019-04-11 16:01:56 +12:00
Michael Keller
f16054624e
Merge pull request #7960 from mikeller/fix_gyro_detection_2
Fixed gyro detection some more.
2019-04-11 15:59:14 +12:00
mikeller
5000b385cc Fixed gyro detection some more. 2019-04-11 06:23:53 +12:00
Michael Keller
ee286ca1f4
Merge pull request #7944 from mikeller/update_readme
Added event for Betaflight 4.1 release to README.md.
2019-04-10 22:36:55 +12:00
Michael Keller
fc159764f1
Merge pull request #7942 from jflyper/bfdev-add-VECTAB-region-for-F446
[F446] Add VECTAB region
2019-04-10 22:35:59 +12:00
Michael Keller
e2996f03c7
Merge pull request #7939 from x4FF3/motoroutput
doc update and motor output change
2019-04-10 22:33:56 +12:00
Bruce Luckcuck
64ddbd9924 Change serial port config validation to require MSP on VCP port
Will hopefully reduce the number of cases where users incorrectly disable MSP on the VCP port and then can no longer connect.

Should be supplemented with changes to the configurator that prevents turning off MSP on the VCP port.
2019-04-09 14:47:58 -04:00
Bruce Luckcuck
40d195aeae Fix gyro/acc initialization when more than one MPU6000 (or MPU9250) sensor is connected
Logic was not expecting there to be multiple MPU6000's connected simultaneously. There are currently no boards manufactured with this config, but it's possible to do using boards that have an onboard MPU6000 and an external gyro box containing a second MPU6000.
2019-04-09 10:58:04 -04:00
mikeller
b34a27623e Added event for Betaflight 4.1 release to README.md. 2019-04-09 22:45:17 +12:00
Michael Keller
2b79f2b1a4
Merge pull request #7937 from TonyBlit/altitude_alarm_fix
Avoid altitude to blink if its value exceeds the alarm threshold when…
2019-04-09 21:57:12 +12:00
jflyper
9d3956fc63 Add MCO2 output support for F4 2019-04-09 11:20:52 +09:00
jflyper
db39f9a800 Add VECTAB region for F446 2019-04-09 11:12:44 +09:00
Michael Keller
9d027275e2
Merge pull request #7934 from etracer65/cli_vtx_command_help
Add missing help text for CLI vtx command
2019-04-09 10:53:00 +12:00
david
443ca5d144 doc update and motor output change 2019-04-08 21:38:22 +02:00
Bruce Luckcuck
acf0af7790 Add DUAL_GYRO_SCALED debug mode to capture raw scaled roll/pitch from each gyro
Data is before the filters but scaled to 0-2000dps.

debug(0) = gyro 1 roll
debug(1) = gyro 1 pitch
debug(2) = gyro 2 roll
debug(3) = gyro 2 roll
2019-04-08 10:26:11 -04:00
Bruce Luckcuck
e2b5fc24bd Refactor dshot command output scheduling logic
Change to a state machine that tracks the progress of each dshot command in the queue as it moves through the various phases. Simplifies the code to make it easier to understand and maintain.

Transition to timing based on motor output cycle counts calculated from desired delays instead of using direct time comparisons. Since the output timing is always based on the motor update schedule, there were cases where if the time between motor updates was a significant percentage of the desired dshot command timing, then the output could get irregular and skip cycles (for example trying to use 2K pid loop with 500us timing conflicting with 1ms timing between dshot command outputs).
2019-04-08 08:19:38 -04:00
Michael Keller
616b476bb9
Merge pull request #7933 from mikeller/add_flywoof411_to_4_0
Added target FLYWOOF411 to 4.0.
2019-04-08 22:51:01 +12:00