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

346 commits

Author SHA1 Message Date
bkeinert
5d3c3b766b extend crash-flip mode (#5163)
* extend crash-flip mode

* size optimizations

* adjust cosine threshold

* adjust deadband to 15%
2018-03-04 11:37:01 +13:00
Michael Keller
3dddb17e35
Merge pull request #5179 from mikeller/unify_3d_switches
Unified `BOX3DDISABLE` and `BOX3DONASWITCH` switches.
2018-02-18 03:21:20 +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
mikeller
232fc4e8de Unified BOX3DDISABLE and BOX3DONASWITCH switches. 2018-02-13 20:02:02 +13:00
jflyper
9475988218 Make burst and non-burst runtime configurable 2018-02-11 23:24:07 +09:00
Bruce Luckcuck
fba0b2cea3 Optimze pidSum calculation by storing the value rather than recalculating in multiple places.
Saves 72 bytes. Will save at least that additionally when incorporated into Runaway Takeoff Prevention (which also calculates the pidSum in two places).

Additionally adds a slight performance improvement by not repeating the floating point additions to calculate the pidSum in multiple places.  Effectively replaces 2 calculations with 1 (4 with 1 with Runaway Takeoff Prevention).
2018-01-30 09:58:41 -05:00
Martin Budden
ccb49583e9 Add hooks for triflight 2018-01-20 13:59:45 +00:00
mikeller
b489d0ba9d Renamed 'parameter_group' to 'pg'. 2017-12-19 23:36:31 +13:00
Martin Budden
de5b0d53ff Enabled Instruction TCM 2017-12-17 13:41:51 +00:00
Martin Budden
a33a82725e Add fast RAM support, CCM or TCM depending on processor 2017-12-16 17:42:35 +00:00
Martin Budden
12640972a9 Preparation for using instruction cache on F7 2017-12-15 10:07:19 +00:00
Martin Budden
d0a77bc917 Keep ITerm zero for 250ms after motor reversal in 3D mode 2017-12-01 21:36:32 +00:00
Martin Budden
dd3a40f036
Merge pull request #4702 from martinbudden/bfa_3d_iterm
Reset ITerm on motor reversal
2017-12-01 08:16:22 +00:00
Martin Budden
9060ecb302 Reset ITerm on motor reversal 2017-12-01 07:06:20 +00:00
Martin Budden
ccb4f77ae2 Tidy of mixer and servo code 2017-12-01 06:07:32 +00:00
mikeller
4d30971e2d Fixed permissions on files. 2017-11-28 23:31:55 +13:00
mikeller
b78d8ad83e Converted more 'feature' type defines to use the 'USE_<x>' convention: LED_STRIP TARGET_CONFIG BRUSHED_ESC_AUTODETECT SERIAL_RX TELEMETRY TELEMETRY_CRSF TELEMETRY_FRSKY TELEMETRY_HOTT TELEMETRY_IBUS TELEMETRY_JETIEXBUS TELEMETRY_LTM TELEMETRY_MAVLINK TELEMETRY_SMARTPORT TELEMETRY_SRXL TELEMETRY_NRF24_LTM TELEMETRY_LTM SPEKTRUM_BIND NAV BUTTONS 2017-11-07 18:49:12 +13:00
Bryce Johnson
d1a197f99e 3d on a mode switch 2017-10-11 13:08:12 -05:00
Michael Keller
39c02c083e Merge pull request #3832 from martinbudden/bf_pidsum_limits
PID sum limits applied before scaling
2017-10-12 00:01:58 +13:00
RolandChen
f14574a222 Add Heli 120 Mixer
(Squashed)
2017-10-07 00:19:53 -07:00
mikeller
79651ec6c8 Improved mixer code for crash flip mode. 2017-09-22 08:07:26 +12:00
Martin Budden
d22fb0dde4 Merge pull request #4207 from brycedjohnson/TurtleRemovePidSum
Remove pid sum limit so crashflip gets 100% throttle
2017-09-21 17:51:50 +01:00
Bryce Johnson
1016ec146c Remove pid sum limit so crashflip gets 100% throttle 2017-09-21 11:19:34 -05:00
Michael Keller
8b0d848ce9 Fixed and cleaned up the conversion between Dshot and external PWM values. 2017-09-21 22:59:28 +12:00
Michael Keller
b20d5e6f80 Fixed mixer for non-3D mode. 2017-09-18 12:44:40 +12:00
Michael Keller
ce824a60d6 Fixed mixer for 3D / Dshot. (#4161) 2017-09-17 15:45:39 +01:00
Bryce Johnson
fd37566bc5 New turtle mode that only spins needed props 2017-09-07 07:59:59 -05:00
mikeller
c8f528c0af Inhibit Dshot motor beeping while motors are running (armed or motor test). 2017-08-25 09:16:43 +12:00
Martin Budden
6c8b0f3adf Avoid necessity for pidInitMixer 2017-08-24 17:34:31 +01:00
Martin Budden
533734a58d PID sum limits applied before scaling 2017-08-24 17:33:09 +01:00
mikeller
0854953cf0 Fixed yaw direction after #3873. 2017-08-17 23:32:21 +12:00
Martin Budden
8dd4a584c1 Fixed whitespace 2017-08-17 08:32:37 +01:00
borisbstyle
786343e2b2 Merge pull request #3873 from martinbudden/bf_mixer_efficiency
Improved mixTable calculation efficiency
2017-08-17 09:23:19 +02:00
Martin Budden
e4975d735d Improved mixTable calculation efficiency 2017-08-17 07:54:08 +01:00
KenImhof
36db92bcb3 Fixed 3D mode 2017-08-16 16:47:17 -07:00
Martin Budden
87ae1616d6 Further better use of pwmAreMotorsEnabled 2017-07-06 08:55:26 +01:00
borisbstyle
0a7a74965a Fix for #3466 2017-07-05 15:19:00 +02:00
borisbstyle
4ff7b9394b mixTable() separation for readability 2017-07-05 13:43:02 +02:00
borisbstyle
2cac202447 Merge pull request #3440 from betaflight/mixer_decoupling
mixTable() separation
2017-07-05 13:04:12 +02:00
Martin Budden
a86ac89448 Whitespace tidy 2017-07-05 09:34:44 +01:00
borisbstyle
277755a719 Separate 3D state checks from mixTable() function for readability 2017-07-05 09:50:36 +02:00
Martin Budden
3d4f0bb137 Whitespace tidy 2017-07-05 06:36:22 +01:00
borisbstyle
b8be0ea19e Remove TODO 2017-07-04 14:38:18 +02:00
mikeller
4113f9be01 Fixed Dshot idle value. 2017-06-27 00:04:19 +12:00
Michael Keller
779823fb79 Cleaned up Dshot naming, containment. 2017-06-25 18:20:29 +12:00
mikeller
559079ff31 Fixup Dshot / Proshot implementation. 2017-06-21 00:12:01 +12:00
borisbstyle
b21877438e Convert motor values at the final stage // Increase resolution 2017-06-19 09:51:17 +02: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
Bryce Johnson
13e21c969e Added Dshot commands for reversing the motors and beeper for blheli_s 2017-06-14 12:34:36 -05:00
jflyper
0fcccd7a40 Comment tidy 2017-05-31 02:46:46 +09:00