Commit Graph

12662 Commits

Author SHA1 Message Date
Bruce Luckcuck 38c940c11e Improve behavior of OSD warnings element blinking
Previously the logic to blink the warnings element was based on whether batteryState was either BATTERY_WARNING or BATTERY_CRITICAL. The problem is that the warning element might be displaying a higher priority message that shouldn't blink.

Changes the logic to have the blinking based on the actual warning message displayed.

In addition to the battery warning/critical cases, added blinking for some other critical warnings like failsafe, CPU core temp warning, ESC sensor warnings, HEADFREE mode active, and RC smoothing not initialized.
2018-11-07 18:35:32 -05:00
Michael Keller 0ad3fbb5fc
Merge pull request #7026 from mikeller/fix_3d_crash_flip
Fixed crash flip with 3D enabled.
2018-11-07 13:04:49 +13:00
mikeller ff8b2aa451 Fixed '3d_switched_mode' case. 2018-11-07 02:58:25 +13:00
mikeller ea99f7785b Fixed crash flip with 3D enabled. 2018-11-07 02:55:29 +13:00
Michael Keller f729f3fc6d
Merge pull request #7046 from mikeller/change_rc_rate_minimum
Changed RC rate minimum to be 0.01.
2018-11-07 02:00:53 +13:00
Michael Keller 83cc94ec9d
Merge pull request #7048 from dthakur/patch-1
Minor comment fix
2018-11-06 07:47:41 +13:00
Divya Thakur 852cfe59fb
Minor comment fix
1.5 -> 150% not 120%
2018-11-05 08:21:25 -08:00
Michael Keller c2ec0caf4a
Merge pull request #7045 from mikeller/fix_stm32f3discovery_flash_overflow
Fixed flash overflow on STM32F3DISCOVERY.
2018-11-06 01:26:19 +13:00
mikeller 570a0f7882 Changed RC rate minimum to be 0.01. 2018-11-05 23:27:42 +13:00
mikeller 8fecd1422b Fixed flash overflow on STM32F3DISCOVERY. 2018-11-05 23:08:07 +13:00
Michael Keller 56b1c08561
Merge pull request #7039 from TonyBlit/gps_rescue_positive_seconds
GPS Rescue: sanity check counters are now always in positive seconds
2018-11-05 22:37:48 +13:00
Tony Cabello 35f6c30289 GPS Rescue: sanity check counters are now always in positive seconds 2018-11-04 21:28:50 +01:00
Michael Keller a9cef3e244
Merge pull request #7038 from mikeller/reduce_spracingf3_flash_size
Removed features from SPRACINGF3 to make the firmware fit into flash.
2018-11-05 08:13:02 +13:00
mikeller ea06ec7962 Removed features from SPRACINGF3 to make the firmware fit into flash. 2018-11-04 15:54:02 +13:00
Michael Keller 3492bcff3d
Merge pull request #7028 from mikeller/add_crash_flip_led_warning
Added 'crash flip active' to the list of warnings to be shown on LED_STRIP.
2018-11-04 14:52:40 +13:00
Michael Keller a815486d56
Merge pull request #7006 from etracer65/dynfilter_throttle_update_optimize
Optimize throttle-based dynamic filter cutoff updates
2018-11-04 13:54:52 +13:00
Michael Keller 863ee8d114
Merge pull request #7034 from etracer65/level_mode_crash_recovery_delay
Prevent crash recovery detection immediately after entering self-level or GPS Rescue modes
2018-11-04 13:38:17 +13:00
mikeller 79fd505a8c Changed warning to only be shown when armed. 2018-11-04 13:37:39 +13:00
Michael Keller 887eada818
Merge pull request #7032 from etracer65/gps_rescue_yaw_rate
Reduce GPS Rescue max yaw rate
2018-11-04 13:15:58 +13:00
Michael Keller 50cd9a5f89
Merge pull request #7035 from etracer65/runaway_takeoff_throttle_pct
Reduce runaway takeoff deactivate throttle to 20%
2018-11-04 13:15:22 +13:00
Michael Keller 30b30566d7
Merge pull request #7036 from mikeller/fix_led_overlay_order
Fixed ordering of the LED_STRIP overlays.
2018-11-04 13:01:34 +13:00
Michael Keller 7ec824ddf9
Merge pull request #7037 from mikeller/make_firmware_fit_into_flash
Removed features from BETAFLIGHTF3, IMPULSERCF3, OMNIBUS to make the firmware fit into flash.
2018-11-04 12:57:45 +13:00
Bruce Luckcuck 957561c14c Add minimum time interval for updates and move into separate function
Prevents updates more often than 5ms even if throttle is very active.

Separated the logic into its own function to tidy up `mixTable()`.
2018-11-03 19:55:20 -04:00
Bruce Luckcuck 13e06d6e30 Reset the crash recovery guard time whenever GPS Rescue is activated
So now the guard time will be set either:
* When changing from level-mode off to on (angle or horizon modes)
* GPS Rescue activates
2018-11-03 19:42:34 -04:00
mikeller 286f21150c Unified warning activation conditions. 2018-11-03 19:25:43 +13:00
mikeller 3109c68ea1 Removed features from BETAFLIGHTF3, IMPULSERCF3, OMNIBUS to make the firmware fit into flash. 2018-11-03 18:11:18 +13:00
mikeller 09353a2b5d Fixed ordering of the LED_STRIP overlays. 2018-11-03 18:01:09 +13:00
Bruce Luckcuck bb834bb126 Prevent crash recovery detection immediately after entering self-level modes
If the quad is in an extreme orientation (like upside down) the transition to self-level modes can cause enough motion to trigger crash recovery. Added a 1 second delay during which crash recovery detection is blocked immediately after entering a self-level mode.

This also addresses an issue with GPS Rescue as when it activates it enables self-level. If in the above scenario this triggered a crash recovery detection then GPS Rescue would interpret this as a crash and immediately disarm.
2018-11-02 23:43:41 -04:00
Michael Keller 44f19bd128
Merge pull request #7021 from marv-t/ExBusDoc
Ex Bus docs for Rx and telemtry
2018-11-03 16:40:07 +13:00
Michael Keller 8a31801cd9
Merge pull request #7023 from etracer65/cli_map_default
Fix missing string terminator for CLI map command defaults output
2018-11-03 16:39:07 +13:00
Michael Keller 53be9eac21
Merge pull request #7022 from TonyBlit/gps_rescue_debug_fix
Minor fixes for debugging GPS Rescue
2018-11-03 16:19:15 +13:00
Michael Keller 36693be225
Merge pull request #7030 from MATEKSYS/master
Fixed GYRO/ACC ALIGN in MATEKF722SE target
2018-11-03 15:50:16 +13:00
Bruce Luckcuck cca3b30a77 Reduce runaway takeoff deactivate throttle to 20%
In recognition that the average quad is getting more powerful and can hover at a lower throttle.
2018-11-02 16:23:50 -04:00
Bruce Luckcuck d1251cbc39 Reduce GPS Rescue max yaw rate
Addresses concerns that the initial yaw to turn towards home might be overly agressive.
2018-11-02 07:30:15 -04:00
MATEKSYS 31c7b378fa Fixed GYRO/ACC ALIGN 2018-11-02 14:47:10 +08:00
Tony Cabello 686edcaffe GPS Rescue: New failure code for Stalled. Debug RTH is now updated regardless of the arrival of new GPS Data. 2018-11-02 07:19:25 +01:00
mikeller 99eab92200 Added 'crash flip active' to the list of warnings to be shown on LED_STRIP. 2018-11-02 01:48:06 +13:00
Michael Keller 0fae0a49c5
Merge pull request #7025 from MATEKSYS/master
Add MATEKF722SE Target
2018-11-02 01:45:49 +13:00
Michael Keller c0344496ca
Merge pull request #6992 from etracer65/launch_control
Launch Control
2018-11-02 00:49:42 +13:00
MATEKSYS f445a96978 none 2018-11-01 17:42:29 +08:00
MATEKSYS 6356e85820 add MATEKF722SE board description 2018-11-01 17:35:38 +08:00
Michael Keller f4dbbace87
Merge pull request #6972 from mikeller/added_mpu6000_to_skyzonef405
Added MPU6000 support to SKYZONEF405 target.
2018-11-01 22:33:39 +13:00
Michael Keller ace5017cc8
Merge pull request #6480 from pulquero/osd_frame_errors_3_5
Added frame quality to OSD.
2018-11-01 22:24:20 +13:00
jflyper 50df255c08
Merge pull request #7015 from jflyper/bfdev-reinstate-rangefinder-task
RANGEFINDER: Reinstate rangefinder task
2018-11-01 18:17:02 +09:00
Michael Keller 7f47d2745b
Merge pull request #7018 from TonyBlit/gps_rescue_restart_fix
Fix: Initialize internal variables on GPS Rescue Start
2018-11-01 22:08:36 +13:00
Michael Keller 965de2133f
Merge pull request #7017 from jflyper/bfdev-exti-for-f7hal
EXTI: Unified EXTIConfig for all MCU types
2018-11-01 22:06:20 +13:00
Michael Keller b174bb7d12
Merge pull request #7014 from ctzsnooze/Updated-iTerm-defaults
Increase I and allow it to drive more in tight turns
2018-11-01 22:04:21 +13:00
MATEKSYS 6ec777d0fb Add MATEKF722SE Target 2018-11-01 17:01:05 +08:00
Bruce Luckcuck 13a365dd35 Fix missing string terminator for CLI map command defaults output 2018-10-31 16:16:38 -04:00
Tony Cabello a492b8d47d Fix: Initialize internal variables on each GPS Rescue Start 2018-10-31 15:29:32 +01:00