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

9442 commits

Author SHA1 Message Date
Andrey Mironov
ac26c975dd Adjustable OC for F405 and F411 2018-02-17 14:12:16 +03: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
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
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
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
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 3845ed98ab.

* applied changes from ledvinap

* rebase

* Revert "rebase"

This reverts commit be89a6428a.

* Revert "Revert "rebase""

This reverts commit b16c9e9adf.
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
Michael Keller
480ad40ab1 Fixed flash overflow on OMNIBUS. 2018-02-12 16:07:52 +13:00
Michael Keller
06691e4d7c
Merge pull request #5108 from jflyper/bfdev-pinio
PINIO Generic pin output driver
2018-02-12 15:06:48 +13:00
Michael Keller
eb44af4aeb
Merge pull request #5123 from ledvinap/imp-flightmode
Implement getBoxIdState
2018-02-12 15:05:22 +13:00
Michael Keller
1840d645f2
Merge pull request #5098 from jflyper/bfdev-configurable-burst-dshot
DShot Make burst and non-burst runtime configurable
2018-02-12 12:48:34 +13:00
Michael Keller
a89d82090e
Merge pull request #5148 from dbasch/master
Fix for #5117. Also, max character count was off by one.
2018-02-12 12:35:16 +13:00
Michael Keller
fd54f5b13d
Merge pull request #5080 from jflyper/bfdev-add-comment-on-dshot-duplicate-initialization
DSHOT Add comment about duplicate initialization of timers and DMAs
2018-02-12 12:33:12 +13:00
jflyper
3761f4983e
Merge pull request #5160 from mikeller/fix_spracingf3neo_flash_size
Fixed SPRACINGF3NEO flash size issue.
2018-02-12 08:07:48 +09:00
Michael Keller
30a535227d Fixed SPRACINGF3NEO flash size issue. 2018-02-12 10:16:12 +13:00
Diego Basch
d75b1f71c3 Fix for #5117. GPS coordinates no longer require special fonts to render the decimal separator.
Removed the code that used leading and trailing half-dots, now using a regular dot instead.
Also fixed the maximum length of the coordinate string, as the 7th decimal digit was getting clobbered in longitudes with three digits (the count was off by one).
2018-02-11 13:02:41 -08:00
Anders Hoglund
6390426c0b Spektrum TM regression. Incomplete RPM/Voltage report corrected. 2018-02-11 18:22:06 +01:00
jflyper
9475988218 Make burst and non-burst runtime configurable 2018-02-11 23:24:07 +09:00