1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-17 05:15:25 +03:00
Commit graph

11011 commits

Author SHA1 Message Date
pulquero
e3db75176d Expose ESC telemetry over smart port. (#5581)
Signed-off-by: Mark Hale <mark.hale@physics.org>
2018-04-08 08:57:49 +12:00
Steffen Windoffer
17eed470e0 update slack url (#5630) 2018-04-08 08:55:35 +12:00
Bruce Luckcuck
9a7533f57d Expose vbat ADC divider and multiplier parameters in CLI (#5641)
Previously only vbat_scale was exposed. Adds vbat_divider and vbat_multiplier parameters.

Note that all of these parameters only apply to the first voltage sensor (VOLTAGE_SENSOR_ADC_VBAT).  There is the capability to have multiple sensors and those will not have their parameters exposed.  Currently there are no target definitions that use multiple sensors.
2018-04-07 12:26:16 +12:00
Bryce Johnson
588addd6dd added crashflip_motor_percent. This will use the other motors while doing a turtle. (#5600) 2018-04-06 20:24:48 +12:00
borisbstyle
3663230803 Cleanup PID controller function (#5631) 2018-04-06 20:23:57 +12:00
Bruce Luckcuck
630e5d09a2 Enable USE_BRUSHED_ESC_AUTODETECT for all targets (#5637)
Without this a target that didn't specifically specify brushed motors would initialize to Oneshot125 on a firmware reset and this signal is sufficient to act a as a PWM source for brushed motors making them spin on power up.

With the proliferation of some targets (REVO, OMNIBUS, etc.) there are now many brushed variants that are at risk.
2018-04-06 19:51:32 +12:00
borisbstyle
d576354e7d
Merge pull request #5633 from betaflight/mixer_cleanup
Cleanup mixTable
2018-04-06 09:18:58 +02:00
borisbstyle
194248f804 Cleanup mixTable 2018-04-06 07:16:39 +02:00
Chris
9d5fa7311e Add MSC for F7 (#5629)
* Add MSC for F7

* Fix compilation error.
2018-04-06 12:53:26 +12:00
Michael Keller
75bafb7b71
Merge pull request #3039 from cleanflight/f7-transponder-ir (#5618)
CF/BF - Add support for IR Transponder on STM32F7 boards.
2018-04-06 03:44:18 +12:00
Michael Keller
337fbb2392
Trimmed RCEXPLORERF3 firmware size. (#5627) 2018-04-05 16:05:46 +12:00
Bruce Luckcuck
7bc600d651 Throttle limit feature (#5608)
Adds new throttle_limit_type and throttle_limit_percent parameters that allow the pilot to limit the maximum commanded throttle seen by the flight controller by either scaling or clipping the maximum throttle.  The default is 100 representing no limiting.  So as an example, if a pilot was to set throttle_limit_type = SCALE and throttle_limit_percent = 80 the throttle input would scale from 0 to 80% based on full stick deflection from the radio.

This capability replaces the method of limiting throttle in the radio which some pilots are using to manage throttle on tight courses or reduce overall battery consumption when the extra power isn't needed.

There is no effect on the maximum throttle seen by the motors so the mixer still has full authority.
2018-04-05 16:01:28 +12:00
Chris
c71cfe1b8c Cache up SDIO Writing, add option to enable clock bypass. (#5612)
* Speed up SDIO Writing, add option to enable clock bypass.

* Fix identation

* Requested changes

* Move PG SDIO into correct place.
2018-04-05 12:52:30 +12:00
Anders Höglund
21e77dd66d VTX Pit Mode control conflict resolved, Tx switch vs menues, (#5621) 2018-04-05 02:03:12 +12:00
Michael Keller
a3a4f5586f
Removed unused RELEASE_BUILD define. (#5616) 2018-04-04 12:19:46 +12:00
Andrey Mironov
aede46288b Reworked reboot flags for F4 partially (#5193) 2018-04-04 01:08:36 +12:00
Michael Keller
07cce64572
Added ESC temperature warning, fixed ESC warning issue with motor count > 8. (#5583) 2018-04-04 01:04:18 +12:00
conkerkh
494e42610e Add SDIO for F7 (#5604) 2018-04-04 01:03:54 +12:00
varkokonyi
6320dff462 Fix arming-releated IBUS telemetry bug (#5613) 2018-04-03 21:15:09 +12:00
codecae
bc824e42c2 Corrected CLI to include vtx_band=0 to enable freq selection mode. (#5465) 2018-04-03 19:59:02 +12:00
conkerkh
f00e4f2a82 Simplify compilation of F4 SDIO enabled targets. (#5603) 2018-04-02 14:41:16 +12:00
Bryce Johnson
f50ed9f763 Change crashflip to normal on disarm (#5594) 2018-04-02 14:36:27 +12:00
conkerkh
db81dbe103 HotFix for sdcard driver on F7 when using DMA for TX (#5595)
* HotFix for sdcard driver on F7 when using DMA for TX

* Fix typo
2018-04-02 14:36:13 +12:00
conkerkh
a9136e2ba0 Add CDC+HID on F7 (#5596) 2018-04-02 14:35:51 +12:00
etracer65
c091fa8e48 Fix PWM rx 100% CPU load (#5598)
Previous logic changes were causing the RX task to run every loop for PWM rx leading to 100% CPU load. Reverted PWM processing to be based on a time interval rather than whether new data is available. With PWM we can't differentiate when new data is available as it's a continuous stream.
2018-04-02 10:35:26 +12:00
conkerkh
1243b3ad50 LEDs on NucleoF7 are inverted. (#5602) 2018-04-02 07:46:11 +12:00
jflyper
31639e4a48
Merge pull request #5578 from mikeller/remove_omnibusf4_legacy_code
Removed code marked as legacy from OMNIBUSF4.
2018-04-01 18:21:00 +09:00
mikeller
53df5d1129 Removed code marked as legacy from OMNIBUSF4. 2018-04-01 12:38:08 +12:00
Michael Keller
b5c0076bc8
Added USE_ESC_SENSOR_INFO define, cleaned up USE_ESC_SENSOR define. (#5580) 2018-04-01 11:33:07 +12:00
Andrey Mironov
b8aa6ac915 Added AIKONF4 (#5355)
* Added AIKONF4

* Replaced binary literals with explicit bit macros

* Removed invalid backdoor timers

* Added board description to docs folder
2018-04-01 11:10:39 +12:00
Michael Keller
92d19e7be6
Merge pull request #3036 from cleanflight/spracingf7dual-pidaudio (#5586)
PID-Audio feature
2018-04-01 11:08:41 +12:00
Michael Keller
5a258070bc
Fixed DMA conflicts for CRAZYBEEF3 targets. (#5590) 2018-04-01 11:00:03 +12:00
Michael Keller
c3cb2e1605
Fixed CLI array assignment. (#5589) 2018-04-01 10:57:19 +12:00
proggod
1a29e88f57 Revoltosd (#5557)
* added FlightOne revolt header

* comments

* Added OSD config

* more target file changes

* more target file changes

* REVOLTOSD

* REVOLTOSD

* timer fixes

* timer fixes

* osd

* config

* Added USE_TARGET_CONFIG

* osd

* osd

* spi changes

* more spi changes working now

* Added REVOLTOSD target

* folder rename and other target fixes

* more changes

* additional target changes

* one typo

* fixed typo
2018-03-31 14:33:23 +13:00
Teracis
45e64edb0b Removed mixer halving in 3D mode. (#5582) 2018-03-31 13:43:16 +13:00
codecae
8131e4f840 Created generic SmartAudio interface (#5561) 2018-03-31 13:01:30 +13:00
pulquero
cf6b3639e2 Add OSD message to report motor/esc problem. (#5550)
Signed-off-by: Mark Hale <mark.hale@physics.org>
2018-03-31 02:09:33 +13:00
etracer65
a7eccffa38 Clear crash flip mode flag on disarming (#5566)
Previously the flag was only set during arming so after crash flip mode was used the flag would stay active until the next arming. This caused the "CRASH FLIP" warning message to erroneously display on the OSD when disarmed.
2018-03-30 18:09:35 +13:00
Michael Keller
8bbd92cb43
Added UART2 TX pin definition to FPVM_BETAFLIGHTF7 target. (#5562) 2018-03-30 18:07:31 +13:00
Michael Keller
d55ce930c0
Added code of conduct. (#5560)
This is from a default template suggested by GitHub. It's fairly broad, but non specific.
2018-03-30 18:06:16 +13:00
Michael Keller
b55ff3fefc
Added documentation for the FrSky SPI RX. (#5545) 2018-03-30 18:01:12 +13:00
allenfor2017
a02c404157 add new target SpeedyBee F4 (#5552)
* add new target speedybee f4

* modify BEEPER define
2018-03-30 17:54:25 +13:00
codecae
22004cfd56 Created generic Tramp protocol interface (#5527) 2018-03-30 17:50:19 +13:00
Míguel Ángel Mulero Martínez
39904a3065 Add default telemetry for iBus (#5570)
The "standard" telemetry is RPM, temperature and external voltage.
2018-03-30 17:41:50 +13:00
etracer65
59dbe0e4e3 Correct accelerometer initialization for MPU6000 and MPU9250 (#5559)
Accelerometer should be initialized to 16G scale.
2018-03-30 17:11:14 +13:00
Anders Höglund
11e22e634f Spektrum SRXL improvements. Collect TM data in sync with transmission instead of async 30Hz, performancs +50%. B-channel Cap/Cur/temp was visible even though not used, corrected. Incomplete compile conditions corrected. (#5556) 2018-03-30 17:02:38 +13:00
Míguel Ángel Mulero Martínez
efef50ced1 Increment AG GAIN step in CMS (#5568) 2018-03-30 16:54:55 +13:00
Míguel Ángel Mulero Martínez
7ad4bbfa0f Simplify the precompiler condition for MSP_VOLTAGE_METERS (#5554)
... and MSP_CURRENT_METERS
2018-03-28 08:11:08 +13:00
Míguel Ángel Mulero Martínez
8095d3442c Fix MSP_VOLTAGE_METERS and MSP_CURRENT_METERS (#5547)
Only sustract the unused voltage/current meters from ESC when
USE_ESC_SENSOR is defined
2018-03-28 03:34:53 +13:00
Michael Keller
5a7b1879ee
Fixed spurious 'bad RX' arming disable detection. (#5541) 2018-03-27 09:52:14 +13:00