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

386 commits

Author SHA1 Message Date
Michael Keller
9c29475ba4 Changed float parameters to int16 in 'cli.c'.
Fixed buffer length used for 'ftoa'.

Got rid of magic numbers, replaced 'digitalIdlePercent' with 'digitalIdleValue'.
2017-04-10 13:11:01 +12:00
borisbstyle
6899c66a05 Add anti gravity as feature and mode
3.1.7 mergebacks
2017-04-05 15:27:52 +02:00
borisbstyle
d8f03693f7 Disable Airmode fully when airmode not active // Adjust default setpoints / pids 2017-04-05 14:57:12 +02:00
Martin Budden
f24865d9a0 Disable uncommon mixers for ROM saving 2017-04-03 10:59:46 +01:00
mikeller
bed980bb27 Changed direction parameters into boolean to ensure a direction is defined. 2017-03-27 21:21:01 +13:00
Martin Budden
9e4de2ea3b Added separate yaw pidsum limit 2017-03-07 11:25:21 +00:00
Martin Budden
0f4a3028c5 Added PG config definitions 7 2017-02-27 06:50:09 +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
borisbstyle
de3d1d527d Merge branch 'master' into patch_v3.1.6 2017-02-20 14:40:43 +01:00
Martin Budden
2c667376fa Preparation for conversion to parameter groups 12 2017-02-19 11:41:49 +00:00
Martin Budden
781b1b1352 Removed dependency of pwm_output driver on mixers and servos 2017-02-19 08:59:37 +00:00
Martin Budden
df630f1cf4 Preparation for conversion to parameter groups 8 2017-02-16 21:54:16 +00:00
Martin Budden
4c435fccae Preparation for conversion to parameter groups 6 2017-02-15 08:05:37 +00:00
mikeller
965e48cbec Fixed conversion to / from external values for DShot 3D. 2017-02-14 22:49:44 +01:00
Martin Budden
07dc35d441 Removed mixer and battery config static copies 2017-02-01 13:09:46 +00:00
Martin Budden
79d4b2146d Preparation for conversion to parameter groups 2017-02-01 08:46:19 +00:00
Martin Budden
9dfb3e45ee Add ITerm anti-windup based on motor output saturation
Added noise threshold for PID ITerm accumulation

Removed ITerm setpoint scaler. Added CLI and MSP settings

Made default ITerm noise threshold zero. Added CLI setting.

Removed itermWindupPointPercent from MSP
2017-01-29 01:30:35 +01:00
Martin Budden
8e79e8092e Fixed up whitespace 2017-01-22 22:42:45 +00:00
borisbstyle
8303151a25 Remove DSHOT900 2017-01-10 00:35:03 +01:00
blckmn
61827e6fd0 Adding DSHOT1200 and 900 2017-01-07 09:08:33 +11:00
borisbstyle
a142a80b1f Cleanup unused maxEscThrottleJumpMs 2016-12-30 14:00:11 +01:00
Gary Keeble
70542eabd0 Seperate rcCommand[Throttle] from D-Shot Motor Output 2016-12-23 08:56:13 +00:00
Martin Budden
ae1944b78c Tidy of mixer code. Remove motorCount extern 2016-12-21 08:42:52 +00:00
borisbstyle
64ad632d87 3D Mode Fix // Dshot 3D Mode implementation 2016-11-30 21:12:35 +01:00
borisbstyle
9f762aa88a Convert digital offset to percentage
Bump EEPROM

Fix rounding
2016-11-30 00:55:22 +01:00
J Blackman
25bcaa3a05 Merge pull request #1584 from atomiclama/master-bf
Fixed a problem when the motor count for motorInit came from custom mixer
2016-11-19 17:11:35 +11:00
Bas Delfos
bc1109c546 Use motorCount from mixer.c instead of determine motor count again 2016-11-17 22:04:45 +01:00
atomiclama
d4a81879d8 Fixed a problem when the motor count for motorInit came from a custom
mixer table lookup which was 0.

1. took the motor count from the loading of the custom mixer table.
2. Moved the mixerconfig to before motorInit as motorInit needs the
motorCount.
3. removed pwmIsSynced checks as this was a order of init problem, and
not required as pwmCompleteMotorUpdate protects itself.
2016-11-17 13:28:52 +00:00
Martin Budden
7c8cb3205d Removed trailing spaces 2016-11-11 07:48:00 +00:00
Martin Budden
dea71df659 Converted tabs to spaces 2016-11-11 07:25:20 +00:00
mikeller
ea3291c404 Changed scaling of axisPID to be local to mixer only, since the servos need unscaled axisPID. 2016-11-08 22:38:30 +13:00
borisbstyle
af2a575460 Document 3D for DSHOT and special values 2016-10-28 16:21:03 +02:00
Michael Keller
0a4648c03e Fixed motor value translation to / from MSP for DShot.
Fixed 'stopMotors' (used in 'HardfaultHandler' to actually stop motors with DShot. Also made 'disarmMotorOutput' used consistently.

Renamed functions to be more clear.
2016-10-27 08:31:00 +13:00
borisbstyle
b5a70451ec Merge pull request #1364 from martinbudden/bf_servo_split2
Split mixer and servo code
2016-10-25 13:09:26 +02:00
borisbstyle
f79896b1bd Add DSHOT300
Bool check for dshot protocol

Add dshot300 to init

ident
2016-10-25 13:05:03 +02:00
Martin Budden
31828873fa Split mixer and servo code 2016-10-24 20:58:45 +01:00
borisbstyle
706897c187 Convert mixer to float math 2016-10-20 09:05:52 +02: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
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
blckmn
46a6e560f1 Initial IO remapping capability 2016-10-13 11:08:39 +11:00
Martin Budden
a11d0bdb4d Split escAndServoConfig into motor and servo parts 2016-09-26 19:24:52 +01:00
borisbstyle
7122689038 Merge pull request #1025 from martinbudden/bf_servos
Moved #defines out of mixer function definitions
2016-09-15 01:25:47 +02:00
borisbstyle
ac4732cd03 Merge pull request #979 from martinbudden/bf_features
Split features into a separate module
2016-09-14 00:02:48 +02:00
borisbstyle
05908aad4d Merge branch 'master' into development 2016-09-11 01:16:53 +02:00
borisbstyle
3588623383 Throttle Jump Limit only applied to accelerating situation 2016-09-07 15:42:16 +02:00
borisbstyle
9dd135ec80 Add back ESC jump limit // revert p weight limit 2016-09-06 22:02:55 +02:00
Martin Budden
9a4d975077 Moved #defines out of mixer function definitions 2016-09-04 18:56:27 +01:00
Martin Budden
a257210b56 Split features into a separate module 2016-09-04 18:48:58 +01:00