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

100 commits

Author SHA1 Message Date
Martin Budden
8efdd3bc57 Tidy rc_controls.c 2017-10-09 22:13:59 +01:00
jirif
cbefe71a73 Fast stick commands (#4208)
Implemented time-based stick command handling
2017-09-26 13:36:54 +03:00
Martin Budden
dfe868ef96 Merge pull request #3755 from bnn1044/Camera_control
ADD CAMERA_CONTROL ENTER KEY TO THROTTLE CENTER, YAW HI
2017-08-24 09:26:49 +01:00
Cheng Lin
9702b53369 ADD CAMERA_CONTROL ENTER KEY TO THROTTLE CENTER, YAW HI
ADD CAMERA_CONTROL ENTER KEY TO THROTTLE CENTER, YAW HI

ADD CAMERA_CONTROL ENTER KEY TO THROTTLE CENTER, YAW HI

remove Enter key enter using Thr_low Pit_low
2017-08-09 08:44:35 -04:00
Cheng Lin
f614038c3b remove enter key from rc_control.c make it target definition only PR 2017-08-04 13:30:29 -04:00
Cheng Lin
72ace4566e add camera_contro pin define, soft_serial,camera_control enter press key 2017-08-04 13:30:29 -04:00
jflyper
4a2ef89ea8 Revert left stick constraints and introduce context 2017-07-30 19:12:22 +09:00
DieHertz
65476c506c Added stick commands for camera control 2017-07-16 02:23:39 +03:00
DieHertz
cc358dc405 Implemented Camera Control using Hardware and Software PWM 2017-07-16 02:23:31 +03:00
mikeller
282668edde Added BOXDSHOTREVERSE as a separate mode to BOX3DDISABLE. 2017-07-08 12:32:23 +12:00
mikeller
67acc6c7ec Added beeps to indicate the reason for arming being disabled. 2017-07-04 01:38:04 +12:00
mikeller
31df82db2d Reworked arming conditions. 2017-06-30 08:43:46 +12:00
Dominic Clifton
db006b1585 Merge pull request #2856 from ledvinap/improvement-64bit-boxid
array based box masks
2017-06-19 13:31:08 +12:00
Martin Budden
23f158913e Moved time functions out of system.h into time.h 2017-05-26 14:03:28 +01:00
Martin Budden
ebbfda2f6c Merge pull request #3017 from rav-rav/sharper_rc_response
Sharper rc response / ninja-mode
2017-05-08 08:03:21 +01:00
Martin Budden
4be1e31d01 Further work on multiple gyro support 2017-05-08 07:02:45 +01:00
rav
33043d79dc use floats for rc interpolation
do not filter setpoint data
2017-05-04 00:16:46 +02:00
Hydra
723831b579 SPRACINGF3NEO - Use RTC6705 clk hack.
CF/BF - Fix typo in max7456DmaInProgress.  Always define an
implementation even when there is no TX-DMA.

CF/BF - Ensure that max7456 communication does not disrupt RTC6705
communication when using the same SPI port for both.

CF/BF - Port RTC6705 to use the VTX API.

* Support VTX channel/band/power on OSD for ALL vtx APIs - previously it only supported RTC6705.
* Remove all FEATURE_VTX usage.
* Remove all `#define VTX` usage.

Note that due to the async nature of tramp/smartaudio it's not possible
to know the current band/channel after requesting a change (as the
request hasn't been processed) so it makes no sense to try and save the
config - and on the tramp/smartaudio vtx the vtx maintains it's state.
So on an RTX6705 equipped FC the user should now MANUALLY save the
config using the save config stick position.

CF/BF - Move CMS for RTC6705 into vtx_rtc6705.c for consistency with
other VTX CMS menus.

CF/BF - Update RTC6705 via SOFT SPI to use VTX API.

* Achieved by simply aligning the API at the driver level and removing
all legacy conditional compilation checks.

CF/BF - Use new IO for RTC6705 CLK Hack

CF/BF - Port VTX button from CF v1.x.

Features:
* Channel Cycle
* Band Cycle
* Power Cycle
* Save Settings
* Works with any VTX using VTX API.

CF/BF - Allow support for Internal and External VTX - External takes
precedence when configured.

CF/BF - Fix display of VTX power in CMS.

* Issue occured when CMS was transitioned from integer to list of
strings.

CF/BF - Disable SMARTAUDIO and TRAMP on the SPRacingF3NEO due to flash
size.

CF/BF - Cleanup const usage of bass-by-value parameters.  Cleanup
naming.

CF/BF - Cleanup naming.  Removing noise-words. Improving consistency.

CF/BF - Improve readability by further naming cleanups.

CF/BF - Remove some magic numbers in the RTC6705 VTX code.

CF/BF - Use braces on some procedural macros.

CF/BF - Improve code readability by renaming rtc6705SetChannel to
rtc6705SetBandAndChannel.

CF/BF - Remove editor mishap.

CF/BF - Make the rtc6705Dev variable static.

CF/BF - remove duplicate state variablertc6705Dev_t - vtxDevice_t had
all we needed.  Use brackets on some procedural style macros.  Make all
the vtx vtable static const.

CF/BF - making some declarations const.

CF/BF - Fix vtx_power maximum value (out by one).
2017-04-21 11:49:31 +12:00
borisbstyle
6899c66a05 Add anti gravity as feature and mode
3.1.7 mergebacks
2017-04-05 15:27:52 +02:00
mikeller
728adb3a86 Changed 'yaw_control_direction' into 'yaw_control_inverted' and made it a boolean, to get rid of the 'undefined' case 0. 2017-03-24 20:49:52 +13:00
Hydra
0b531db549 fix missing yaw default when using PGs. this resulted in no yaw from RC
input.
2017-03-18 20:30:43 +00:00
Martin Budden
aa561d542b Updates to support parameter groups 2017-03-06 13:48:14 +00:00
Martin Budden
c92679f454 Added PG config definitions 4 2017-02-25 18:19:56 +00:00
Martin Budden
a94318a75f Added PG config definitions 3 2017-02-25 11:29:55 +00:00
Martin Budden
4c435fccae Preparation for conversion to parameter groups 6 2017-02-15 08:05:37 +00:00
borisbstyle
ecb104b1f1 Merge branch 'master' into patch_v3.1.4 2017-02-07 13:47:12 +01:00
borisbstyle
80c0e32660 Restore multiwii throttle curve 2017-02-06 23:48:01 +01:00
borisbstyle
428f39341c Remove unused var 2017-02-06 23:20:01 +01:00
Martin Budden
f2e5c7d0b4 Split RC adjustments into separate module 2017-02-03 10:49:27 +00:00
Martin Budden
f858cd9d38 Removed unused parameter to processRcAdjustments 2017-02-02 11:23:39 +00:00
Martin Budden
becdeb4c9b Used PGs rather than parameters for processRcStickPositions 2017-02-02 11:01:09 +00:00
Martin Budden
f6c8319361 Removed a number of static config pointers 2017-02-02 10:41:19 +00:00
borisbstyle
51b19855dd Merge tag 'v3.1.2' 2017-02-02 00:23:33 +01:00
borisbstyle
58bcb981ed Decouple min_check from throttle // Add modern expo calculation to throttle curve 2017-02-01 23:53:29 +01:00
Martin Budden
79d4b2146d Preparation for conversion to parameter groups 2017-02-01 08:46:19 +00:00
mikeller
5e45ec3293 Renamed 'serial_cli' and 'fc_main'. 2017-01-11 23:22:03 +13:00
borisbstyle
41e904e200 Add missing breaks to adjustment functions 2017-01-06 09:48:40 +01:00
borisbstyle
4e3704374a Cleanup mw.c // Remove unnecessary functions 2016-12-30 14:00:10 +01:00
borisbstyle
cbc8efd16a Add inflight adjustments for Dterm sliders 2016-11-30 21:16:51 +01:00
borisbstyle
29690b9c00 Add config reload to inflight adjustments and osd 2016-11-30 21:16:50 +01:00
Steffen Windoffer
f41cff8b15 fix motorconfig assignment 2016-11-15 22:25:27 +01:00
Martin Budden
5bc1105871 Renamed display to dashboard 2016-11-02 05:00:09 +00:00
Martin Budden
58c85029d6 Removed unnecessary #includes 2016-10-26 05:15:26 +01:00
borisbstyle
50e9b19fab Remove OLEMEXINO // Fix CJMCU build 2016-10-25 14:41:05 +02:00
Martin Budden
a771280b50 Moved config.c from config directory to fc directory 2016-10-18 08:57:39 +01:00
Martin Budden
a11d0bdb4d Split escAndServoConfig into motor and servo parts 2016-09-26 19:24:52 +01:00
Martin Budden
a257210b56 Split features into a separate module 2016-09-04 18:48:58 +01:00
borisbstyle
24b4036968 Redefine rate implementation // new power expo // remove super expo feature 2016-08-27 10:35:55 +12:00
KiteAnton
3fe79bf050 Merge branch 'development' of https://github.com/betaflight/betaflight into rc_rate_yaw_adjustment 2016-08-08 16:56:54 +02:00
Martin Budden
541f4d4018 Directory rearrangement to reflect cleanflight changes 2016-08-07 13:44:00 +01:00
Renamed from src/main/io/rc_controls.c (Browse further)