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

11512 commits

Author SHA1 Message Date
Cleric-K
e17abc4063 Failsafe switch choosable behavior #5994
The `failsafe_kill_switch` parameter has been renamed to
`failsafe_switch_mode` and it determines what happens
when the Failsafe mode is activated with an AUX switch.
It takes one of three values:
  0 - simulates RC signal loss - thus activates Stage1 failsafe
      (former behavior when kill switch option was OFF)
  1 - disarms immediately
      (former behavior when kill switch option was ON)
  2 - activates the failsafe procedure (Stage2) immediately (new)
2018-05-29 23:28:09 +03:00
jflyper
6402ebf5b8 Increase SPI_PREINIT_IPU_COUNT 2018-05-30 01:50:54 +09:00
Thorsten Laux
dc929baf75 make itermRelax into enum 2018-05-29 16:40:23 +02:00
borisbstyle
2161c68778
Merge pull request #5975 from fujin/minimize-filter-choices
gyro & d-term filters: remove filtering options except biquad/pt1
2018-05-29 15:56:53 +02:00
mikeller
ab916d16b2 Added beacon config printing. 2018-05-30 01:20:33 +12:00
mikeller
2c3bf6ad2d Removed 'PREFERRED' beeper settings. 2018-05-30 00:50:55 +12:00
mikeller
a0dd12db42 Added option 'disable_rx_loss_dshot_beacon' to stop RX loss Dshot beacon from working. 2018-05-30 00:50:55 +12:00
mikeller
e75eaf85ce Fixed tests. 2018-05-30 00:45:45 +12:00
mikeller
670cd49bd6 Added offset parameter to ESC sensor current calculation to compensate for non-ESC consumption. 2018-05-30 00:38:33 +12:00
mikeller
d401e3bbbe Fix usages, scaling. 2018-05-29 23:08:26 +12:00
Michael Keller
b2f7aa3c36
Merge pull request #5999 from etracer65/osd_flash_reduction
Reduce flash usage in OSD element display logic
2018-05-29 13:02:03 +12:00
Michael Keller
9a7c863c3c Make all RSSI sources scalable. 2018-05-29 12:28:05 +12:00
Bruce Luckcuck
012058a9bc Reduce flash usage in OSD element display logic
Saves 132 bytes of flash.
2018-05-28 19:54:47 -04:00
Michael Keller
e0aa43b259
Merge pull request #5991 from mikeller/reset_config_on_pg_changes
Reset the entire config when parameter groups have changed.
2018-05-29 11:12:42 +12:00
AJ Christensen
a63c8b0079 gyro & d-term filters: remove filtering options except biquad/pt1
* through extensive testing prior to the beginning of the RC cycle, we have
  discovered that the simplest combination of filters appears to be up to four
  PT1 filters: two for gyro, and two for d-term.
* non-cascaded biquad filter plumbing is retained for noisy setups and the
  dynamic notch bandpass, although gyro and d-term variants of the filtering may
  eventually be removed in favor of pt1
* update all related unit tests
2018-05-29 10:54:46 +12:00
Thorsten Laux
5bdc2ead61 make itermRelax an uint8_t 2018-05-28 16:44:13 +02:00
Thorsten Laux
6239b8258a make itermrelax on yaw optional 2018-05-28 16:41:05 +02:00
Thorsten Laux
7e12e9da18 don't link debug.c to pid unit test 2018-05-28 16:40:09 +02:00
Thorsten Laux
2c02c14a1d debug log only roll and pitch, but separately 2018-05-28 16:40:09 +02:00
Thorsten Laux
5a1d84cdae incorporate style feedback 2018-05-28 16:40:08 +02:00
Thorsten Laux
0086932946 address style requests 2018-05-28 16:39:43 +02:00
Thorsten Laux
e1ff2566c6 make unit tests happy 2018-05-28 16:37:41 +02:00
Thorsten Laux
791c584d81 add debug option DEBUG_ITERM_RELAX 2018-05-28 16:37:41 +02:00
Thorsten Laux
32748a328a ITerm relax feature 2018-05-28 16:37:41 +02:00
Michael Keller
418fd4beaa
Merge pull request #5990 from jflyper/bfdev-create-pg-rxSpiConfig
Add basic SPI RX configurability
2018-05-29 00:17:21 +12:00
Michael Keller
2139d8db92
Merge pull request #5997 from mikeller/fix_rg_ssd_f3_overflow
Fixed flash overflow on RG_SSD_F3 and FURYF3OSD.
2018-05-29 00:15:07 +12:00
mikeller
29cd161f71 Removed features from FURYF3OSD too. 2018-05-28 23:24:11 +12:00
Michael Keller
25903ca7bb Fixed flash overflow on RG_SSD_F3. 2018-05-28 13:53:43 +12:00
Michael Keller
e010da0243
Merge pull request #5995 from mikeller/fix_omnibus_overflow
Fixed flash overflow for OMNIBUS.
2018-05-28 12:38:58 +12:00
Michael Keller
a1dc7d091f Fixed flash overflow for OMNIBUS. 2018-05-28 12:02:39 +12:00
Michael Keller
95d725d9f8
Merge pull request #5988 from mikeller/fix_luxv2_race_flash_overflow
Fixed flash overflow in LUXV2_RACE.
2018-05-28 10:47:08 +12:00
Michael Keller
0bb6ab11e4
Merge pull request #5989 from mikeller/cleanup_cli_printing
Cleaned up CLI output generation, added 'cliPrintErrorLinef'.
2018-05-28 10:46:51 +12:00
Michael Keller
4bce480fbd
Merge pull request #5992 from etracer65/stick_disarm_fix
Fix yaw reset and throttle angle correction to be before rc interpolation
2018-05-28 10:40:49 +12:00
Bruce Luckcuck
fc67a40127 Changed subTaskRcCommand() to be FAST_CODE_NOINLINE
Previously the code in subTaskRcCommand() was part of subTaskMainSubprocesses() which is set to FAST_CODE_NOINLINE.  When it was split out into a separate function it inherited FAST_CODE from taskMainPidLoop() which made it get inlined and caused ITCM_RAM overflow.
2018-05-27 10:40:39 -04:00
Bruce Luckcuck
89a1aa7cc6 Fix yaw reset and throttle angle correction to be before rc interpolation
In #5905 the ordering of rc interpolation processing was moved out of subTaskMainSubprocesses() and into a separate subTaskRcCommand() process that ran earlier in the PID loop. Previously the logic to handle stick arming yaw reset was immediately before the rc interpolation logic and after the previous change it ran later in the process and after rc interpolation.

This fix moves the related throttle/yaw processing into the subTaskRcCommand() before rc interpolation to match the ordering that existed previously.  The fixes introduced by #5905 (throttle spikes) are still retained.
2018-05-27 08:16:13 -04:00
Michael Keller
823c761c01
Merge pull request #5986 from mikeller/fix_cli_typo
Fixed typo in CLI.
2018-05-27 23:54:00 +12:00
jflyper
560af0b6ff Add SPI bus configurability 2018-05-27 20:30:06 +09:00
Michael Keller
4ac5bf69a5
Merge pull request #5984 from mikeller/fix_typo
Fixed typo in 'Makefile'.
2018-05-27 21:57:36 +12:00
mikeller
25118867fc Fixed SPRACINGF3OSD. 2018-05-27 21:47:18 +12:00
Michael Keller
0af4789d6d
Merge pull request #5983 from mikeller/add_pid_audio_check
Added check to establish that PID audio is configured.
2018-05-27 21:39:07 +12:00
Michael Keller
a6d667eb48
Merge pull request #5980 from mikeller/add_osd_core_temperature_warning
Added warning for core temperature to OSD.
2018-05-27 21:38:51 +12:00
Michael Keller
5c3599a028
Merge pull request #5962 from joelucid/pid_ff
If P and FF have same sign take larger one
2018-05-27 21:36:23 +12:00
mikeller
464da66ee1 Reset the entire config when parameter groups have changed. 2018-05-27 19:51:26 +12:00
Michael Keller
287759012c
Merge pull request #5987 from mikeller/fix_omnibusf4_defaults
Removed nonfunctional RX_SERIAL default feature from OMNIBUSF4.
2018-05-27 19:41:50 +12:00
mikeller
a8e1a2938f Cleaned up CLI output generation, added 'cliPrintErrorLinef'. 2018-05-27 18:49:02 +12:00
Thorsten Laux
03b5c3c872 add description 2018-05-27 08:04:27 +02:00
Thorsten Laux
62dcd1b2fa Also move previousPidSetpoint 2018-05-27 07:47:51 +02:00
Thorsten Laux
d337023e87 assign previousGyroRateDterm after calculating ff 2018-05-27 07:44:11 +02:00
jflyper
1a035aa0f3 Create a pg for rxSpiConfig 2018-05-27 13:13:20 +09:00
mikeller
add0170f2c Fixed flash overflow in LUXV2_RACE. 2018-05-27 15:50:32 +12:00