mikeller
b489d0ba9d
Renamed 'parameter_group' to 'pg'.
2017-12-19 23:36:31 +13:00
Martin Budden
d0a77bc917
Keep ITerm zero for 250ms after motor reversal in 3D mode
2017-12-01 21:36:32 +00: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
Michael Keller
ce824a60d6
Fixed mixer for 3D / Dshot. ( #4161 )
2017-09-17 15:45:39 +01: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
mikeller
91ffa4b88c
Fixed Dshot command sending to all motors.
2017-08-23 01:59:34 +12:00
Martin Budden
554bd1257d
Reduced MAX_SUPPORTED_MOTORS from 12 to 8
2017-07-29 21:28:54 +01:00
mikeller
b20ede5165
Added command 'motor 255' (all motors) to CLI.
2017-07-09 17:41:39 +12:00
borisbstyle
4ff7b9394b
mixTable() separation for readability
2017-07-05 13:43:02 +02:00
borisbstyle
277755a719
Separate 3D state checks from mixTable() function for readability
2017-07-05 09:50:36 +02:00
Michael Keller
779823fb79
Cleaned up Dshot naming, containment.
2017-06-25 18:20:29 +12:00
borisbstyle
b21877438e
Convert motor values at the final stage // Increase resolution
2017-06-19 09:51:17 +02:00
mikeller
991e69974f
Added more mixer optimisations from #2898 .
2017-04-23 18:26:06 +12:00
Michael Keller
40a2bee492
Made float parameter calculation static.
2017-04-21 13:18:23 +12:00
Martin Budden
37c9d3c47e
Improved ITerm windup handling for tricopter
2017-04-11 22:50:03 +01:00
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
mikeller
bed980bb27
Changed direction parameters into boolean to ensure a direction is defined.
2017-03-27 21:21:01 +13:00
borisbstyle
16309b1a2c
Merge pull request #2393 from mikeller/added_dshot_esc_command_support
...
Added support for DShot ESC settings to CLI.
2017-03-02 22:52:06 +01:00
Martin Budden
c92679f454
Added PG config definitions 4
2017-02-25 18:19:56 +00:00
mikeller
85b002bb73
Added support for DShot ESC settings to CLI.
2017-02-20 12:45:44 +13: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
Martin Budden
f6c8319361
Removed a number of static config pointers
2017-02-02 10:41:19 +00: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
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
Martin Budden
d85eed0933
Move freestanding masterConfig items into structs
2016-11-24 17:34:05 +00: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
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
blckmn
4e529642d1
Initial implementation of DSHOT protocol (600 and 150)
2016-10-18 19:38:18 +11: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
Martin Budden
9a4d975077
Moved #defines out of mixer function definitions
2016-09-04 18:56:27 +01:00
Martin Budden
1c997abaaf
Moved function declarations out of main. Tidied drivers.
2016-08-02 15:11:35 +01:00
borisbstyle
37fd2e5adc
Initial PID controller separation // Betaflight pidc for future development
2016-07-18 01:34:07 +02:00
blckmn
68026f7c3e
fix PWM remaining active on soft reset.
2016-07-10 07:45:03 +10:00
blckmn
897aab9c86
2.8.1 changes ready for merge
2016-06-19 09:42:30 +10:00