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
blckmn
51a99e74c6
STM32F4: USARTS 4,5,6 added
...
Flag initialisation for motor_pwm_protocol
Fixes for AlienFlightF4 and timers
2016-06-08 05:43:28 +10:00
borisbstyle
77dc19e9d9
Fix Fast PWM synced update for non ONESHOT125
2016-06-02 10:38:33 +02:00
borisbstyle
a3c1f6e168
Add Back Iterm limit for saturation scenarios
2016-06-01 20:59:11 +02:00
borisbstyle
aa61bd4fb4
Replace yaw_jump_prevention_limit by D gain for yaw // new defaults based on flight tests
2016-05-24 21:47:57 +02:00
borisbstyle
ff5c320b4a
Iterm reset rework // Airmode Iterm Protection Configurable // Dynamic Ki
...
New defaults
2016-05-23 23:57:32 +02:00
borisbstyle
9e5c5e88c7
Rework Fast PWM protocol configuration and timing
2016-05-07 00:58:38 +02:00
borisbstyle
29865701da
Change Filter lowpass Frequency to int
2016-05-03 11:43:56 +02:00
borisbstyle
6e96adff0d
Scheduled motor refresh rate
2016-02-28 20:23:30 +01:00