1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 08:15:30 +03:00
Commit graph

4984 commits

Author SHA1 Message Date
Martin Budden
d8da70e3f6 Fixed jumbo frame handling 2016-10-20 16:44:58 +01:00
jflyper
c795135542 Further touch-ups 2016-10-21 00:41:15 +09:00
jflyper
7f2ebbd2fa Touch ups 2016-10-20 23:49:24 +09:00
jflyper
b2a682b2ea Merge remote-tracking branch 'origin/bfdev-osd-cms-separation-poc' into bfdev-osd-cms-separation-poc 2016-10-20 23:27:08 +09:00
jflyper
0249443862 Rebased onto super-abstracted msp 2016-10-20 23:21:32 +09:00
jflyper
01eab00fd7 Configuration Menu System support for external OSD
A quick hack to support config menu on external OSD, consisiting of:

- CMS-OSD partial separation (CMS and OSD reside in a same file: osd.c)
- MSP message injection (take it as server-push in client-server model)
2016-10-20 22:42:39 +09:00
Martin Budden
92c3fb7d8d Tidied serializeDataflashReadReply 2016-10-20 13:27:49 +01:00
Martin Budden
613239b8c8 Split MSP_WP command into separate function 2016-10-20 13:27:49 +01:00
Martin Budden
60e80c23d7 Increased MSP inbuf size to 256 2016-10-20 13:27:49 +01:00
Martin Budden
1edb0fe33d Split out MSP_DATAFLASH_READ command into separate function 2016-10-20 13:27:49 +01:00
Martin Budden
e78b544139 Fixed unused src warning when not using flash 2016-10-20 13:27:49 +01:00
Martin Budden
b62afbefd8 First cut of MSP using streambuf 2016-10-20 13:27:49 +01:00
Martin Budden
420c73ebaf Fixed CJMCU build 2016-10-20 11:51:10 +01:00
borisbstyle
77fb81915e Merge pull request #1353 from atomiclama/refactor_unused
Refactor to remove duplicate define of UNUSED macro.
2016-10-20 11:29:24 +02:00
Martin Budden
8fee38808a Fixed build error caused by wrong #include 2016-10-20 08:53:13 +01:00
atomiclama
ce1c46ff84 Results from review.
Removed no longer required include build/build_config.h
2016-10-20 08:50:09 +01:00
borisbstyle
23e7ce92cb Merge pull request #1162 from neonbjb/master
Add Synthetic Spektrum RSSI from fade counter
2016-10-20 09:18:21 +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
jflyper
6793692217 Configuration Menu System support for external OSD
A quick hack to support config menu on external OSD, consisiting of:

- CMS-OSD partial separation (CMS and OSD reside in a same file: osd.c)
- MSP message injection (take it as server-push in client-server model)
2016-10-19 22:08:14 +09: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
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
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
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
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