1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 12:55:19 +03:00
Commit graph

15191 commits

Author SHA1 Message Date
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
Cheng Lin
535eb520f0 add set pinio 1 box as pit mode switch
update cc2500:

update from upstream
2019-09-05 16:22:27 -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
Michael Keller
62f0eb7ed3
Merge pull request #8829 from IvoFPV/remove-dshot1200
Remove dshot1200 in SPEEDYBEE F7 and in dshot bitbang
2019-09-06 07:48:27 +12:00
Cheng Lin
09b0937338 add set pinio 1 as pit mode switch for TALONF7FUSION unified target
update cc2500:

update from upstream
2019-09-05 15:32:09 -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
Michael Keller
1a56a51efe
Merge pull request #8817 from mikeller/add_rpm_filter_to_msp
Added the parameters for RPM filtering to MSP.
2019-09-06 00:54:32 +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
Michael Keller
2553a4a1f9
Merge pull request #8818 from TheIsotopes/patch-1
Remove DShot1200 Protocol Part2
2019-09-05 09:17:19 +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
5a9969a433
Added manufacturer id for Racerstar. (#8807)
Added manufacturer id for Racerstar.
2019-09-05 01:54:16 +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
Michael Keller
0d62e71a8c
Merge pull request #8779 from joelucid/bfdev-bbshot-master
GPIO Bit-banging Dshot with GCR Telemetry
2019-09-04 21:09:28 +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
Michael Keller
37b059532f
Merge pull request #8792 from jflyper/bfdev-fix-servo-to-write-...
Write forward only servos
2019-09-03 23:59:24 +12:00
mikeller
5e469fdde2 Added manufacturer id for Racerstar. 2019-09-03 23:42:42 +12:00
Michael Keller
dd8d7b0be2
Changed Unified Target custom defaults to use sector 0 memory. (#8797)
Changed Unified Target custom defaults to use sector 0 memory.
2019-09-03 23:34:10 +12:00
mikeller
802c053e4e Removed Dshot1200 protocol. 2019-09-03 23:00:01 +12:00
Thorsten Laux
1a4c42aabc change transient throttle limit to 0 2019-09-03 12:38:12 +02:00
jflyper
a5c4c8c21f Refactor tripcopter case 2019-09-03 15:10:06 +09:00
azolyoung
86e79b2216 add speedybee f7 2019-09-03 12:01:59 +08:00
Michael Keller
c25a526d15
Merge pull request #8790 from mikeller/extend_configuration_status
Extended configuration status to accommodate custom defaults.
2019-09-03 13:19:08 +12:00
mikeller
1c8cfbd241 Extended configuration status to accommodate custom defaults. 2019-09-03 09:57:43 +12:00
mikeller
460c16d57d Changed Unified Target custom defaults to use sector 0 memory. 2019-09-02 21:16:26 +12:00
ctzsnooze
f61a940a05 Set default dyanmic notch range to medium
In 4.0x the dynamic notch range was set by default to AUTO mode.

This would set range to low, medium or high based on the dynamic lowpass max setting, which the user was supposed to configure to suit the maximum rpm of the quad.

In 4.1 we are moving the maximum value of the dynamic gyro lowpass very high whenever the rpm filter is enabled.  And, generally, it is OK to do this even on non-rpm quads.

The problem then becomes that the dynamic notch quietly shifts itself to HIGH mode, and that can cause it to not track ordinary frame and prop resonances like it should.

I think it will be better overall in medium mode, which works best for most quads out of the box.  Users of very high RPM quads can choose high.  XClass quads or machines with low frequency resonance should choose low, and should set the dyn_notch_min_hz value low enough to reach the resonant peak.
2019-09-02 15:50:10 +10:00
Michael Keller
227f6f76a2
Merge pull request #8769 from mikeller/add_custom_defaults_to_msp
Added support for resetting to custom defaults to MSP.
2019-09-02 08:50:29 +12:00
Michael Keller
161c7840be
Added announcement of the feature freeze for 4.1, updated the n… (#8791)
Added announcement of the feature freeze for 4.1, updated the new tar…
2019-09-02 08:49:00 +12:00
jflyper
e9c951ea51 Write forward only servos after gimbal servos
Servos marked as forwarded from RC channels and not written previously
should be written after gimbal servos and before forwarding by
FEATURE_CHANNEL_FORWARDING.
2019-09-02 02:34:18 +09:00
mikeller
3459e9e214 Added announcement of the feature freeze for 4.1, updated the new target rules. 2019-09-02 00:28:54 +12:00
Michael Keller
dc73f3f527
Merge pull request #8783 from ctzsnooze/Increase-FeedForward-Default
FF defaults increased to 90's
2019-09-01 23:52:35 +12:00
ctzsnooze
445122a997 FF defaults increased to 90's
Higher feed forward improves stick responsiveness and reduces bounce back on lower authority quads.

Feed forward defaults in 4.0 were slightly conservative even for typical quads.

In association with ff_boost and ff_max_rate_limit, overshoot with even higher feed forward is less of a problem than before.

I think these values should be about right for 4.1
2019-09-01 20:06:06 +12:00
mikeller
36dc7306e2 Merge branch 'fix_custom_defaults_addresses' into add_custom_defaults_to_msp 2019-09-01 20:03:57 +12:00
Michael Keller
1585b4a31a
Merge pull request #8784 from ctzsnooze/Static-lowpass1-to-match-min
Set default static lowpass1 gyro value to the same as default gyro lowpass1 min
2019-09-01 15:43:28 +12:00
Michael Keller
a835939ddd
Increase iTerm defaults slightly for 4.1 (#8785)
Increase iTerm defaults slightly for 4.1
2019-09-01 15:42:36 +12:00