Michael Keller
c1b9e927a6
Glitch attenuation, 3 and 4 point averaging ( #9114 )
...
Glitch attenuation, 3 and 4 point averaging
2019-11-21 14:36:48 +13:00
ctzsnooze
3b132d1546
Fix union to struct - thanks, Mike
2019-11-21 11:45:39 +11:00
Michael Keller
859c8814b1
Stamp out use of "VTX PIT MODE" for VTX power switches - SYNERG… ( #9065 )
...
Stamp out use of "VTX PIT MODE" for VTX power switches - SYNERGYF4
2019-11-20 21:54:30 +13:00
Bruce Luckcuck
f35dd086ac
Fix small angle check when ACC is disabled or not defined
...
Fixes related to #9185
2019-11-20 00:20:20 -05:00
ctzsnooze
328b42b673
Defaults changed to no averaging, higher limit threshold
2019-11-20 11:37:27 +11:00
ctzsnooze
3c91da0e59
Interpolated feed forward smoothing
2019-11-20 11:29:37 +11:00
Bruce Luckcuck
bb97f79406
Fix compile errors if USE_ACC is not defined
2019-11-19 18:23:01 -05:00
Bruce Luckcuck
79dd6b6bcc
Move the receiver inter-frame measurements down into the protocol layer
...
Adds accuracy to the frame rate measurements used to configure RC smoothing. Prevents looptime delays and jitter from affecting the calculations. Significantly improves the accuracy of the measurement in cases where CPU load is high.
Implemented so that each protocol can individually provide the functionality if appropriate. If a protocol doesn't support the more granular measurement then the system will fallback to the original measurement calculated in the RX task.
2019-11-19 14:45:07 -05:00
Michael Keller
881a256980
Restructure CRSF frame processing and RC channel handling to pr… ( #9190 )
...
Restructure CRSF frame processing and RC channel handling to prevent erroneous dropped frames
2019-11-20 08:17:13 +13:00
Michael Keller
a94e78a37a
Fix small angle check reversed logic ( #9188 )
...
Fix small angle check reversed logic
2019-11-20 08:17:00 +13:00
markhermelinggt
9c6e983358
Uninitialized variable in max7456DrawScreenSlow
...
Found through static analysis with GrammaTech CodeSonar
Need to make sure escapeCharFound is initialized to false. It doesn't look like anything really can go wrong (yet), but the loop in 804 could be executed even if not needed.
2019-11-19 11:45:59 -05:00
markhermelinggt
8c47e3334b
Copy-paste error on line 2829 in cli.c
...
Found through static analysis (GrammaTech CodeSonar).
I am quite convinced that the VTX_TABLE_MAX_BANDS on line 2829 should be VTX_TABLE_MAX_CHANNELS.
Possible the same replacement should be done on Line 2834, but I am not 100%.
2019-11-19 09:46:09 -05:00
Michael Keller
5dd8fee755
Added calibration menu to CMS. ( #9179 )
...
Added calibration menu to CMS.
2019-11-19 16:45:30 +13:00
mikeller
cedcf2d7e2
Added calibration menu to CMS.
2019-11-19 13:59:52 +13:00
Michael Keller
c6e5882dd9
Improved compass calibration. ( #9182 )
...
Improved compass calibration.
2019-11-19 13:31:42 +13:00
Bruce Luckcuck
09406ad9d9
Restructure CRSF frame processing and RC channel handling
...
Prevents channel data packet corruption if other packets are receved before processing can complete.
2019-11-18 12:37:10 -05:00
Bruce Luckcuck
b3b3b6a7d6
Fix small angle check reversed logic
2019-11-18 10:49:50 -05:00
mikeller
a045a9c672
Improved compass calibration.
2019-11-19 01:08:44 +13:00
Michael Keller
cfa4055132
Improved detection of upright / 'SMALL_ANGLE' state. ( #9185 )
...
Improved detection of upright / 'SMALL_ANGLE' state.
2019-11-19 00:48:40 +13:00
Michael Keller
6ecf864ad9
Disable stick arming by default, require settings change to ena… ( #9183 )
...
Disable stick arming by default, require settings change to enable
2019-11-18 14:18:31 +13:00
Michael Keller
91c689307f
Fix rate_6pos_switch setting data type and initialization ( #9184 )
...
Fix rate_6pos_switch setting data type and initialization
2019-11-18 14:18:16 +13:00
mikeller
cc8b8d3bf6
Improved detection of upright / 'SMALL_ANGLE' state.
2019-11-18 14:09:06 +13:00
Michael Keller
6694d4ebc8
Improved fixed wing detection. ( #9186 )
...
Improved fixed wing detection.
2019-11-18 13:26:17 +13:00
Michael Keller
6d79e8a8fc
Introduced 'baroStartCalibration()' / 'baroSetGroundLevel()' to… ( #9178 )
...
Introduced 'baroStartCalibration()' / 'baroSetGroundLevel()' to make barometer code more self contained.
2019-11-18 13:25:26 +13:00
mikeller
ef556c0f59
Introduced 'baroStartCalibration()' / 'baroSetGroundLevel()' to make barometer code more self contained.
2019-11-17 23:34:10 +13:00
Michael Keller
dd0b45dc87
Fixed potentially incorrect calculation in ACC calibration if n… ( #9177 )
...
Fixed potentially incorrect calculation in ACC calibration if non-default cycle number is used.
2019-11-17 23:21:33 +13:00
mikeller
e0a6f1ab14
Improved fixed wing detection.
2019-11-17 14:05:07 +13:00
Bruce Luckcuck
8285ac46a2
Fix rate_6pos_switch setting data type and initialization
...
Just minor corrections for cleanup. Wouldn't have caused any problems.
2019-11-16 18:33:14 -05:00
Bruce Luckcuck
7087a5c87b
Disable stick arming by default, require settings change to enable
...
Previously stick arming was assumed to be the case if an arming switch was not configured. This leads to a less safe default state and can lead to beginners thinking that stick arming is the default.
This change adds an `enable_stick_arming` setting which defaults to `OFF`. For stick arming to function the user must actively change this setting. The previous condition about there not being an arming switch configured still applies.
2019-11-16 18:23:01 -05:00
mikeller
a21d0f5d31
Fixed potentially incorrect calculation in ACC calibration if non-default cycle number is used.
2019-11-17 10:58:28 +13:00
Michael Keller
33ba8a043e
Move targets into legacy targets for 4.1.2. ( #9123 )
...
Move targets into legacy targets for 4.1.2.
2019-11-17 10:04:09 +13:00
Michael Keller
a7cd21e632
Fix rtc6705 side effects ( #9164 )
...
Fix rtc6705 side effects
2019-11-16 08:57:18 +13:00
functionpointer
4bd6fa8a2e
[VTX] update rtc6705 information in vtx.md ( #8939 )
2019-11-15 18:49:53 +01:00
Michael Keller
24c07e6b3c
Updated adjustment range documentation. ( #9161 )
...
Updated adjustment range documentation.
2019-11-16 01:53:57 +13:00
Michael Keller
ab43b3a1e5
Fix multi-range profile type adjustments ( #9162 )
...
Fix multi-range profile type adjustments
2019-11-16 01:02:19 +13:00
functionpointer
f7c0a87c09
[VTX] RTC6705 power down is now controlled by pitmode rather than powervalue ( #8939 )
2019-11-11 21:21:04 +01:00
functionpointer
f9be9d85f4
[VTX] Revert "Fix VTX low power disarm ..." in preparation for #8939
...
This reverts commit 0bd808d1dc
.
2019-11-11 21:20:52 +01:00
Bruce Luckcuck
b0483d4669
Fix multi-range profile type adjustments
...
Fixes support for the multi-range method of configuring profile type adjustments that stopped working when "slots" were removed. Although this type of setup will now work again, the correct method is to have a single adjustment set to the full channel range.
2019-11-11 14:54:16 -05:00
Michael Keller
e4aafa0ab5
Added Betaflight 4.1 release notes to 'docs/'. ( #9159 )
...
Added Betaflight 4.1 release notes to 'docs/'.
2019-11-11 21:40:29 +13:00
Michael Keller
229bafee2d
Prevent font upload if max7456 is not detected ( #9158 )
...
Prevent font upload if max7456 is not detected
2019-11-11 20:27:03 +13:00
mikeller
c3c87a8a3b
Updated adjustment range documentation.
2019-11-11 19:37:08 +13:00
Bruce Luckcuck
a12ab13462
Prevent font upload if max7456 is not detected
...
Prevents wedge if a font upload is attempted but the max7456 device wasn't detected during initialization.
2019-11-10 19:17:05 -05:00
mikeller
c6c73da05b
Added Betaflight 4.1 release notes to 'docs/'.
2019-11-10 15:42:39 +13:00
Michael Keller
9f6ff8d3fc
Change virtual current meter to use setpoint rather than rcComm… ( #9153 )
...
Change virtual current meter to use setpoint rather than rcCommand throttle
2019-11-10 10:42:43 +13:00
Bruce Luckcuck
be79913726
Change virtual current meter to use setpoint rather than rcCommand throttle
...
Use the final calculated throttle value that may be affected by throttle limiting, throttle boost, etc. instead of the rcCommand input when calculating the virtual current meter.
2019-11-08 16:16:16 -05:00
Michael Keller
c77c593a14
IBUS telemetry for GPS combined frames fixed, IBUS telemetry co… ( #8925 )
...
IBUS telemetry for GPS combined frames fixed, IBUS telemetry code simplified.
2019-11-06 21:31:34 +13:00
Michael Keller
33c2ccecf1
Added facility to use GPIO pins for fast debugging. ( #8809 )
...
Added facility to use GPIO pins for fast debugging.
2019-11-06 13:35:54 +13:00
Michael Keller
4ba9602e66
Changed 'mspSerialPush()' to not check displayPort when request… ( #9104 )
...
Changed 'mspSerialPush()' to not check displayPort when requesting current data.
2019-11-06 13:30:09 +13:00
Jakub
3dd34c6132
Code refactoring removed, only bugfix kept.
...
Fixed build error when not extended telemetry is used.
2019-11-05 21:37:40 +01:00
Michael Keller
e34ba7f534
vtxtable powerlevels with no parameters returns the vtxtable po… ( #9122 )
...
vtxtable powerlevels with no parameters returns the vtxtable power levels extract with SA2.1
2019-11-05 22:04:22 +13:00