Commit Graph

15335 Commits

Author SHA1 Message Date
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 f854f79abe
Added Travis CI badge to README.md. (#9143)
Added Travis CI badge to README.md.
2019-11-04 14:37:52 +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
mikeller 6aa25d15e2 Updated notice about STM32F3 support. 2019-11-03 14:57:52 +13:00
mikeller 541189be8e Added Travis CI badge to README.md. 2019-11-03 14:53:04 +13:00
Michael Keller 009de09795
Fix rc_smoothing_type blackbox header (#9140)
Fix rc_smoothing_type blackbox header
2019-11-03 11:46:01 +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 66095e966d Update vtx_info documentation 2019-11-02 09:33:47 +00: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 fadc45cbcb
Cleaned up parameter groups in Makefile. (#9116)
Cleaned up parameter groups in Makefile.
2019-10-31 01:14:35 +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
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 0aeece6b36 Move targets into legacy targets for 4.1.2. 2019-10-28 16:49:57 +13:00
Michael Keller b83e10481f
Removed legacy targets from the list of targets built in CI. (#9049)
Removed legacy targets from the list of targets built in CI.
2019-10-28 16:46:28 +13:00
mikeller 4a7904695e Moved 'config.[ch]' into the 'config/' directory. 2019-10-28 11:17:25 +13:00
mikeller 00149dbf96 Reduced list to only MATEKF405 for 4.1.1. 2019-10-28 10:51:04 +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
mikeller c2a64c79fc Cleaned up parameter groups in Makefile. 2019-10-27 22:36:42 +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
Bruce Luckcuck d155dc0ed4 hange max7456 driver to only perform stall check once a second instead of every drawScreen call
The max7456 driver performs a "stall check" looking to see if the device had stopped responding. It does this by reading the VM0 register and comparing it to the in-memory version. Presumably if communication failed because the device isn't responding then the result of the SPI transfer would be an unexpected value. If the incorrect value was returned then it would trigger a reinitialization in the hopes of getting the device to respond.

The problem is that this check was happening on **every** call to `displayDrawScreen` unnecessarily. So in the case of the OSD using the max7456 it would happen every 16.7ms (60hz) which is clearly overkill. The unnecessary register check was adding a fixed ~7us to every iteration of the OSD task (along with potential extra bus contention). So now the "stall test" is only performed once a second.
2019-10-26 17:18:11 -04:00
mikeller e7e46c578b Changed 'mspSerialPush()' to not check displayPort when requesting current data. 2019-10-26 22:05:10 +13:00
Dominic Clifton c8e69006f6 QUADSPI - Fix quadSpiTransmit1LINE when writing 1 or more bytes of data. 2019-10-25 01:04:21 +02:00
Kyle K 595007c177 amend notes in make_config_hex.sh for what released 2019-10-24 19:20:40 +00:00
Michael Keller 13d46c7d84
Add compass support for EXF722DUAL board. (#9092)
Add compass support for EXF722DUAL board.
2019-10-25 08:13:25 +13:00
Nicola De Pasquale 98d6105592 add altitude mode setting to msp 2019-10-23 22:54:33 +02:00
LinJieqiang 31e951570f Add compass support for EXF722DUAL board. 2019-10-23 21:58:59 +08:00
jflyper a183213ca3 Check TX buffer space before calling serialWrite
- Check TX buffer space before calling serialWrite (which
unconditionally manipulates buffer management variables).
- Added available TX buffer space as one of debug variables.
- Use blackboxWrite() instead of serialWrite in blackboxWriteString().
2019-10-23 11:14:59 +09:00
Michael Keller 040724bacd
Fix CLI task output header alignment (#9081)
Fix CLI task output header alignment
2019-10-23 13:20:49 +13:00
Michael Keller b704e753b9
Cleanup unused accResetFlightDynamicsTrims() function (#9080)
Cleanup unused accResetFlightDynamicsTrims() function
2019-10-23 13:20:40 +13:00
Bruce Luckcuck 781412022f Fix ESC_SENSOR blackbox debug overflow for more than 4 motors
Would cause an array index overflow if more than 4 motors and debug_mode ESC_SENSOR_RPM or ESC_SENSOR_TMP were used.
2019-10-22 18:45:33 -04:00
Michael Keller ca9005de66
Add MSP allowArmingWithoutFix (#9026)
Add MSP allowArmingWithoutFix
2019-10-22 11:44:58 +13:00
Michael Keller b45fe41d8d
Update CreatingAUnifiedTarget.md to make process clearer, step… (#9076)
Update CreatingAUnifiedTarget.md to make process clearer, step by step
2019-10-22 11:43:15 +13:00
Michael Keller 2503bff3a1
Add ACC_CALIB arming disabled reason if ACC is required but not… (#9031)
Add ACC_CALIB arming disabled reason if ACC is required but not calibrated
2019-10-22 11:42:52 +13:00
Michael Keller bb92da061e
Add debug code for blackbox output bandwidth measurement (#9060)
Add debug code for blackbox output bandwidth measurement
2019-10-22 11:28:46 +13:00
Michael Keller e853636080
Cleaned up 'taskUpdateRxMain'. (#9073)
Cleaned up 'taskUpdateRxMain'.
2019-10-22 11:27:51 +13:00