1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-26 01:35:41 +03:00
Commit graph

10263 commits

Author SHA1 Message Date
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
Andi Kanzler
0b01718869 Better initialization, according to #6286 2018-07-06 15:59:20 +02: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
mikeller
93ab648183 Added disabling of GPS_RESCUE when 3D is enabled. 2018-07-01 21:33:32 +12:00
Michael Keller
7936d2ec57
Merge pull request #6250 from mikeller/fix_rc_smoothing_validation
Fixed conditions for RC smoothing validation.
2018-07-01 21:29:59 +12:00
Faduf
ec9a713c2f Revert change and use a specific config for YUPIF7 2018-07-01 11:15:59 +02:00
mikeller
b308eef6e9 Made it more positive. 2018-07-01 19:14:31 +12:00
mikeller
fb83ea4b52 Fixed conditions for RC smoothing validation. 2018-07-01 16:35:05 +12:00
mikeller
f354f8f350 Added SKYZONEF405 target. 2018-07-01 12:39:15 +12:00
Andi Kanzler
a63beb5239 Oops. Forget that extKey is now cms_key_e. 2018-07-01 01:05:45 +02:00
Andi Kanzler
1b98b1e2aa Improvements from review. 2018-07-01 01:05:44 +02:00
Andi Kanzler
31830dc10c Bring the CMS to the HoTT-Textmode. 2018-07-01 01:05:43 +02:00
Michael Keller
c6c3d0b5af
Merge pull request #6235 from etracer65/throttle_angle_correction
Fix throttle angle correction when smoothing throttle; reduce processing overhead
2018-06-30 18:46:51 +12:00
Michael Keller
3342f07c10
Merge pull request #6241 from mikeller/set_yaw_d_default_to_0
Set yaw D default to 0 since it is unused anyway.
2018-06-30 17:53:08 +12:00
mikeller
673ff77beb Fixed firmware size issue on FURYF3OSD and STM32F3DISCOVERY. 2018-06-30 16:40:57 +12:00
mikeller
00228427da Set yaw D default to 0 since it is unused anyway. 2018-06-30 15:25:50 +12:00
Michael Keller
6b6ad463df
Merge pull request #6227 from etracer65/gps_rescue_controls_fix
Revise GPS Rescue throttle and yaw handling to not modify rcCommand
2018-06-30 14:48:22 +12:00
Michael Keller
dfb19981db
Merge pull request #6213 from azolyoung/fixed_open_connection_bug_and_timeout_processing
fixed open connection twice times and timeout logic
2018-06-30 14:45:56 +12:00
Bruce Luckcuck
5cd886017d Fix throttle angle correction when smoothing throttle; reduce processing overhead
Change the logic to not modify rcCommand directly and instead apply the additional throttle directly in the mixer.

Also move the logic to the attitude task instead of having it calculate in the PID loop. The logic relies on an angle that's only updated in the attitude task so there was no point in running the calculation every PID loop.
2018-06-28 15:56:01 -04:00
leocb
7df8075fa3 OSD G-force Fix unit test; use sqrtf 2018-06-28 16:15:16 -03:00
leocb
51e57199fb OSD G-force - Fixes compile errors and optimize math 2018-06-28 12:16:25 -03:00
leocb
0ab2638b31 OSD G-force - requested changes 2018-06-28 11:32:37 -03:00
azol
8b98528590 fixed open connection twice times and timeout logic 2018-06-28 21:00:54 +08:00
Miguel Angel Mulero Martinez
f14c9cb929 Add OSD elements to order loop 2018-06-28 13:02:06 +02:00