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

5860 commits

Author SHA1 Message Date
borisbstyle
0d5c4e8774 Merge pull request #1343 from betaflight/float_mixer
Initial mixer to float conversion
2016-10-20 09:16:18 +02:00
borisbstyle
bfaa2dc029 Clean CJMCU target file for unused define 2016-10-20 09:11:32 +02:00
borisbstyle
706897c187 Convert mixer to float math 2016-10-20 09:05:52 +02:00
Martin Budden
e21e1f50aa Merge pull request #826 from digitalentity/betaflight-mavlink-telem
MAVLink telemetry support
2016-10-20 07:59:02 +01:00
borisbstyle
fd2a091b79 Add second notch default 2016-10-20 00:21:50 +02:00
atomiclama
4afab418fe Refactor to remove duplicate define of UNUSED macro. 2016-10-19 14:52:44 +01:00
Anders Höglund
69be5bf2da Merge pull request #1349 from AndersHoglund/development
COLIBRI_RACE build failed. Incomplete PR1341.
2016-10-19 10:12:28 +02:00
Anders Hoglund
b064e7d99c COLIBRI_RACE build failed. Incomplete PR1341. 2016-10-19 10:09:37 +02:00
Martin Budden
9f4b477697 Merge pull request #1348 from martinbudden/bf_common_math_header
Added missing function declaration
2016-10-19 08:56:11 +01:00
Martin Budden
7fcfc47a55 Merge pull request #1342 from martinbudden/bf_rx_msp_refreshrate
Added missing rxRefreshRate to RX MSP
2016-10-19 08:41:47 +01:00
Martin Budden
c2a896c6f3 Added missing function declaration 2016-10-19 08:37:36 +01:00
borisbstyle
f698f99198 Merge pull request #1282 from blckmn/digital_motors
DSHOT600 & 150 -> digital one shot motor (ESC) protocol
2016-10-19 00:24:39 +02:00
Martin Budden
7c6a44b694 Added missing rxRefreshRate to RX MSP 2016-10-18 17:55:13 +01:00
borisbstyle
c8eed62b59 Merge pull request #1341 from betaflight/cleanup_pidcontroller
Remove Legacy Pid Controller
2016-10-18 16:50:05 +02:00
borisbstyle
5e3c974d64 Remove Legacy Pid Controller 2016-10-18 16:49:16 +02:00
blckmn
927a842d8a FURYF3 fix and STM32F3DISCOVERY DSHOT 2016-10-18 23:01:11 +11:00
blckmn
9f742b017d OMNIBUS Support, and updates to filenames etc for cleanliness 2016-10-18 20:27:45 +11:00
kc10kevin
631408e90b FURYF3 and F4 support 2016-10-18 20:27:09 +11:00
Martin Budden
8cf52c80c2 Merge pull request #1340 from martinbudden/bf_config_move
Moved config.c from config directory to fc directory
2016-10-18 10:03:41 +01:00
blckmn
f2cb0d5dde Updated to utilise new CRC 2016-10-18 19:38:18 +11:00
blckmn
712985a7aa Cleaned up filenames to better reflect purpose
Fixed build issue following rebase
2016-10-18 19:38:18 +11:00
blckmn
4e529642d1 Initial implementation of DSHOT protocol (600 and 150) 2016-10-18 19:38:18 +11:00
Martin Budden
a771280b50 Moved config.c from config directory to fc directory 2016-10-18 08:57:39 +01:00
borisbstyle
e0b7088767 3.0.1 Defaults // Improve setpoint transition 2016-10-18 09:45:34 +02:00
borisbstyle
48b7b4fc65 3.0.1 Defaults // Improve setpoint transition 2016-10-18 09:42:49 +02:00
J Blackman
7db9b9cbc7 Merge pull request #1338 from jflyper/bfdev-omnibusf3-timerHardware-cleanup3
OMNIBUS timerHardware cleanup and I2C support
2016-10-18 13:34:03 +11:00
jflyper
8c03ee2b08 OMNIBUS timerHardware cleanup and I2C support
- I2C permanently enabled on PWM7 & 8 (J3 and J22)
- Enabled external compass on I2C
- Removed LED_STRIP and I2C from timerHardware array
2016-10-18 10:27:40 +09:00
James Betker
3cc398e23e Add Synthetic Spektrum RSSI from fade counter
The Spektrum satellites, when in "slave" or "external"
mode, continously output a counter of lost frames.
By keeping track of how quickly this counter is incrementing,
a pseudo-RSSI can be generated.

This patch:
- Adds a calculation method for generating an RSSI figure from
  the Spektrum fade counter.
- Adds a new configuration option, spektrum_rssi_enabled, which
  takes over rssi_channel and feeds the synthetic RSSI into it
  (on Spektrum RX's only)

Known Limitations:
- The fade counter only works with the satellite is in external mode,
   which is *not* the case when it is bound to the TX via the FC. You
   *must* bind the satellite the old-school way using another RX.
- Total signal loss freezes the RSSI figure (it will not indicate 0%)
- Spektrum RSSI is more "sensitive" than other RSSI figures due to
   the fact it is based on packet loss. What this means is that you will
   generally be flying at 100% signal, even near the boundaries of signal
   loss. Signal loss will occur quickly such that if you see anything below
   75% or so you should immediately turn back.

Testing Instructions:
- Bind a speksat using an external RC RX, not via the FC.
- Configure FC using following commands:
set rssi_channel = 9
save
- Fly quadcopter with whatever RSSI reporting mechanism you use.
2016-10-17 17:46:20 -07:00
borisbstyle
4ab5db8e45 Add second notch default 2016-10-17 16:28:33 +02:00
borisbstyle
bfc5832149 Merge branch 'master' into development 2016-10-17 11:09:03 +02:00
borisbstyle
4c698b8283 Merge branch 'development' of https://github.com/borisbstyle/betaflight into development 2016-10-17 11:06:35 +02:00
borisbstyle
ddbdb58052 Add Default Feature Motor Stop To BEEBRAIN 2016-10-17 11:05:59 +02:00
borisbstyle
68424ff563 Add Default Feature Motor Stop To BEEBRAIN 2016-10-17 10:57:57 +02:00
Konstantin Sharlaimov (DigitalEntity)
8e249ce187 Allow MAVLink telemetry only for targets with >128K flash 2016-10-17 18:43:28 +10:00
Konstantin Sharlaimov (DigitalEntity)
09140cfdef Move MAVLink to lib/main/MAVLink; Post-rebase fixups 2016-10-17 17:24:42 +10:00
Konstantin (DigitalEntity) Sharlaimov
f73e07e299 Move mavlink library to telemetry dir 2016-10-17 17:17:25 +10:00
Konstantin (DigitalEntity) Sharlaimov
ff19b5bcff MAVLink telemetry support 2016-10-17 17:17:25 +10:00
borisbstyle
a9d6d60989 Merge pull request #1335 from kc10kevin/development_ICM20689Fix
ICM20689 Gyro Fix
2016-10-17 08:27:28 +02:00
Martin Budden
aac888e3c0 Merge pull request #1327 from blckmn/ppm_pin_selection
Fixed up PPM allocation
2016-10-17 07:23:31 +01:00
Martin Budden
4a71f5046c Merge pull request #1333 from blckmn/revert_timer
Revert "Remove superfluous timerHardware properties"
2016-10-17 06:57:02 +01:00
J Blackman
cbfd45f3af Merge pull request #1334 from kc10kevin/development_FuryFix
FuryF3 Target Fixup
2016-10-17 13:54:08 +11:00
kc10kevin
6dbded7071 ICM20689 Gyro Fix 2016-10-16 20:28:53 -05:00
kc10kevin
1c3f327c42 FuryF3 Target Fixup 2016-10-16 19:59:14 -05:00
blckmn
e840bbe83c Revert "Remove superfluous timerHardware properties"
This reverts commit 4924894f41.

Just too many combinations on the F3 for using a simple mapping table - wastes too much memory.
Will move LED Strip to allocation based on timerHardware_t array once DSHOT is merged (uses same dma requirements).
2016-10-17 11:24:59 +11:00
Anders Höglund
c96bb34fda Merge pull request #1331 from AndersHoglund/testsystem
Added junittest XML test results.
2016-10-16 21:51:18 +02:00
Anders Hoglund
15d9eaffd4 Added junittest XML test results. 2016-10-16 17:48:31 +02:00
Martin Budden
c5042e2099 Merge pull request #1329 from martinbudden/bf_msp_file_renames
Renamed some MSP related files
2016-10-16 13:37:33 +01:00
Martin Budden
b309f95894 Merge pull request #1328 from martinbudden/bf_unit_tests
Got unit tests working by removing non-working tests
2016-10-16 13:35:32 +01:00
Martin Budden
f6bcbff239 Got alignsensor unit test working 2016-10-16 12:51:30 +01:00
Martin Budden
5f791cef77 Renamed some MSP related files 2016-10-16 11:13:38 +01:00