1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 04:45:24 +03:00
Commit graph

10835 commits

Author SHA1 Message Date
Michael Keller
a20bcbadd4
Merge pull request #5313 from AndersHoglund/quickfix_power_index
VTX common, Revert power index change made in PR 4879.
2018-03-02 04:09:40 +13:00
Michael Keller
372f527476
Merge pull request #5339 from mikeller/fix_osd_stat_datetime_cli
Added missing `osd_stat_rtc_date_time` to CLI.
2018-03-01 02:22:56 +13:00
Michael Keller
1453a348b7
Merge pull request #5337 from etracer65/runaway_takeoff_cleanup
Runaway Takeoff remove unneeded parameters and enhance deactivate logic
2018-03-01 02:22:22 +13:00
Michael Keller
997df8615c
Merge pull request #5336 from jflyper/bfdev-moscow-night
Core temperature can be negative
2018-03-01 02:21:41 +13:00
Michael Keller
76cd819e90
Merge pull request #5334 from AlienWiiBF/PIKOBLX
FF_PIKOBLX enable DMAR by default and LED stripe DMA remap to aviod collision.
2018-03-01 02:21:01 +13:00
Michael Keller
9893c8c40c
Merge pull request #5327 from etracer65/fix_ppm_bootgrace_warning
Change rx data processing to ensure updateArmingStatus() is called periodically
2018-03-01 02:20:15 +13:00
Michael Keller
68caf5b535
Merge pull request #5294 from nyway/master
Add camera control pin define of the DALRCF405 target
2018-03-01 02:14:52 +13:00
mikeller
d110ba6caf Added missing osd_stat_rtc_date_time to CLI. 2018-03-01 01:28:19 +13:00
Bruce Luckcuck
449f5f2f5c Runaway Takeoff remove unneeded parameters and enhance deactivate logic
Removed parameters runaway_takeoff_threshold (hardcode to 60) and runaway_takeoff_activate_delay (hardcode to 75).  The previous default values worked well and required no tuning.

Enhance the deactivate logic to remove the R/P/Y stick activity condition once throttle reaches 2X runaway_takeoff_deactivate_throttle_percent.  Additionally reduce the runaway_takeoff_deactivate_delay by 50% when throttle exceeds 75%.
2018-02-27 19:22:33 -05:00
jflyper
122a967c24 Core temperature can be negative 2018-02-28 08:06:53 +09:00
MJ666
e6f93f2f91 FF_PIKOBLX enable DMAR by default and LED stripe DMA remap to aviod
collision.
2018-02-27 20:09:19 +01:00
Bruce Luckcuck
42e8f63e2a Change rx data processing to ensure updateArmingStatus() is called periodically
There was an issue in that if no data from PPM or PWM rx inputs would result in processRx() exiting prematurely and updateArmingStatus() not being called. This affected processing of boot grace timeouts, cpu load arming disabled checking, etc.  This change forces updates to occur no less frequently than 50Hz even if no data is available.
2018-02-26 19:33:40 -05:00
nyway
963c423acd add camera contro pin define
Add camera contro pin define PA5.
Can use for pwm or dac in fureture

Fixed DALRCF405 DMA assignments.

Fixed DALRCF405 DMA assignments.
2018-02-26 14:54:18 +08:00
Anders Hoglund
46ce32e719 VTX common, Revert power index change made in PR 4879r. 2018-02-25 20:27:08 +01:00
Michael Keller
b0ff928afd
Merge pull request #5296 from azolyoung/disable_runcam_camera_control_in_runaway_takeoff_status
disable runcam camera control in runaway takeoff status
2018-02-26 01:40:53 +13:00
azol
2d84608daa disable runcam camera control in runaway takeoff status 2018-02-25 13:26:36 +08:00
Michael Keller
a8d188ce1c
Merge pull request #5299 from etracer65/runaway_takeoff_disable_stick_commands
Disable stick command processing while ARMING_DISABLED_RUNAWAY_TAKEOFF is set
2018-02-25 10:22:39 +13:00
Bruce Luckcuck
2610344266 Disable stick command processing while ARMING_DISABLED_RUNAWAY_TAKEOFF is set
Addresses the rare possibility that if runway takeoff triggers and disarms while the pilot has the sticks in some valid stick command configuration. Prevents the stick command from processing until the craft is disarmed and the ARMING_DISABLED_RUNAWAY_TAKEOFF condition is cleared.

For example, if the pilot was mid throttle and went full yaw right and runway takeoff triggered, then camera control would have be entered.
2018-02-24 09:29:19 -05:00
Michael Keller
aec34a2b26
Merge pull request #5246 from Faduf/Kalman_2_YUPIF4
Add kalman filter to YupiF4
2018-02-24 22:32:20 +13:00
Michael Keller
087fa9453a
Merge pull request #5284 from etracer65/fix_gyro_overflow_check_filtered_data
Change gyro_overflow_detect to use filtered instead of raw gyro data - 2nd try
2018-02-24 18:54:04 +13:00
Michael Keller
9e28cbd341
Merge pull request #5290 from AndersHoglund/fix_failsafe_vtx_power
VTX low power on disarm correction
2018-02-24 18:53:14 +13:00
Michael Keller
9b8bb15e2d
Merge pull request #5288 from krankenreif/kakutef4_osd_fix
Added MAX7456_SPI_CLOCK define and MAX7456_RESTORE_CLK to KAKUTEF4 target
2018-02-24 18:52:31 +13:00
Michael Keller
e28cf9dbca
Merge pull request #5291 from etracer65/fix_3d_on_switch
Fix 3D on a switch throttle inversion/scale
2018-02-24 18:34:54 +13:00
Bruce Luckcuck
ea3184c265 Fix 3D on a switch throttle inversion/scale
There was a logic inversion when 3d_switched_mode = ON causeing the motor directions to be inverted.  Also the trottle scaling for reverse thrust was being applied twice from both the 3d_switched_mode = ON and 3d_switched_mode = OFF sections.
2018-02-23 12:18:37 -05:00
Anders Hoglund
deb3851b89 VTX low power on disarm correction, made it conditional on failsafe. Keep VTX power up when in failsafe. 2018-02-23 13:50:15 +01:00
krankenreif
e008afdb01 Added MAX7456_SPI_CLOCK define and MAX7456_RESTORE_CLK 2018-02-23 12:37:20 +01:00
Michael Keller
a8f28b8973
Merge pull request #5269 from mikeller/fixed_fport_efficiency
Fixed efficiency of FPort protocol.
2018-02-23 21:32:28 +13:00
Michael Keller
4b88fc17ce
Merge pull request #5278 from betaflight/cf-changes-3
CF/BF - Fix incorrect ACC sensor name for ICM20608G.
2018-02-23 20:58:06 +13:00
Michael Keller
58fd1726ce
Merge pull request #5280 from betaflight/cf-changes-5
CF/BF - STMF72x - Ensure SRAM2 is unused and not part of 'RAM' linker section.
2018-02-23 20:50:41 +13:00
Michael Keller
f156ffa30e
Merge pull request #5281 from betaflight/cf-changes-6
SPRACINGF4EVO - Use ADC3 instead of ADC1
2018-02-23 20:46:10 +13:00
Michael Keller
db409d6d56
Merge pull request #5282 from betaflight/cf-changes-7
Fix 'fade' may be uninitialised warning in Spektrum RSSI handling.
2018-02-23 20:09:17 +13:00
Michael Keller
994c468a69
Merge pull request #5268 from mikeller/fix_osd_warnings
Fixed OSD warnings overlap to the right.
2018-02-23 20:06:02 +13:00
mikeller
c89f87018b Fixed OSD warnings overlap to the right. 2018-02-23 19:36:22 +13:00
Bruce Luckcuck
e9686c0ef8 Change gyro_overflow_detect to use filtered instead of raw gyro data - 2nd try
Noise and momentary spikes in gyro data (particularly in 32K mode) were causing false triggering of the gyro overflow detection. Changing to using filtered instead of raw gyro data eliminates the false triggering.

Also adjusted the trigger and reset rates slightly (approx. 1950dps and 1850dps respectively).

Fixed bug for gyros that may not be +-2000dps full scale. The trigger threshold will be 97.5% full-scale and reset at 92.5% (corresponds to 1950 and 1850 for 2000dps gyros).
2018-02-22 18:56:15 -05:00
Dominic Clifton
4e6965d869 Fix 'fade' may be uninitialised warning in Spektrum RSSI handling. 2018-02-22 20:10:10 +01:00
Dominic Clifton
c7917469e9 SPRACINGF4EVO - Use ADC3 instead of ADC1 2018-02-22 19:40:13 +01:00
Hydra
350813563c CF/BF - STMF72x - Ensure SRAM2 is unused and not part of 'RAM' linker section. 2018-02-22 19:33:57 +01:00
Hydra
f0e06fcb58 CF/BF - Fix incorrect ACC sensor name for ICM20608G.
It was missing the 'G' suffix when compared to the gyro names.  Now the
two sensor name strings can be de-duplicated by the linker.
2018-02-22 19:32:53 +01:00
mikeller
bd4c970328 Fixed efficiency of FPort protocol. 2018-02-23 01:58:50 +13:00
Michael Keller
9d7c8fbd46
Merge pull request #5266 from etracer65/ledstrip_optimization
Optimize ledstip by disabling unassigned overlays
2018-02-22 23:38:29 +13:00
Michael Keller
93111cf440
Merge pull request #5253 from etracer65/crash_flip_osd_warning_fix
Change crash-flip OSD message to track actual state rather than switch
2018-02-22 23:36:43 +13:00
Michael Keller
46ba32b794
Merge pull request #5258 from stellarhopper/fix-clean_all
Makefile: fix clean_all trying to cleean SKIP_TARGETS
2018-02-22 17:20:52 +13:00
Bruce Luckcuck
539cc19c32 Optimize ledstip by disabling unassigned overlays
The current design continuously runs timer loops for all overlays regardless of whether or not any LEDs are actually using the overlay.  Then each overlay function iterates through all configured LED's to apply if needed.

This optimization "looks ahead" and turns off any overlays that are not assigned to any LEDs.  The most optimization is achieved when no overlays are used, and regresses to match the current performance level if every overlay is assigned.
2018-02-21 19:44:37 -05:00
Vishal Verma
2074dbb004
Makefile: fix clean_all trying to cleean SKIP_TARGETS
clean_all or all_clean were trying to clean SKIP_TARGETS too, resulting
in:

    make/targets.mk:15: *** The target specified, ALIENWHOOP, cannot be
        built. Use one of the ALT targets: ALIENWHOOPF4 ALIENWHOOPF7.  Stop.

Remove SKIP_TARGETS from the clean lists.
2018-02-21 11:12:50 -07:00
Bruce Luckcuck
4185756baf Change crash-flip OSD message to track actual state rather than switch
Previously the OSD crash-flip warning would only track the state of the activation switch.  So if the switch was disabled but still armed the message would go away, but the quad was still in active crash-flip mode until it was disarmed.  This change makes the OSD message follow the actual internal state for crash-flip.
2018-02-21 08:19:59 -05:00
Michael Keller
dbdeb7b445
Merge pull request #5239 from etracer65/reorder_arming_disabled_flags
Reordered arming disabled flags to give runaway takeoff a higher priority
2018-02-22 01:27:48 +13:00
Michael Keller
bdd408354f
Merge pull request #5236 from etracer65/runaway_takeoff_gyro_threshold
Add gyro rate checking to runaway takeoff activation to improve bench testing
2018-02-22 00:48:15 +13:00
Michael Keller
7df3f01b36
Merge pull request #5242 from AndersHoglund/spektrum_cms_tm_perf
Spektrum CMS over TM performance increase.
2018-02-22 00:47:04 +13:00
Michael Keller
f75c07959b
Merge pull request #5247 from etracer65/fix_gyro_lpf_reset_gyro_rate
Removed duplicate legacy gyro_lpf validation from msp.c
2018-02-22 00:42:32 +13:00
Michael Keller
f19761f74e
Merge pull request #5252 from betaflight/revert-5250-fix-clean_all
Revert "Makefile: fix clean_all trying to clean SKIP_TARGETS"
2018-02-22 00:08:06 +13:00