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
mikeller
ef556c0f59
Introduced 'baroStartCalibration()' / 'baroSetGroundLevel()' to make barometer code more self contained.
2019-11-17 23:34:10 +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
a7cd21e632
Fix rtc6705 side effects ( #9164 )
...
Fix rtc6705 side effects
2019-11-16 08:57:18 +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
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
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
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
Michael Keller
04c97c849e
Show blackbox log number in OSD only when available. ( #9141 )
...
Show blackbox log number in OSD only when available.
2019-11-04 14:45:39 +13:00
Michael Keller
ddd4d70bca
Blink the Launch Control warning element when throttle is withi… ( #9142 )
...
Blink the Launch Control warning element when throttle is within 10% of the trigger setting
2019-11-04 14:37:39 +13:00
Bruce Luckcuck
4b600fbcb0
Blink the Launch Control warning element when throttle is withing 10% of the trigger setting
...
Provides a visual indication that throttle is close to the trigger limit.
2019-11-02 17:52:33 -04:00
mikeller
53955a4a6b
Show blackbox log number in OSD only when available.
2019-11-03 02:29:38 +13:00
SteveCEvans
938a39ac8f
Display available dBm power levels from SA2.1 VTX along with corresponding power expressed in mW
2019-11-02 01:25:55 +00:00
Bruce Luckcuck
03be64ee91
Fix rc_smoothing_type blackbox header
...
Fixes a copy/paste error introduced in #8282 .
Only a cosmetic bug that affected the informational blackbox header. Had no effect on RC smoothing operation.
2019-11-01 18:15:43 -04:00
Michael Keller
086c75b3bf
[Clean-up]Remove redundant 'MAX_ADC_SUPPORTED' def in pg/adc.h ( #9120 )
...
[Clean-up]Remove redundant 'MAX_ADC_SUPPORTED' def in pg/adc.h
2019-10-31 01:16:00 +13:00
Michael Keller
bd240140ec
Moved MCU specific defines into 'common_pre.h' if not used in t… ( #9117 )
...
Moved MCU specific defines into 'common_pre.h' if not used in the STM32 libraries.
2019-10-31 01:14:54 +13:00
Michael Keller
67adc4ddab
Cleaned up parameter group definitions for displayPort. ( #9115 )
...
Cleaned up parameter group definitions for displayPort.
2019-10-31 01:14:22 +13:00
Michael Keller
8548189bc6
Add OSD background support for the static portions of display e… ( #9129 )
...
Add OSD background support for the static portions of display elements
2019-10-31 00:10:01 +13:00
Michael Keller
f3d1be6b0f
Moved 'config.[ch]' into the 'config/' directory. ( #9121 )
...
Moved 'config.[ch]' into the 'config/' directory.
2019-10-29 20:23:07 +13:00
Bruce Luckcuck
5f5ee33718
Add OSD background support for the static portions of display elements
...
Significantly reduces the time the OSD task spends drawing elements that are completely or mostly static. The larger the element the more time savings are realized. Currently implemented support for:
- Crosshairs
- Artificial Horizon Sidebars
- Craft name
- Display name
- Stick overlay
Since the static portions are only rendered once, the static elements add no processing time to the OSD task. As an example, enabling the above elements prior to these changes results in a total rendering time of 47us. After the enhancements they take only 6us (basically the rendering phase minimum overhead). So effectively 41us are removed from the OSD task.
Opens the possibility to add large mostly static elements with no additional overhead. An example would be a camera framing element that might draw a "box" around most of the screen. Previously this would add significant processing overhead to the OSD task, but now it will have no impact.
2019-10-28 19:34:29 -04:00
ctzsnooze
22434fe0f3
reduce antigravity gain default to 3.5
...
In recent releases we have been increasing PID I.
We haven't reduced the antigravity gain value in the same proportion.
Low authority / low P quads can get I wobbles that are apparent on throttling up.
A lower default anti-gravity gain is likely to work alright and be a fraction less likely to cause I wobbles.
2019-10-29 10:20:29 +11:00
Michael Keller
de768751b4
Fix data type overflow in HDOP calculation in Smartport telemet… ( #9112 )
...
Fix data type overflow in HDOP calculation in Smartport telemetry
2019-10-28 18:56:19 +13:00
mikeller
4a7904695e
Moved 'config.[ch]' into the 'config/' directory.
2019-10-28 11:17:25 +13:00
Michael Keller
9b2fd4c465
Change max7456 driver to only perform stall check once a second… ( #9111 )
...
Change max7456 driver to only perform stall check once a second instead of every drawScreen call
2019-10-28 10:15:38 +13:00
mikeller
d71b117c3e
Cleaned up parameter group definitions for displayPort.
2019-10-28 08:30:09 +13:00
JunwooHWANG
c770df9ba0
Remove redundant 'MAX_ADC_SUPPORTED' def in pg/adc.h
...
"#define MAX_ADC_SUPPORTED 4" was in there Twice.
2019-10-28 00:27:26 +09:00
mikeller
11b3ba224c
Moved MCU specific defines into 'common_pre.h' if not used in the STM32 libraries.
2019-10-27 23:09:33 +13:00
Michael Keller
887a913c6e
amend notes in make_config_hex.sh for what released ( #9099 )
...
amend notes in make_config_hex.sh for what released
2019-10-27 16:06:26 +13:00
Michael Keller
e7d08cc8a1
Fix ESC_SENSOR blackbox debug array overflow for more than 4 mo… ( #9087 )
...
Fix ESC_SENSOR blackbox debug array overflow for more than 4 motors
2019-10-27 16:05:07 +13:00
Michael Keller
33cb15a0ce
Add gps rescue altitude mode setting to MSP ( #9094 )
...
Add gps rescue altitude mode setting to MSP
2019-10-27 15:34:29 +13:00
Michael Keller
0fd4dec942
Merge pull request #9089 from jflyper/bfdev-serial-blackbox-handle-buffer-overflow-properly
...
Serial blackbox: check TX buffer space before calling serialWrite
2019-10-27 15:29:51 +13:00
Michael Keller
40062953b3
QUADSPI - Fix quadSpiTransmit1LINE when writing 1 or more bytes… ( #9100 )
...
QUADSPI - Fix quadSpiTransmit1LINE when writing 1 or more bytes of data.
2019-10-27 15:23:13 +13:00
Bruce Luckcuck
8aa86c25cf
Fix data type overflow in HDOP calculation in Smartport telemetry
...
Calculation used uint8_t which overflowed and corrupted the satellite count portion of the telemetry value.
2019-10-26 19:36:25 -04:00