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

9319 commits

Author SHA1 Message Date
Michael Keller
2c084cbf2b
Merge pull request #6335 from robertlacroix/sticky-paralyze
Allow linking of modes
2018-07-14 15:47:24 +12:00
Robert Lacroix
aa18ab4afa Allow linking of modes
This allows modes to be linked, for example to link vtx pit mode to paralyze. Whenever paralyze is activated, vtx pit mode is activated as well. Also the logic to prevent mode changes when enabling paralyze can be removed in favor of making paralyze sticky.

Modes can be linked in CLI by providing the mode id as the last parameter of the aux command. For example in order to link vtx pit mode to paralyze, replace the last 0 of the pit mode aux (39) with the mode id of paralyze (45):

```
aux 2 39 2 1700 2100 0 0
```

becomes

```
aux 2 39 2 1700 2100 0 45
```

_Legal disclaimer: I am making my contributions/submissions to this project solely in my personal capacity and am not conveying any rights to any intellectual property of any third parties._
2018-07-13 13:05:15 +02:00
Michael Keller
14e3da855f
Merge pull request #6344 from DieHertz/bfdev-diehertz-fix-micros-race-condition
Ensured micros() doesn't return a smaller value on millisecond bound
2018-07-13 20:46:53 +12:00
Michael Keller
e5d5e92bda
Merge pull request #6342 from DieHertz/bfdev-diehertz-immersionrc-synergy-f3-target
Added IRCSYNERGYF3 target
2018-07-13 20:39:47 +12:00
Andrey Mironov
c0bac1c663
Used operator > to get rid of potential deadband 2018-07-12 21:42:09 +03:00
Andrey Mironov
a0d2f444ac Ensured micros() doesn't return a smaller value on millisecond bound 2018-07-12 16:40:02 +03:00
Andrey Mironov
ea74659bcb Added IRCSYNERGYF3 target 2018-07-12 15:46:08 +03:00
Andrey Mironov
ffeecaf007 Removed CONFIG_FASTLOOP_PREFERRED_ACC 2018-07-12 14:42:18 +03:00
Miguel Angel Mulero Martinez
b9633eb59d Fix low priority warnings when ESC sensor enabled 2018-07-12 09:16:00 +02:00
mikeller
80acf5a53d Minor code improvements for iterm relax. 2018-07-11 21:32:55 +12:00
Michael Keller
ac2f39a10c
Merge pull request #6253 from mikeller/fix_gps_rescue_without_gps
Fixed compilation error when building USE_GPS_RESCUE without USE_GPS.
2018-07-11 21:09:59 +12:00
Michael Keller
b4953b8ff5
Merge pull request #6134 from mikeller/allow_custom_includes
Allow tests to define custom include directories (for libs).
2018-07-11 21:09:23 +12:00
Michael Keller
cd19906eac
Merge pull request #6329 from Scavanger/HoTT-Telemetry-Altitude-Fix
HoTT Telemetry: GPS based altitude was not converted to meters.
2018-07-11 20:25:25 +12:00
Andi Kanzler
eb72a69cb4 GPS based Altitude was not converted to meters. 2018-07-10 16:30:46 +02:00
Michael Keller
ea53a18ae0
Merge pull request #6297 from DieHertz/bfdev-hertz-cli-task-statistics-reset-max-time
CLI tasks command: reset max execution time
2018-07-09 23:09:33 +12:00
Michael Keller
9a21df34c2
Merge pull request #6281 from jflyper/bfdev-cms-menu-title-tidy
Change CMS menu page title for PROFILE from "IMU" to "PROFILE"
2018-07-09 23:09:17 +12:00
Michael Keller
83612180fc
Merge pull request #6265 from atomgomba/improvement-acro-trainer-osd
Add Acro Trainer as flight mode to OSD
2018-07-09 22:57:56 +12:00
Michael Keller
b2e56de9df
Merge pull request #6260 from etracer65/undef_feature_cleanup
Fix various compiler warnings for combinations of undefined USE_ features
2018-07-09 22:51:43 +12:00
Michael Keller
5371350150
Merge pull request #6129 from McGiverGim/iterm_relax_decreasing_I
Add Iterm Relax INC modes
2018-07-09 22:43:33 +12:00
AJ Christensen
fa82c287ae Remove MSP BOX BME entries for baro, gps home, gps hold 2018-07-09 11:26:35 +12:00
mikeller
8d63e2698f Updated versions after 3.4.0 release. 2018-07-08 23:37:16 +12:00
Michael Keller
cce8a59be4
Merge pull request #6302 from mikeller/increment_eeprom_version
Increment EEPROM version to force config reset.
2018-07-08 15:14:52 +12:00
Michael Keller
5f549498cf
Merge pull request #6300 from mikeller/fix_smartport_overflow
Fixed frame received detection logic for SmartPort.
2018-07-08 15:12:26 +12:00
mikeller
69831133f3 Increment EEPROM version to force config reset. 2018-07-08 13:11:59 +12:00
mikeller
58a3085228 Fixed frame received detection logic for SmartPort. 2018-07-08 12:56:54 +12:00
Bruce Luckcuck
899942621c Fixes from review 2018-07-07 20:22:37 -04:00
Bruce Luckcuck
ae2abc5d50 Remove features from STM32F3DISCOVERY to free up flash space 2018-07-07 19:29:07 -04:00
Bruce Luckcuck
af267864e9 Add OSD warning and beeper pattern if rc smoothing initialization not complete
In the OSD display the warning "RCSMOOTHING".  Also play a beep pattern of 3 short, 1 long that will repeat.

If rx rate filter training completes the warning/beeper will stop. The warnings are only active when armed.
2018-07-07 18:43:06 -04:00
Andrey Mironov
f1e33d170e
Added stub for unittest 2018-07-07 14:56:33 +03:00
Andrey Mironov
5a66fb510f Added reset of task max time to CLI tasks command 2018-07-07 14:04:00 +03:00
Michael Keller
ad975d3948
Merge pull request #6292 from DieHertz/bfdev-hertz-frhub-escsensor-data-warning
Ensured telemetry data is initialized if ESC sensor is unavailable
2018-07-06 22:31:08 +12:00
Andrey Mironov
176e5df3aa Ensured telemetry data is initialized if ESC sensor is unavailable 2018-07-06 10:19:41 +03:00
s0up
90b9b649d0 disable immediate re-arming on land/abort for gps rescue 2018-07-05 21:17:43 -07:00
Michael Keller
521ab88d5c
Merge pull request #6280 from etracer65/smix_reverse
Fix null pointer reference for "smix reverse"
2018-07-06 14:37:19 +12:00
Curtis Bangert
03222452f4 Optimized CMS over CRSF initialization 2018-07-05 08:57:23 -04:00
jflyper
1126159243 Change CMS menu page title for PROFILE from IMU to PROFILE 2018-07-04 11:04:44 +09:00
Bruce Luckcuck
d58118d1d3 Fix null pointer reference for "smix reverse"
The short syntax `smix reverse` is meant to print the table. When the logic was checking for parameters it was failing to deal with the null pointer when no parameters were present. Additionally the `smix reverse` was called at the end of a successful command to display the table so even though the command was succeeding it was crashing on the null pointer reference when trying to display the result.

Also some stylistic cleanup
2018-07-03 19:37:23 -04:00
Bruce Luckcuck
359a014a98 Fix SPI FrskyD rx frame rate detection
Decrease the minimum on the valid rx frame time window. SPI FrskyD seems to have frames with quite variable timing and if a frame was outside the valid window training would get reset and never complete.  The valid frame timings have no impact on the calculations or operation - they are just sanity checks.
2018-07-03 17:03:37 -04:00
Bruce Luckcuck
2e83accbfe Disable more telemetry types and fixup warning/errors if USE_SERIAL_RX is not defined 2018-07-03 08:50:12 -04:00
Michael Keller
b44784d962
Merge pull request #6271 from Faduf/Bugfix_YupiF7_arming_issue
Bugfix YupiF7 3.4
2018-07-03 21:59:38 +12:00
Faduf
ae473d30be Bugfix YupiF7 3.4 2018-07-02 21:47:13 +02:00
Kiripolszky Károly
b5e0a82852 add Acro Trainer as flight mode to OSD 2018-07-02 15:16:51 +02:00
Michael Keller
463d7aa1c1
Merge pull request #6261 from jflyper/bfdev-fix-non-rearming
Call flashfsIsSupported instead of flashfsIsReady to check flash chip existence
2018-07-02 23:54:36 +12:00
jflyper
9d1e4db800 Call flashfsIsSupported instead of flashfsIsReady to check flash chip existence 2018-07-02 09:46:54 +09:00
Bruce Luckcuck
a769d43b90 Fix various compiler warnings for combinations of undefined USE_ features 2018-07-01 20:21:00 -04:00
Bruce Luckcuck
a754ad4f47 Change TASK_RX frequancy from 50hz (20ms) to 33hz (30ms)
Work around to better handle RX protocols that have frame intervals >= 20ms.  Otherwise the task would run at the end of the task interval causing slower protocols to run again after the remaining delay. This interferes with rc interpolation and also the frame rate detection in rc smoothing.
2018-07-01 18:08:46 -04:00
mikeller
abc7cba3ce Fixed compilation error when building USE_GPS_RESCUE without USE_GPS. 2018-07-01 23:17:23 +12:00
Michael Keller
8e9e757448
Merge pull request #6251 from mikeller/fix_disabling_gps_rescue_on_3d
Added disabling of GPS_RESCUE when 3D is enabled.
2018-07-01 22:32:40 +12:00
Michael Keller
bea4db7cbf
Merge pull request #6192 from Faduf/bugfix_yupif7_orientation
Bugfix board alignment YupiF7
2018-07-01 22:21:48 +12:00
mikeller
3f082b569b Fixed broken targets. 2018-07-01 21:37:40 +12:00