1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-17 05:15:25 +03:00
Commit graph

11780 commits

Author SHA1 Message Date
Michael Keller
9c55617f05
Merge pull request #6130 from mikeller/fix_dshot_commands_2
Stop Dshot commands from running when ESCs not disarmed.
2018-06-17 12:05:20 +12:00
Michael Keller
319b85777b
Merge pull request #6113 from etracer65/turtle_mode_disarm_cleanup
Only reset motor directon on disarming when crash flip mode was active
2018-06-17 11:41:30 +12:00
Michael Keller
7215505934
Merge pull request #6127 from mikeller/jh_fix_rtc_leap_offset
[From iNav] change year base for RTC time_t to correct leap processing
2018-06-17 11:27:16 +12:00
Michael Keller
8a597c3228
Merge pull request #6131 from DieHertz/fix-f7-ledstrip
Marked LED DMA buffer FAST_RAM
2018-06-17 09:19:33 +12:00
mikeller
f067324844 Fixed extra repeat. 2018-06-17 03:07:10 +12:00
Michael Keller
609e304643
Merge pull request #6122 from dbasch/performance-fix
[GPS Rescue] - Fix the calculation of acceleration magnitude average to run at gps u…
2018-06-17 02:36:48 +12:00
mikeller
f129f7913c Added injection for GPS rescue commands. 2018-06-17 02:35:53 +12:00
Andrey Mironov
e70840a17a Marked LED DMA buffer FAST_RAM
Changes not staged for commit:
2018-06-16 17:32:12 +03:00
mikeller
ce4a95f33d Merge branch 'gps_rescue_update_fix' of https://github.com/codecae/betaflight 2018-06-17 02:04:24 +12:00
mikeller
7f107e2d9b Added updating of scheduled command time when motors become idle. 2018-06-17 01:45:10 +12:00
mikeller
d49948f1fd Stop Dshot commands from running when ESCs not disarmed. 2018-06-17 00:37:57 +12:00
AirBreak69
8709ba441d
Tidy 2018-06-16 11:05:20 +02:00
mikeller
11098fba85 Made new includes conditional to F7. 2018-06-16 15:33:13 +12:00
Michael Keller
0a949c35b3
Merge pull request #6108 from mikeller/fix_dshot_commands
Fixed Dshot command check on non-F7.
2018-06-16 15:25:58 +12:00
stronnag
f298a4ad45 change year base for RTC time_t to correct leap processing
Merge pull request #3307 from iNavFlight/jh_fix_rtc_leap_offset
2018-06-16 15:02:44 +12:00
mikeller
b402d85a77 Holy moly, these drivers are a mess. 2018-06-16 14:53:25 +12:00
mikeller
24bbb524f6 Fixed build for F7. 2018-06-16 14:45:09 +12:00
Michael Keller
4466c6f5e3
Merge pull request #6123 from etracer65/beacon_arming_guard_time
Reduce beacon arming guard time to 1.2 seconds
2018-06-16 13:40:02 +12:00
Michael Keller
370897eda3
Merge pull request #6124 from etracer65/osd_stats_reset_dup
Clean up duplicate OSD stat reset
2018-06-16 13:37:46 +12:00
Michael Keller
9f0ace1302
Merge pull request #6125 from wind0r/remove_double_transponder_update
remove double transponder update call
2018-06-16 12:19:28 +12:00
Steffen Windoffer
b5a34603fe remove double transponder update call 2018-06-16 00:23:21 +02:00
AirBreak69
66c6b8397e
Pseudo change to trigger test build 2018-06-15 19:31:06 +02:00
Bruce Luckcuck
7d783acafa Reduce beacon arming guard time to 1.2 seconds
Based on feedback from KISS and BLHeli developers the maximum delay for a beacon command is 1020ms.  Since there is some built-in delay in sendint the DSHOT beacon command 10 times leaving a little margin for error at 1.2 seconds.
2018-06-15 10:51:12 -04:00
Bruce Luckcuck
a93005c692 Clean up duplicate OSD stat reset 2018-06-15 00:00:19 -04:00
s0up
343049d653 fix the calculation of acceleration magnitude average to run at gps update freq vs PID looptime freq to save CPU resources 2018-06-14 14:36:31 -07:00
MJ666
df60162b02 Fix wrong QMC5883L mag detection 2018-06-14 21:12:24 +02:00
AirBreak69
482d38ade1
Tidy grab_fields() 2018-06-14 21:02:04 +02:00
AirBreak69
ff366098e5
Deleted extra 32bit altitude in msp 2018-06-14 20:58:41 +02:00
Michael Keller
9a06900c83
Merge pull request #6104 from etracer65/beacon_arm_delay_osd
Display OSD message and countdown if arming is delayed due to beacon
2018-06-14 23:08:31 +12:00
Curtis Bangert
8950eb1f68 Moved updateGPSRescueState to imuUpdateAttitude. gps_rescue.c tidy. 2018-06-14 02:21:12 -04:00
Michael Keller
156b71182f
Merge pull request #6116 from betaflight/revert-6110-gps_rescue_update_fix
Revert "Moved updateGPSRescueState to imuUpdateAttitude. gps_rescue.c tidy."
2018-06-14 13:26:12 +12:00
Michael Keller
4ead807edd
Revert "Moved updateGPSRescueState to imuUpdateAttitude. gps_rescue.c tidy." 2018-06-14 13:25:52 +12:00
Michael Keller
1aa78531f7 Fixes from review. 2018-06-14 12:24:30 +12:00
AirBreak69
ecc89d1ba1
Compensate 10x altitude resolution before transferring via MSP
GPS_RESCUE and subsequent changes increased gpsSol.llh.alt from 0.1m per lsb UNIT16 to 0.01m per lsb INT32.
The transfer of altitude data via MSP had to be corrected by factor 10 rescalings to be backwards compatible.
2018-06-14 01:31:24 +02:00
AirBreak69
719d50e8fb
Harmonized altitude from NMEA with ublox data to centimeters (0.01m per lsb)
Before GPS_RESCUE it was decimeter (0.1m per lsb) from ublox but meter (1m per lsb) from NMEA, stored as unit16.
Now both protocols should deliver centimeters (0.01m per lsb), stored as int32 in order to cover negative and high altitudes too.
2018-06-14 00:18:42 +02:00
AirBreak69
c1342c7197
Cleaner code for negative sign detection in grab_fields()
Following suggestions.
2018-06-14 00:08:15 +02:00
Andrey Mironov
7b035ce3a8
Merge pull request #6110 from codecae/gps_rescue_update_fix
Moved updateGPSRescueState to imuUpdateAttitude. gps_rescue.c tidy.
2018-06-14 01:01:33 +03:00
AirBreak69
66773cc1fa
Changed comment that altitude now is in 0.01m per lsb
Since introduction of GSP_RESCUE the altitude (from ublox receivers) is logged in cm (0.01m per lsb as int32). 
Before that is was scaled in decimeters (0.1m per lsb as uint16) from ublox receivers. But with NMEA protocol it was in meters per lsb.
This will be harmonized in another commit to cm (0.01m per lsb).
2018-06-13 23:57:10 +02:00
Bruce Luckcuck
3e706224c9 Only reset motor directon on disarming when crash flip mode was active
Previous logic always reset the motor direction if the crash flip mode was configured.
2018-06-13 16:41:27 -04:00
Bruce Luckcuck
c15933fbd6 Change beacon arming delayed message to use the warning message
Uses the OSD_WARN element rather than a separate separate screen before arming.  The "BEACON ON" message will appear for the first 0.5 seconds and then "AM IN x.y" will countdown for the remaining delay.

Also fixed OSD_WARN element blinking related to battery warnings to only blink the warning element if the battery warnings are actually configured.
2018-06-13 12:05:10 -04:00
Curtis Bangert
953e2ad0e9 Moved updateGPSRescueState to imuUpdateAttitude. gps_rescue.c tidy. 2018-06-13 11:36:49 -04:00
mikeller
906a4bcb78 Fixed Dshot command check on non-F7. 2018-06-14 01:46:24 +12:00
mikeller
39a38fd951 Fixes from review. 2018-06-14 00:52:35 +12:00
mikeller
48ed3d0b15 Fixes from review. 2018-06-13 23:51:26 +12:00
Michael Keller
11d8171c36
Merge pull request #6082 from wysiwyng/signed_current
Make current in blackbox signed (fixes #6057)
2018-06-13 22:59:56 +12:00
Michael Keller
a0b4ce799d
Merge pull request #6097 from brucesdad13/alienwhoop-target-update
Updated ALIENWHOOP defaults for Betaflight 3.4 Release
2018-06-13 22:59:21 +12:00
Michael Keller
d6622eb0fb
Merge pull request #6106 from wind0r/remove_unused_use_copy_profile
remove unused use copy profile
2018-06-13 22:58:39 +12:00
Steffen Windoffer
8464699977 remove unused use copy profile 2018-06-13 11:17:34 +02:00
aa07a820ba Fixed whitespace 2018-06-13 03:31:38 -04:00
989e532e0c Fixed up ALIENWHOOP target default PR as requested 2018-06-13 03:23:56 -04:00