1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-18 13:55:18 +03:00
Commit graph

11315 commits

Author SHA1 Message Date
jerryxin123
b548214648 Added rx configuration for DJI_HDL receiver 2019-03-27 12:59:31 +08:00
Michael Keller
173e958daf
Merge pull request #7872 from x4FF3/OMF4NV7
Please add OMNIBUSF4NANOV7
2019-03-27 07:53:38 +13:00
Bruce Luckcuck
138f403204 Fix OSD stats alignment and formatting
Fixes the alignment and formatting of the following stats:
* Max altitude
* Max speed
* Max ESC temperature
2019-03-26 13:37:21 -04:00
Michael Keller
d00a8e7a4c
Merge pull request #7865 from joelucid/dshot_collisions_master
Avoid dshot collisions
2019-03-27 06:16:19 +13:00
david
c916ab96ac add OMNIBUSF4NANOV7 2019-03-26 17:54:48 +01:00
Michael Keller
ea454243bb
Merge pull request #7871 from betaflight/revert-7603-smartaudio-lite-softserial
Revert "SmartAudio Lite compatibility: Send 0x00 bit(s) (always) even with Soft Serial."
2019-03-27 05:23:42 +13:00
Thorsten Laux
5a759c56ef avoid dshot telemetry collisions
actually use calculated deadtime

fix whitespace and return value

fix ws

Address review feedback

fix ws
2019-03-26 21:51:25 +13:00
Michael Keller
8984a7195f
Merge pull request #7866 from joelucid/fix_abs_control
fix abs control #7863
2019-03-26 21:48:58 +13:00
Miguel Angel Mulero Martinez
f0597992fc Wrap with ifdef some blackbox headers 2019-03-25 20:31:58 +01:00
AJ Christensen
1dc0842557
Revert "SmartAudio Lite compatibility: Send 0x00 bit(s) (always) even with Soft Serial." 2019-03-25 23:48:00 +13:00
Thorsten Laux
bd708d6741 fix abs control #7863 2019-03-24 18:49:09 +01:00
Dominic Clifton
361e1fa6bb Fix remaining cases of USE_DUAL_GYRO.
* The `USE_DUAL_GYRO` define was replaced with `USE_MULTI_GYRO` a while
ago.
2019-03-24 16:07:18 +01:00
Michael Keller
ae5c924c96
Merge pull request #7853 from mikeller/fix_sumd_v3
Fixed bug in SUMD V3 channel number handling.
2019-03-24 10:44:39 +13:00
Michael Keller
fe7de1b3e6
Merge pull request #7850 from McGiverGim/blackbox_dterm2_type
Add dterm lpf 2 type to the Blackbox header
2019-03-24 09:44:17 +13:00
mikeller
32bcf606b5 Fixed bug in SUMD V3 channel number handling. 2019-03-22 14:18:48 +13:00
Michael Keller
1bdbd1cd72
Merge pull request #7847 from ctzsnooze/Update_Abs_Control_Debug
log acCorrection, not acError
2019-03-22 13:39:16 +13:00
mikeller
d5e7f90629 Added range checking. 2019-03-22 07:52:07 +13:00
Miguel Angel Mulero Martinez
af1f53be53 Add dterm lpf 2 type to the Blackbox header 2019-03-21 19:17:15 +01:00
mikeller
cf18d21ae6 Added command feedback. 2019-03-22 06:40:44 +13:00
mikeller
3974df6798 Added missing 'timer <pin>' command. 2019-03-22 06:40:44 +13:00
Michael Keller
8239950c7d
Merge pull request #7846 from hydra/bf-fix-tests-cygwin
Allow test compilation on Cygwin again.
2019-03-22 06:38:05 +13:00
Michael Keller
dfe5dc56e0
Merge pull request #7824 from etracer65/dshot_command_queue_fix
DSHOT command non-blocking motor selection fix
2019-03-21 14:23:39 +13:00
Michael Keller
ca764c5a4e
Merge pull request #7837 from hydra/bf-fix-dual-gyro-sensor-autodetection-crash
Fix crash when first or second gyro is not detected.
2019-03-21 13:46:22 +13:00
ctzsnooze
7101fe220a log acCorrection, not acError
Improves usefulness of Absolute Control logging in iterm_relax mode.
2019-03-21 10:24:47 +11:00
Dominic Clifton
9177cda6bb TESTS - Allow compilation on Cygwin again.
* -pthread not supported.
* --coverage not supported.
* -lblocksruntime not required.
2019-03-20 18:36:01 +01:00
Mikolaj Stawiski
93d2566287 Fixed warnings. 2019-03-20 19:47:18 +11:00
Michael Keller
f6bbda1d1b Removed more features from RMDO, SPRACINGF3 to make it fit flash. 2019-03-20 16:20:30 +13:00
Michael Keller
913d942c27
Merge pull request #7831 from McGiverGim/blackbox_ac_iyaw
Add absolute_control_gain and use_integrated_yaw to blackbox headers
2019-03-20 15:20:35 +13:00
Michael Keller
2fc52c46d5
Merge pull request #7827 from McGiverGim/blackbox_dyn_lpf
Add dyn filters to blackbox headers
2019-03-20 15:19:55 +13:00
Michael Keller
0da7422a33
Merge pull request #7826 from McGiverGim/blackbox_dmin
Add d_min to blackbox headers
2019-03-20 15:19:37 +13:00
Dominic Clifton
b7417a6d3d Fix crash when first or second gyro is not detected.
Firmware now silently uses the one it does find.

User can detect this by looking at the `diff` output.
2019-03-19 20:47:01 +01:00
Dominic Clifton
8039a7f42f Fix duplicate transponder task enable attempt.
Kept the second one since there is no rush to enable a transponder upon
boot.
2019-03-19 20:36:52 +01:00
Miguel Angel Mulero Martinez
6a3cb507ce Add absolute_control_gain and use_integrated_yaw to blackbox headers 2019-03-18 15:12:00 +01:00
mikeller
538eb26188 Removed features from MIDELICF3, RMDO, and SPRACINGF3 to make the firmware fit the flash space. 2019-03-19 02:44:00 +13:00
Miguel Angel Mulero Martinez
6157cd324e Add dyn filters to blackbox headers 2019-03-18 09:49:29 +01:00
Miguel Angel Mulero Martinez
75b4e449ff Add d_min to blackbox headers 2019-03-18 08:43:02 +01:00
Michael Keller
4c62d362ee
Merge pull request #7795 from etracer65/dshot_bidir_protocol_check
Disable DSHOT Telemetry if motor protocol is not DSHOT or PROSHOT
2019-03-18 19:33:20 +13:00
Michael Keller
26e6e45514
Merge pull request #7815 from etracer65/dshot_bidir_try_to_enable
Periodically try to activate ESC DSHOT telemetry if enabled but not working
2019-03-18 19:31:08 +13:00
Michael Keller
b2e857439b
Merge pull request #7816 from IllusionFpv/gps-set-new-descent-distance
Set new descent distance
2019-03-18 19:29:53 +13:00
Michael Keller
4ad9ece567
Merge pull request #7821 from mikeller/add_blackbox_device_to_hardware
Added 'blackbox_device' to hardware diff / dump list.
2019-03-18 19:28:09 +13:00
Bruce Luckcuck
81c226e769 Periodically try to activate DSHOT telemetry if enabled but not working
If DSHOT telemetry is enabled but one or more ESC's are not supplying valid telemetry packets, then send the DSHOT command to enable telemetry once a second while disarmed until all ESC's are supplying telemetry.

Addresses the issue of the flight controller booting without the ESC's powered. In this case the initial command at boot to enable bidirectional telemetry will be missed by the ESC since they're not powered. If the battery is subsequently plugged in the ESC's will default to bidirectional telemetry disabled.

This change will detect that ESC's are not supplying telemetry and attempt to preiodically enable them.
2019-03-17 17:45:08 -04:00
Bruce Luckcuck
9622b83278 DSHOT command non-blocking motor selection fix
Fixes a logic error that would send non-blocking DSHOT commands to all motors regardless of the selected motor index.
2019-03-17 17:01:44 -04:00
Michael Keller
7c6d36167c
Merge pull request #7813 from etracer65/dshot_bidir_arming_disabled
Add arming disabled check if RPM filter enabled but DSHOT telemetry not working
2019-03-18 09:41:46 +13:00
Bruce Luckcuck
89ceb70b3c Add arming disabled check if RPM filter enabled but DSHOT telemetry not working
If the RPM filter is enabled, requires all motors to have received a valid DSHOT telemetry frame before arming is allowed. Otherwise sets the arming disabled reason `ARMING_DISABLED_RPMFILTER`.
2019-03-17 10:36:21 -04:00
Michael Keller
983321280f
Merge pull request #7810 from mikeller/added_missing_baro_qmp6988
Added missing BARO QMP6988 to Unified Target.
2019-03-18 00:13:16 +13:00
Michael Keller
a1badc7f4a
Merge pull request #7809 from hydra/bf-fix-crash-bug-2
Fix memory corruption in I2C code.
2019-03-18 00:13:00 +13:00
Nicola De Pasquale
e19c445702 fix new descent distance to measured gps data minus 5 meters 2019-03-17 08:20:15 +01:00
mikeller
b9f20e72a2 Added 'blackbox_device' to hardware diff / dump list. 2019-03-17 18:54:59 +13:00
Nicola De Pasquale
6ca39c6ad1 moved discentDistance to the beginning of the function 2019-03-17 00:32:44 +01:00
Nicola De Pasquale
c9b9c1bee5 set discentDistance static and moved into updateGPSRescueState() 2019-03-17 00:08:10 +01:00