Commit Graph

16773 Commits

Author SHA1 Message Date
Michael Keller e228d797c9
Merge pull request #10670 from ctzsnooze/ff_improvements_2021
reduce FF jitter from duplicates
2021-04-27 15:36:42 +12:00
ctzsnooze d4f0ec2d0a feed forward jitter improvements 2021-04-27 12:47:06 +10:00
Hans Christian Olaussen ff95fc6471 Fix SPI timeout 2021-04-26 19:20:30 +02:00
Hans Christian Olaussen 242d5df827 tabs and spaces 2021-04-26 19:11:47 +02:00
Michael Keller 3ae7e917b7
Merge pull request #10707 from klutvott123/rc-data-float 2021-04-27 01:48:20 +12:00
mikeller 687c7014c0 Added MCU id / name for STM32G474. 2021-04-27 01:37:33 +12:00
Hans Christian Olaussen 3177cb3ec0 Update unit tests 2021-04-26 15:14:59 +02:00
Hans Christian Olaussen 8c28533c69 Preserve resolution of RC input 2021-04-26 15:14:58 +02:00
Michael Keller 87955d9734
Merge pull request #10566 from etracer65/osd_gps_coordinates_variants 2021-04-27 00:18:01 +12:00
Bruce Luckcuck 37dbbd0755 Add GPS coordinates OSD elements display variants; add support for Open Location Code display
Adds variations in GPS coordinate OSD element display:
1. Fractional degrees with 7 digits (default) - 000.0000000
2. Fractional degrees with 4 digits - 000.0000
3. Degrees, minutes, seconds - 000^00'00.0"E
4. Open Location Code (sometimed called Google Plus Code) - 23ABC4R8+M37

Uses Open Location Code library from:
https://github.com/google/open-location-code

Added support for `STATE(GPS_FIX_EVER)` to differentiate from having a fix now (`STATE(GPS_FIX)`) vs. ever having a fix.

Logic change to only display coordinates from the GPS module once a fix has been initially established. This prevents displaying interim coordinates supplied by the GPS while the fix is still being establised as these coordinates can be inaccurate by hundreds of miles. Once a fix is established initially then the coordinates will continue to be displayed even if the fix is lost or degrades in quality.

Add logic to "blink" the coordinates if the 3D fix is lost after initially being established. Alerts the user that the coordinate display may be inaccurate or no longer being updated. We want to keep the coordinates displayed to aid recovery if the user loses the fix (like crashing upside down).

Replace GPS defines `LAT` and `LON` used throughout the code with the enumeration:
```
typedef enum {
    GPS_LATITUDE,
    GPS_LONGITUDE
} gpsCoordinateType_e;
```

The Open Location Code option is bounded with `USE_GPS_PLUS_CODE` to allow it to be excluded if needed for targets with limited flash space. It currently fits for F411 but we may have to remove it in the future.
2021-04-26 23:43:11 +12:00
Michael Keller 8511ba930f
Merge pull request #10577 from mikeller/add_stm32g4_unified_target
Added Unified Target for STM32G4.
2021-04-26 23:30:20 +12:00
mikeller 55cf26ebbc Cleaned up matrix rotation. 2021-04-26 23:10:00 +12:00
tbs-fpv 8437b69254 revise the data structure of subset RC frames 2021-04-26 17:42:37 +08:00
tbs-fpv 565f23074f add unit test for crsfFrameCmdCRC 2021-04-26 17:09:32 +08:00
tbs-fpv e24d55f0a7 cosmetics 2021-04-26 17:08:03 +08:00
mikeller 6b87b3685c Remove unneeded library function 'powerf()'. 2021-04-26 16:50:54 +12:00
mikeller 03d3d94497 Added Unified Target for STM32G4. 2021-04-26 16:18:28 +12:00
Michael Keller 76b6415d34
Merge pull request #10655 from klutvott123/typo-fix
Fix typo in azure-pipelines.yml
2021-04-26 15:45:03 +12:00
Michael Keller 5f2c29c725
Merge pull request #10661 from klutvott123/msp-bytes-remaining-check-fix
MSP fix bytes remaining check
2021-04-26 15:39:07 +12:00
Michael Keller e887bf0159
Merge pull request #10663 from SteveCEvans/ll_spi
[H7][LIB] Remove duplicate definition of assert_param from LL spi
2021-04-26 15:19:02 +12:00
Michael Keller 9e115b466b
Merge pull request #10650 from ctzsnooze/PT2-and-PT3-for-rc_smoothing 2021-04-26 14:58:32 +12:00
Michael Keller f60bbbbbc2
Merge pull request #10684 from klutvott123/msp-add-gps-min-rescue-dth
MSP add GPS min rescue dth
2021-04-26 14:33:31 +12:00
ctzsnooze a096c99664 PT2 and PT3 filter maths PT3 for RC smoothing 2021-04-26 14:12:54 +12:00
Michael Keller 72d9868f8d
Merge pull request #10696 from hydra/bf-config-id-sd-card-fix
Fix infinite loop in SD card initialisation failure when CONFIG_IN_SDCARD is used.
2021-04-26 13:43:29 +12:00
Michael Keller 67535941d8
Merge pull request #10697 from TonyBlit/battery_doc
Small doc enhancements
2021-04-26 13:42:19 +12:00
Michael Keller 32ea34302e
Merge pull request #10698 from azolyoung/add_w25q64jvim_flash_support
add W25Q64JVXGIM flash support
2021-04-26 13:38:31 +12:00
Michael Keller 85b34b4c21
Merge pull request #10699 from TonyBlit/virtual_current_header
Fixes in comments in current.h
2021-04-26 13:37:41 +12:00
Michael Keller db571a78eb
Merge pull request #10603 from etracer65/fix_cms_rssi_dbm_alarm
Fix CMS RSSI dBm alarm data type and range
2021-04-26 13:13:42 +12:00
Michael Keller 122f8f29af
Merge pull request #10582 from dkustec/osd_tx_uplink_power 2021-04-26 12:53:39 +12:00
Michael Keller 7fbc422771
Merge pull request #10543 from mikeller/fix_displayport_allocation_inconsistency
Made the displayport initialisation consistent for all telemetry protocols.
2021-04-26 12:41:59 +12:00
Michael Keller 21009d20f2
Merge pull request #10649 from mikeller/fix_rx_task_check
Fixed RX task check.
2021-04-26 01:06:12 +12:00
Michael Keller 858d593c51
Merge pull request #10676 from Dishoungh/custom_config 2021-04-19 23:39:20 +12:00
Michael Keller 9be5c23d8a
Merge pull request #10623 from AlfredJKwack/patch-2 2021-04-19 23:12:39 +12:00
AlfredJKwack 247ebc8005
Update docs/Cli.md as per suggestion
Co-authored-by: haslinghuis <mark@numloq.nl>
2021-04-19 08:36:17 +02:00
AlfredJKwack b7848adf06
Update docs/Cli.md as per suggestion
Co-authored-by: haslinghuis <mark@numloq.nl>
2021-04-19 08:35:42 +02:00
AlfredJKwack a0294d8394
Update docs/Cli.md as per suggestion
Co-authored-by: haslinghuis <mark@numloq.nl>
2021-04-19 08:35:26 +02:00
Dominic Clifton c48fd62a58 Fix infinite loop in SD card initialisation failure when
CONFIG_IN_SDCARD is used.

Caused by there being no default for the SDCard config resulting in an
empty sdcard vtable.
2021-04-17 19:32:48 +02:00
Tony Cabello Miguel 06127f36fc fix comments 2021-04-16 16:09:54 +02:00
azol 2b21e2ff70 add W25Q64JVXGIM flash support 2021-04-16 14:24:54 +08:00
Tony Cabello Miguel 518bc1b165 Small doc enhancements 2021-04-16 07:49:25 +02:00
Steve Evans 5795b959c2 Handle timing for gpsUpdate task 2021-04-12 20:35:27 +01:00
Steve Evans a309bea8d7 Handle timing for gpsUpdate task 2021-04-12 19:39:29 +01:00
tbs-fpv 483b3cc5a7 add remarks to the unused variables 2021-04-12 20:14:54 +08:00
tbs-fpv 62c8e92b38 remove downlink_power in link stats TX frame 2021-04-12 11:31:54 +08:00
tbs-fpv 8872830410 fix the invalid payload size for link stats TX frame 2021-04-12 11:23:26 +08:00
tbs-fpv eb16326897 remove trailing spaces 2021-04-12 09:59:04 +08:00
Steve Evans 14236be7e3 Handle timing for ledStripUpdate task 2021-04-12 01:12:49 +01:00
Hans Christian Olaussen e401a0b1ab MSP add GPS min rescue dth 2021-04-11 16:21:44 +02:00
Dishoungh 02841fb9c6 Added custom board configuration documentation 2021-04-09 08:52:44 -05:00
tbs-fpv cbf9d355cd
clean up 2021-04-08 22:19:29 +08:00