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
Michael Keller
17df76e63b
Merge branch 'master' into development
2016-08-18 12:12:46 +12:00
Zap Andersson
f936b92c64
Fix whitespaces - again
...
Damned editor and their damned tabs. Tabs should be nuked from orbit!
2016-08-17 22:51:02 +02:00
Zap Andersson
522048c8f2
Fixed whitespace
2016-08-17 22:45:04 +02:00
Zap Andersson
2be9e6c0fe
Fix throttle stick deadband behaviour in 3D Mode
2016-08-17 22:41:49 +02:00
Martin Budden
541f4d4018
Directory rearrangement to reflect cleanflight changes
2016-08-07 13:44:00 +01:00
borisbstyle
c11c50287e
Finalisation of Betaflight PID controller // RC smoothing added back
2016-07-28 00:54:40 +02:00
borisbstyle
0ae5d9734e
Add option to fully disable PID controller on zero throttle
2016-07-18 02:23:14 +02:00
borisbstyle
37fd2e5adc
Initial PID controller separation // Betaflight pidc for future development
2016-07-18 01:34:07 +02:00
borisbstyle
9c50ed8769
anti desync depricated // Replaced by motor_accel_limit
2016-07-17 21:35:04 +02:00
borisbstyle
2d6e0da773
Minor cleanup
...
Fix for integer PIDC
2016-07-17 21:16:00 +02:00
blckmn
3126551832
Fixed use_unsyncedpwm inversion issue
2016-07-17 07:32:53 +10:00
borisbstyle
4fff6c89bf
Merge pull request #684 from rav-rav/notch
...
Smoother filtering (additional notch filter)
2016-07-16 10:30:47 +02:00
blckmn
35ad4c4938
tabs to spaces
2016-07-10 07:50:00 +10:00
blckmn
68026f7c3e
fix PWM remaining active on soft reset.
2016-07-10 07:45:03 +10:00
Martin Budden
ea283ab98c
Converted tabs to spaces
2016-07-09 14:39:39 +01:00