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

12294 commits

Author SHA1 Message Date
ctzsnooze
e1a8a80584 fixes for ff_boost
1.  Excludes yaw from ff_boost.
2.  Removes suppression for 3x greater up-steps in FF to reduce boost glitching around zero sticks
3.  Spike detection gets cleaner passband and tighter rejection above threshold; higher threshold is now possible with better suppression of large spikes.
2019-09-10 19:11:04 +10:00
mikeller
672a1f737f Removed unavailable timers from STM32F411. 2019-09-10 15:36:56 +12:00
Michael Keller
aeaf1acf4d
Add dyn notch to blackbox header (#8856)
Add dyn notch to blackbox header
2019-09-10 15:18:50 +12:00
Michael Keller
d5897528ed
Fix F411 pacing timer selection (#8853)
Fix F411 pacing timer selection
2019-09-10 15:16:00 +12:00
Michael Keller
99bd45d13c Added target specific defines for bitbanged Dshot. 2019-09-10 13:40:10 +12:00
mikeller
2b98f137db Fixed problems with bitbanged Dshot and lazily allocated timers. 2019-09-10 01:48:25 +12:00
Michael Keller
91b4129a48
Fix the problem of multiple timer allocations with bitbanged Ds… (#8852)
Fix the problem of multiple timer allocations with bitbanged Dshot.
2019-09-10 01:06:31 +12:00
Michael Keller
167b9f2e96
Fixed 'sd_info' showing incorrect information when SD card not… (#8849)
Fixed 'sd_info' showing incorrect information when SD card not configured.
2019-09-09 23:28:35 +12:00
Michael Keller
a979e424b6
Fix problem with empty string set as 'manufacturer_id'. (#8848)
Fix problem with empty string set as 'manufacturer_id'.
2019-09-09 23:26:37 +12:00
IvoFPV
7ff7db67a3 Add dyn notch to blackbox header 2019-09-09 00:29:06 +02:00
Thorsten Laux
81f80636f0 Fix F411 pacing timer selection 2019-09-08 19:05:12 +02:00
Michael Keller
33df35c2d3
Merge pull request #8843 from joelucid/fix_dshot_600
fix dshot_600 with dshot bitbang
2019-09-09 00:57:26 +12:00
Michael Keller
171535aaf5
Merge pull request #8842 from ctzsnooze/ff_spike_suppression
Small modification to ff boost to improve spike suppression
2019-09-09 00:56:19 +12:00
mikeller
4acf0893df Fix the problem of multiple timer allocations with bitbanged Dshot. 2019-09-09 00:48:02 +12:00
mikeller
7018c81bf1 Fixed 'sd_info' showing incorrect information when SD card not configured. 2019-09-08 13:55:18 +12:00
mikeller
c14a388687 Fix problem with empty string set as 'manufacturer_id'. 2019-09-08 13:22:46 +12:00
Michael Keller
f331cb3dd1
Merge pull request #8839 from joelucid/fix_dshot_cmd
use driver independent motor count
2019-09-08 12:41:39 +12:00
ctzsnooze
633f404855 change debug scales 2019-09-08 01:29:44 +10:00
Thorsten Laux
f9da3ea755 fix dshot_600 2019-09-07 07:31:34 +02:00
ctzsnooze
e381b27b9c Small modification to ff boost spike suppression
The feed forward boost concept improves stick response by adding a stick acceleration factor to feed forward. Generating spikes when there are steps in the RC signal is the main problem.
This PR makes one small change to how the spike suppression method is determined.
It no longer uses the 'jerk' signal to generate the spike suppression 'clip' value.  Instead it just uses the magnitude of the boost signal itself.
We originally used jerk because it is more sensitive to spikes. Detailed testing shows that jerk is that it has an unwanted impact one full RC step after the spike.
If we use the boost (acceleration) signal as the attenuator, that delayed impact does not occur, making the boost component more precise.
The threshold value for suppression needs to be a bit higher to achieve equivalence.
I've re-named the function to reflect it being related to spike suppression and removed 'jerk' since we aren't using that any more.
2019-09-07 11:22:06 +10:00
Michael Keller
b4a9f9e878
Merge pull request #8796 from ctzsnooze/Set-default-dynamic-filter-range
Set default dyanmic notch range to medium
2019-09-07 12:28:13 +12:00
Michael Keller
a072f6200b
busBusy for SPI in program I/O mode should always return false (#8835)
busBusy for SPI in program I/O mode should always return false
2019-09-07 12:19:55 +12:00
Michael Keller
cf0e81ec4b
Merge pull request #8834 from etracer65/target_furyf4_add_mag
Add missing MAG support for FURYF4 and FURYF4OSD targets
2019-09-07 12:19:11 +12:00
Michael Keller
c3b490b40f
Optimize ledstrip DMA buffer update and bug fix (#8830)
Optimize ledstrip DMA buffer update and bug fix
2019-09-07 12:17:36 +12:00
Michael Keller
8639fb88a6
Merge pull request #8828 from joelucid/fix_esc_telemetry
Fix serial esc telemetry with bitbang dshot
2019-09-07 12:16:31 +12:00
Thorsten Laux
ccf7ce964a use driver independent motor count 2019-09-06 16:43:57 +02:00
Bruce Luckcuck
9889e59f78 Remove deprecated CLI name command
Functionality replaced with `set name = ` syntax.
2019-09-06 09:06:54 -04:00
Michael Keller
db66284567
Bugfix: Vario GPS and 3D Total Distance overflow (#8827)
Bugfix: Vario GPS and 3D Total Distance overflow
2019-09-06 19:48:25 +12:00
Michael Keller
0a5c758bae
Merge pull request #8826 from joelucid/fix_rpm_reinit
Allow rpm filter to be reinitialized with new settings
2019-09-06 19:48:03 +12:00
Michael Keller
1298d3d4c9
Merge pull request #8825 from jflyper/bfdev-fix-MOTOR_MSP-hard-fault-with-no-motors
Provide isMotorEnabled function for motorNullDevice
2019-09-06 19:47:48 +12:00
Michael Keller
dd89313b7b
Add RPM Filter, FF and Iterm Relax values to the Blackbox header (#8824)
Add RPM Filter, FF and Iterm Relax values to the Blackbox header
2019-09-06 19:47:35 +12:00
jflyper
a3b1ad9e13 SPI in program I/O mode should always return false 2019-09-06 11:15:42 +09:00
Bruce Luckcuck
24a702eb46 Add MAG support for FURYF4 and FURYF4OSD targets 2019-09-05 17:00:47 -04:00
Bruce Luckcuck
e1f10b0430 Optimize ledstrip DMA buffer update to reduce task processing time
Previous logic was updating updating the DMA buffer for all possible LED positions (32) regardless of how many were used. Since there are 24 bytes per LED, this performed a lot of unnecessary processing in cases where the user had less than 32 LEDs configured.

Also includes a bug fix in that if the LED count was decreased (like making changed using the Configurator LED tab), the now unused LEDs at the end of the string would remain on at the last color applied. Now they will be properly turned off. The bug was minor as it was resolved by a reboot, but made setup using the Configurator confusing since changes made are reflected when the user clicked the "Save" button (which does not reboot).
2019-09-05 16:10:19 -04:00
IvoFPV
acc3198ada Remove dshot1200 in SPEEDYBEE F7 2019-09-05 20:08:33 +02:00
Michael Keller
ac5cf5a417
Merge pull request #8803 from azolyoung/add-speedybee-f7-target
add speedybee f7
2019-09-06 01:41:08 +12:00
Thorsten Laux
3d9541eea0 Allow rpm filter to be reinitialized with different settings 2019-09-06 01:13:19 +12:00
Michael Keller
44f0fb577c
Merge pull request #8816 from mikeller/add_scheduler_optimize_rate_auto
Added 'auto' setting for 'scheduler_optimize_rate'.
2019-09-06 01:11:42 +12:00
Thorsten Laux
b6b2b90f38 Fix serial esc telemetry with bitbang dshot 2019-09-05 11:13:25 +02:00
Tony Cabello
1406b068e2 Bugfix: Vario GPS and 3D Total Distance overflow 2019-09-05 09:33:01 +02:00
jflyper
eac1565987 Provide isMotorEnabled function pointer to motorIsEnabledNull for motorNullVTable
Also suppress call to this function from MSP_MOTOR when motors are not
present by inquiring motorIsEnabled first.
2019-09-05 16:24:52 +09:00
Miguel Angel Mulero Martinez
5f8919eb98 Add RPM Filter, FF and Iterm Relax values to the Blackbox header 2019-09-05 08:44:57 +02:00
mikeller
224e3e2c9a Added 'auto' setting for 'scheduler_optimize_rate'. 2019-09-05 15:25:22 +12:00
mikeller
3f0f3ab685 Added the parameters for RPM filtering to MSP. 2019-09-05 12:31:40 +12:00
TheIsotopes
077fed23ee
Remove DShot1200 Protocol Part2
has crept in with #8736
2019-09-04 17:04:46 +02:00
Michael Keller
75447ef2b8
Merge pull request #8736 from joelucid/ff2_1
various ff2_0 improvements
2019-09-05 02:14:23 +12:00
Michael Keller
d6c5b9824c
Removed Dshot1200 protocol. (#8806)
Removed Dshot1200 protocol.
2019-09-05 02:08:45 +12:00
Michael Keller
2432ed0356
Merge pull request #8804 from joelucid/no_transient
change transient throttle limit default to 0
2019-09-04 23:33:49 +12:00
Thorsten Laux
5855b275f4 various ff2_0 improvements
simplify

double period averaging

fix calc

ff changes

in between

fixes

clip * clip and cleanup

address review feedback

more review feedback

10 to 100
2019-09-04 23:08:02 +12:00
jflyper
adf6fd1764 DMA bit banging Dshot, first cut
F405 working (OMNIBUSF4SD target)
F411 not tested
F722 working, needs testing (OMNINXT7 target)
F74x not working

NOX target (temporary)

bb_dshot with telemetry on f4
bbshot f7 targets and fix crash due to missing debug pins

remove empty line

add empty lines

remove OMNIBUSF4 specific debug pins

add missing comma

add missing comma

Use separate bbTimerHardware array to fix unified targets

eliminate now unneeded timerGetByUsage

don't duplicate timer1 def

Add auto mode, rename dshot_bbshot to dshot_bitbang

remove newline

renamve various files

various changes to address feedback

address feedback

address feedback

add pacer timers to timer show

don't disable telemetry if dshot_bitbang is on or auto

Address feedback, add faster decode implementation based on bit banding, modify dma parameters to reduce required memory bandwidth on half

remove debug output

remove NOINLINE

Protect gpio direction change with critical sections

FIXWS_SAVE_INDEX

add static back in

no forward typedef

address review feedback

disallow proshot1000 with dshot bitbang

Extracted and plumbed up 'dbgPin'.
2019-09-04 16:06:48 +12:00