Commit Graph

10767 Commits

Author SHA1 Message Date
mikeller a5c9824eab Fixed motor order for KISSCC to match manual. 2018-02-18 15:00:49 +13:00
Michael Keller 3656963bcd
Merge pull request #5219 from betaflight/revert-5200-gyro_overflow_check_use_filtered_gyro
Revert "Change gyro_overflow_detect to use filtered instead of raw gyro data"
2018-02-18 10:21:09 +13:00
Michael Keller e5364ee764
Revert "Change gyro_overflow_detect to use filtered instead of raw gyro data" 2018-02-18 09:25:04 +13:00
Michael Keller 3fbff5a700
Merge pull request #5200 from etracer65/gyro_overflow_check_use_filtered_gyro
Change gyro_overflow_detect to use filtered instead of raw gyro data
2018-02-18 03:23:39 +13:00
Michael Keller 3dddb17e35
Merge pull request #5179 from mikeller/unify_3d_switches
Unified `BOX3DDISABLE` and `BOX3DONASWITCH` switches.
2018-02-18 03:21:20 +13:00
Michael Keller 0f790332a3
Merge pull request #5178 from mikeller/increase_eeprom_version
Fixed parameter group violations in `motorDevConfig_t`, incremented EEPROM config version before 3.3.0 release.
2018-02-18 03:19:30 +13:00
Michael Keller 7cd97b8fc0
Merge pull request #5205 from etracer65/runaway_takeoff_reset_after_crashflip
Reactivate Runaway Takeoff Prevention after using crash-flip
2018-02-18 03:17:44 +13:00
Michael Keller 3741b9ec04
Merge pull request #5216 from fujin/bugfix-use-gyro-fast-kalman
Biquad RC+FIR2: Reverse interface settings DEFINE conditional
2018-02-17 23:25:23 +13:00
AJ Christensen 3c8b9637c8 Biquad RC+FIR2: Reverse interface settings DEFINE conditional
* Previously we allowed the user to override from the Biquad RC+FIR2 to the FKF
  impl. at compile time via `make OPTIONS=USE_GYRO_FAST_KALMAN`.
* This was regressed in PR #5144 / commit: 4dd65a2. Restores previous behavior.
2018-02-17 22:51:25 +13:00
Bruce Luckcuck 1b5e52d87b Reactivate Runaway Takeoff Prevention after using crash-flip
Reset Runaway Takeoff Prevention so that on the next arming after crash-flip is used it will once again be active.  The use-case is that the pilot may have broken props or other damage that could cause a runaway event.  After successful takeoff the feature will deactivate for the remainder of the battery as before.
2018-02-15 15:53:07 -05:00
MJ666 1bcfa5ddb0
Merge pull request #5202 from AlienWiiBF/AFF3_V1_fix
Fix AlienFlight F3 V1 LED issue.
2018-02-15 09:01:15 +01:00
Michael Keller 77559ade2d
Merge pull request #5198 from jflyper/bfdev-motorDevInit-do-IOConfigGPIOAF-instead-of-IOConfigGPIO
motorDevInit  IOConfigGPIOAF instead of IOConfigGPIO
2018-02-15 18:28:25 +13:00
mikeller 7192e9de19 Fixed parameter group violations in `motorDevConfig_t`, incremented EEPROM config version before 3.3.0 release. 2018-02-15 18:25:28 +13:00
Michael Keller b0ade55c95
Merge pull request #5172 from etracer65/runaway_takeoff_disable_benchtest
Runaway Takeoff Prevention - temporarily disable during configurator bench testing
2018-02-15 13:25:08 +13:00
Bruce Luckcuck b49a9ec928 Change gyro_overflow_detect to use filtered instead of raw gyro data
Noise and momentary spikes in gyro data (particularly in 32K mode) were causing false triggering of the gyro overflow detection.

Also adjusted the trigger and reset rates slightly (approx. 1950dps and 1850dps respectively).

Optimized the gyro loop slightly by eliminating 3 floating point multiplies.

Fixed bug for gyros that may not be +-2000dps full scale.
2018-02-14 17:50:09 -05:00
MJ666 badb35782c Fix AlienFlight F3 V1 LED issue. 2018-02-14 23:38:55 +01:00
jflyper 1bc2e756f5 Do full IOConfigGPIOAF instead of IOConfigGPIO 2018-02-15 03:40:11 +09:00
Bruce Luckcuck 17aeaa3ee0 Runaway Takeoff Prevention - temporarily disable during configurator bench testing
Temporarily disables Runaway Takeoff Prevention when the `ARMING_DISABLED_MSP` flag is cleared in the configurator by switching the safety switch on the motors tab.  Allows bench testing the motors and flight controller response without triggering a runaway takeoff auto-disarm.

Requires coordination with the configurator to pass an extra runaway takeoff temporary disable flag with the MSP_ARMING_DISABLE msp command.
2018-02-14 09:09:30 -05:00
Michael Keller 9da7416c30
Merge pull request #5185 from etracer65/arming_disabled_msp_disarm
Disarm when configurator sets ARMING_DISABLED_MSP arming disabled flag
2018-02-15 01:41:19 +13:00
Michael Keller 478d87317a
Merge pull request #5195 from mikeller/fix_spi_rx_ordering
Fixed ordering of SPI RX protocols.
2018-02-15 01:32:28 +13:00
mikeller 1de60106b2 Fixed ordering of SPI RX protocols. 2018-02-15 00:22:36 +13:00
Michael Keller c053ffc7f6
Merge pull request #5176 from etracer65/runaway_takeoff_disable_crashflip
Disable runaway takeoff when crash-flip mode is active
2018-02-14 23:19:57 +13:00
Michael Keller c1ad0b7ff1
Merge pull request #5175 from mikeller/add_biquad_fir_for_f3
Added Biquad RC + FIR2 filter to F3 targets.
2018-02-14 23:17:42 +13:00
Michael Keller 0bc2d18599
Merge pull request #5180 from mikeller/disable_dmar_for_clracingf4
Disabled Dshot DMAR for CLRACINGF4.
2018-02-14 23:16:34 +13:00
Michael Keller e596f9a7d1
Merge pull request #5191 from MotoLab/add_escserial
Enable ESCSERIAL for MOTOLABF4 targets
2018-02-14 15:25:02 +13:00
Moto Moto 91bc23e23f Enable ESCSERIAL for MOTOLABF4 targets 2018-02-13 18:45:35 -06:00
Michael Keller afff03197c
Merge pull request #5144 from fujin/bqrcf2-lpf-cutoff-hz
Biquad RC+FIR2: Allow user to specify cutoff Hz parameter directly
2018-02-14 13:23:57 +13:00
AJ Christensen 4dd65a2876 Biquad RC+FIR2: Allow user to specify cutoff Hz parameter directly
* Generate 'k' per the code for the PT1
* Adjust function prototypes/functions to accept f_cut/dT where applicable
* Adjust gyro configuration, parameter group, interface settings to suit
2018-02-14 12:09:49 +13:00
Bruce Luckcuck 076ad942e4 Disarm when configurator sets ARMING_DISABLED_MSP arming disabled flag
Addresses an edge case where the user could turn on the safety switch (on motors tab), arm and spin the motors, and then turn off the safety switch (without disarming first).  In this scenario the motors would keep spinning even though the ARMING_DISABLED_MSP arming disabled flag would be set.

This change checks the arming state and disarms when the configurator sets the ARMING_DISABLED_MSP flag.
2018-02-13 09:51:50 -05:00
Michael Keller 5593b43af7
Merge pull request #5181 from AndersHoglund/spektrum_ix12_cms_adaption
Spektrum iX12 adaption of CMS start screen.
2018-02-14 01:37:40 +13:00
Anders Hoglund f9998a8fce Spektrum iX12 adaption of CMS start screen. 2018-02-13 10:39:44 +01:00
mikeller 28adf08f96 Disabled Dshot DMAR for CLRACINGF4. 2018-02-13 20:10:27 +13:00
mikeller 232fc4e8de Unified `BOX3DDISABLE` and `BOX3DONASWITCH` switches. 2018-02-13 20:02:02 +13:00
Michael Keller 3bcc5c0fda Added Biquad RC + FIR2 filter to F3 targets. 2018-02-13 15:57:38 +13:00
Bruce Luckcuck 84cb0b865d Disable runaway takeoff when crash-flip mode is active
Prevents Runaway Takeoff Prevention from auto-disarming during crash-flip (turtle mode).  Addresses an edge-case where runaway takeoff prevention might not yet have been deactivated due to a crash immediatly upon takeoff.
2018-02-12 19:29:39 -05:00
Michael Keller a301a0019e
Merge pull request #5170 from mikeller/fix_tinybeef3_uart_count
Fixed UART count for TINYBEEF3.
2018-02-13 09:44:58 +13:00
mikeller 2a9c7df0fe Fixed UART count for TINYBEEF3. 2018-02-13 01:49:01 +13:00
Michael Keller 040c46da07
Merge pull request #5167 from mikeller/fix_dalrcf405
Fixed DALRCF405 DMA assignments.
2018-02-13 01:34:19 +13:00
mikeller c10419d279 Fixed DALRCF405 DMA assignments. 2018-02-13 01:28:59 +13:00
Thomas 6561251446 update jeti telemetry (#5030)
* update jeti telemetry

* add new values: Power, Roll angle, Pitch angle, Heading
* optimized reading of the values

* Indentation corrected

* correction and formating updated

* code formating, renaming, ...

* remove extra whitespace
* corrected comment formating
* adapt code for betaflight coding standards
* rename function for consistency

* code formating...

* Changes from Ledvinap

* Revert "Changes from Ledvinap"

This reverts commit 3845ed98abddfcedcc11a1cdedc68a4993afd84a.

* applied changes from ledvinap

* rebase

* Revert "rebase"

This reverts commit be89a6428aa0034dc8ef1f701ab7d2d4f3e2f8ae.

* Revert "Revert "rebase""

This reverts commit b16c9e9adf7a9fa321716929bd9f20b60f1f41d2.
2018-02-13 01:24:35 +13:00
fgiudice98 f992b839c1 KN protocol over NRF24 (#4994)
* Added KN protocol support

* Added KN protocol support

* Added KN protocol support

* Added KN protocol support

* Update nrf24_kn.c

* Update rx_spi.h

* Update nrf24_kn.c
2018-02-13 01:22:28 +13:00
Michael Keller d284ae31ad
Merge pull request #5110 from jflyper/bfdev-box-to-pinio
PINIOBOX BOX to PINIO monitor mapper
2018-02-13 00:54:41 +13:00
Michael Keller 7564d67307
Merge pull request #5165 from jflyper/bfdev-xbus-conditional
Add proper conditional for XBUS
2018-02-13 00:53:45 +13:00
Michael Keller 94d0fbb997
Merge pull request #5166 from jflyper/bfdev-omnibus-drop-xbus-mavlink
OMNIBUS Drop XBUS and MAVLINK in favor of FLASH & RAM
2018-02-13 00:53:32 +13:00
Michael Keller 936742da89
Fixed ordering of disabled features by priority for OMNIBUS. 2018-02-13 00:49:13 +13:00
jflyper d55c3c68cf OMNIBUS Drop XBUS and MAVLINK 2018-02-12 20:30:07 +09:00
jflyper 46e91a48ac Add proper conditional for XBUS 2018-02-12 20:26:00 +09:00
Michael Keller 3050b491df
Merge pull request #5140 from DieHertz/rx-only-softserial
Allow RX-only softserial
2018-02-12 23:53:11 +13:00
jflyper 45c5d37693 Use permanentId for config, convert to boxId_e at init 2018-02-12 16:02:38 +09:00
jflyper 6557b161aa Add box to pinio monitor/mapper 2018-02-12 13:54:40 +09:00