Commit Graph

13495 Commits

Author SHA1 Message Date
Thorsten Laux 10c7ef8812 adjust max notch frequency to gyro freq / 2 2019-02-16 14:07:25 +01:00
Michael Keller fefa2a83e4
Merge pull request #7573 from joelucid/bugfix_7548
Ensure all timer channels are initialized when using dshot burst #7548
2019-02-17 01:46:32 +13:00
Michael Keller b0c65b3bd2
Enable warnings element by default for all OSD profiles (#7577)
Enable warnings element by default for all OSD profiles
2019-02-17 01:41:22 +13:00
Thorsten Laux cd90d78b48 make LEDs work on NOX again and move bidir support to separate branch 2019-02-16 13:37:02 +01:00
Michael Keller d523d8af3d
Fix OSD USE_CMS usage (#7576)
Fix OSD USE_CMS usage
2019-02-17 00:56:49 +13:00
Thorsten Laux 660c0c8eb2 Fixing missing upper notch limit #7582 2019-02-16 12:52:03 +01:00
Steffen Windoffer b9375d6974
Merge pull request #7578 from joelucid/rpm_filter_bugfix
Hotfix for rpm filter
2019-02-15 10:28:43 +01:00
Thorsten Laux 89668cc829 Hotfix for rpm filter 2019-02-15 09:21:43 +01:00
jflyper e9402f6682 Fix dmaopt for SDIO DMA 2019-02-15 12:36:34 +09:00
Bruce Luckcuck 3dcfae52ed Enable warnings element by default for all OSD profiles
Previously the defaults were based on the existence of a single profile. We want to encourage users to always have the warnings element enabled.
2019-02-14 19:51:40 -05:00
Bruce Luckcuck dcb9cbcd50 Fix OSD USE_CMS usage
`USE_CMS` blocking was overzealous and if it wasn't defined it would stop the OSD elements from displaying.

Also cleaned up some stale data types and defines.
2019-02-14 18:47:05 -05:00
Thorsten Laux e6a5dece85 ensure all timer channels are initialized when using dshot burst 2019-02-14 11:35:45 +01:00
Michael Keller fc8f9130e4
Merge pull request #7569 from jflyper/bfdev-tramp-vtxtable-fix
[VTXTABLE, TRAMP] Fix power index handling
2019-02-14 20:49:16 +13:00
Michael Keller c73a2787ee
Merge pull request #7567 from fujin/RIP-32kHz-mode
Gyro Sensors: Remove 32kHz gyro sampling mode(s) and associated code
2019-02-14 19:45:14 +13:00
AJ Christensen 4fdee6ec1c Gyro Sensors: Remove 32kHz gyro sampling mode(s) and associated code 2019-02-13 22:41:21 +13:00
Michael Keller dbd4fe9b3d
Merge pull request #7566 from klutvott123/battery-pt1-filter
Change battery filters from biquad to pt1
2019-02-13 21:47:24 +13:00
Michael Keller 8c0e5d81e0
Merge pull request #7461 from fujin/smartaudio-21-compat
SmartAudio: Handle SA2.1 GET SETTINGS response.
2019-02-13 21:34:52 +13:00
Michael Keller b2c0d01558
Merge pull request #7484 from joelucid/lpf_filter_changes
increase possible Q to 30, default Q to 5 and set scheduler optimize.
2019-02-13 21:21:28 +13:00
jflyper 5d5447abd8 Use vtxTramp directly instead of calling vtxCommonDevice within the driver 2019-02-13 09:44:50 +09:00
Hans Christian Olaussen 62fafe8041 Change current/voltage filters from biquad to pt1 2019-02-12 22:34:16 +01:00
Hans Christian Olaussen b8bfc7ce12 Change Pt1 cutoff from uint16_t to float 2019-02-12 22:34:16 +01:00
Hans Christian Olaussen f625cb261c Define HZ_TO_INTERVAL macro 2019-02-12 22:34:15 +01:00
jflyper d3d111dbb6 Fix power indexhandling 2019-02-13 05:29:55 +09:00
Thorsten Laux 602b33faf1 rpm_lpf -> rpm_notch_rpf 2019-02-12 14:44:39 +01:00
Michael Keller 988d0a9b5c
Merge pull request #7565 from mikeller/rename_alienflightf4
Renamed board ALIENFLIGHTNGF4 to ALIENFLIGHTF4 after comment in #7561.
2019-02-13 02:29:26 +13:00
Thorsten Laux 76add010b5 don't change scheduler policy in filter 2019-02-12 13:05:52 +01:00
Thorsten Laux ceabd5098d disable dshot telemetry if scheduler policy not set 2019-02-12 12:54:21 +01:00
Thorsten Laux 4c39bba18c Fix spacing 2019-02-12 12:06:26 +01:00
Thorsten Laux 81a514c9ac increase possible Q to 30, default Q to 10 and set scheduler optimize rate policy by default 2019-02-12 11:25:48 +01:00
AJ Christensen d459c170eb SmartAudio: Handle SA2.1 GET SETTINGS response. 2019-02-12 13:17:09 +13:00
Michael Keller aaaf313747
Merge pull request #7563 from etracer65/vcp_hal_tx_buffer_fixes
VCP HAL transmit buffer fixes
2019-02-12 01:45:14 +13:00
mikeller a452fb9d4b Renamed board ALIENFLIGHTNGF4 to ALIENFLIGHTF4 after comment in #7561. 2019-02-12 00:55:09 +13:00
Michael Keller 6e023b9e05
Merge pull request #7560 from mikeller/fix_msc_activation
Fixed USB MSC activation over MSP. Also fixed fallthrough in case of invalid reboot type.
2019-02-11 22:28:58 +13:00
Michael Keller 93edcaf30c
Merge pull request #7546 from mikeller/fix_battery_filtering
Fixed battery filtering when period is not a multiple of 10.
2019-02-11 11:39:29 +13:00
Michael Keller bbcb47d348
Merge pull request #7558 from etracer65/fix_f1_targets
Fix compiliation for F1 targets
2019-02-11 11:39:12 +13:00
Michael Keller b7dd7030e8
Merge pull request #7559 from etracer65/d_min_cleanup
D_MIN cleanup - use array for parameters; move CMS menu entries
2019-02-11 11:34:33 +13:00
Bruce Luckcuck 6a69df82cf
Merge pull request #2 from jflyper/vcp_hal_tx_buffer_fixes
Add concurrency control
2019-02-10 15:31:14 -05:00
jflyper 1e49419a8a Add concurrency control 2019-02-11 04:49:00 +09:00
J Blackman 038d3969e9
Merge pull request #7561 from mikeller/add_board_manufacturer_names
Added permanent board names / manufacturer ids for unified targets.
2019-02-11 03:27:43 +11:00
Bruce Luckcuck 620a3c3be4 VCP HAL transmit buffer fixes
Fixes issues that could cause the tail of the ring buffer to be moved before data transmission is complete thus allowing the head to overwrite unsent data. Also adds 512 byte blocking when queueing the output data with the endpoint (helps with slow receivers).

Fixes a bug in the transmit buffer logic if the TX and RX buffers were different sizes.
2019-02-10 07:35:57 -05:00
mikeller 73776c2b22 Added permanent board names / manufacturer ids for unified targets. 2019-02-10 17:42:31 +13:00
mikeller 858c55af74 Fixed USB MSC activation over MSP. Also fixed fallthrough in case of invalid reboot type. 2019-02-10 14:59:13 +13:00
Michael Keller d63878aebc
Merge pull request #7553 from etracer65/osd_profile_switch_msp_cms
Add OSD profile switching to MSP and CMS
2019-02-10 12:55:55 +13:00
Michael Keller 640b6803c4
Merge pull request #7554 from etracer65/osd_use_acc
More OSD USE_ACC dependencies
2019-02-10 12:55:43 +13:00
Bruce Luckcuck a64bd06f5a D_MIN cleanup - use array for parameters; move CMS menu entries
Change to using an array of `uint8_t` for the `d_min_` axis parameters. Simplifies the code.

The CMS menu entries were incorrectly placed under the `FILTER PP` submenu. Moved to the `MISC PP` submenu.
2019-02-09 15:40:27 -05:00
Michael Keller ca98ee7df0
Merge pull request #7538 from ctzsnooze/D_Cut_Setpoint_DMin
Update D_CUT to D_MIN, add setpoint input, change nomenclature
2019-02-10 08:39:38 +13:00
Bruce Luckcuck 87b077b59b Fix compiliation for F1 targets
Fix a missing MCU check for ADC devices and reduce the number of profiles/rateprofiles to 2 and 3 respectively to get the config under 2K.
2019-02-09 12:15:31 -05:00
ctzsnooze b70d34f9db Update D_CUT to D_MIN, add setpoint
Directly and easily set the minimum value for D on pitch and roll.
- Boost back to the primary D setting is generated from gyro or setpoint inputs.
- Setpoint input is stick derived, faster by 10ms approx, and does not respond to propwash.
- Gyro input is motor derived and slower, but responds to propwash
- timing value sets balance between gyro (100) and setpoint (0) boost factors
- gain value sets overall sensitivity
- default D mins are 20 roll 22 pitch
- default D is 35, 38; if undefined then normal 30, 32 values
TUNING
- D value to flip overshoot control
- D_min to noise, lower values mean cooler motors but perhaps more propwash.
- Advance, higher values bring the boost in earlier, and stronger overall, useful for very high flip rates, but dampen stick responsiveness slightly.
- Gain value adjust against logs, checking maximal boost with flips and some rise with propwash, should be edging to get up from the min value in normal flight.
2019-02-10 01:44:55 +11:00
Michael Keller 4f7fa25b06
Merge pull request #7543 from dthubereng/add_mode_logic_to_msp
Add MODE_RANGES_EXTRA to MSP
2019-02-09 13:34:00 +13:00
Michael Keller 122d3ea812
Merge pull request #7545 from Asizon/NanoV7
Enabled PC15 for the new Airbot Omnibus NanoV7
2019-02-09 13:33:18 +13:00