Commit Graph
883 Commits
Author SHA1 Message Date
Frankie ArzuandGitHub a362feed91 feat(dsm): process new format for Spektrum Sky_ID GPS frames (#5355) 2024-07-31 11:07:56 +10:00
Raphael CoefficandGitHub 9518dca3f9 feat: telemetry buffer for all internal modules (#5267) 2024-07-08 21:41:43 +10:00
961c75784e feat: Fatfish F16 support (main) (#4485)
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2024-06-30 11:55:35 +10:00
MichaelandGitHub ed4a4a27bb fix(mlink): sometimes need > 1s timeout for MLink telem (#5119) 2024-06-04 11:14:06 +10:00
Raphael CoefficandGitHub d6c6ea1f23 fix: compilation without audio or modules (#5103) 2024-06-02 15:31:11 +10:00
3djcandGitHub d45450921d feat: ELRS bind command support (#4907) 2024-06-02 12:03:15 +10:00
3djcandGitHub 4ce34419ad feat: allow T20V2 internal ELRS max baud to go up to 5.25M (#4970) 2024-05-06 17:43:52 +10:00
MichaelandGitHub 402953cfa9 fix(telemetry): wrong scaling after changing unit to RPM (#4875) 2024-05-05 10:54:03 +10:00
3djcandGitHub 8a57e48f55 fix: pxx2 can transport 24 channels (#4871) 2024-04-15 09:28:57 +10:00
Frankie ArzuandGitHub e3f2914871 fix(telemetry): temperature UNIT conversion when temperature has decimals (#4728) 2024-04-03 11:57:37 +10:00
philmozandGitHub 6c5eada23a refactor: FLASH size optimisations for B&W (#4827) 2024-04-01 09:43:50 +10:00
Frankie ArzuandGitHub 991b0c4b3c fix(telemetry): frsky angles should be be signed (allow negative) (#4733) 2024-03-25 12:57:32 +10:00
ThomasKuehneandGitHub 3fe7b0e420 chore: remove executable permission from non-executable files (#4766) 2024-03-21 09:23:43 +10:00
HThurenandGitHub 5b4b3aa09a chore: formatting of telemetry structs for readability (#4753) 2024-03-18 10:27:53 +10:00
84a90a75e4 feat: support Jumper T20 V2 (#4701)
Co-authored-by: 3djc <3djc@gh.com>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2024-03-14 19:08:59 +10:00
Frankie ArzuandGitHub 6ad79109d7 fix(telemetry): process DSM LIPO Cells Monitor sensor correctly (#4720) 2024-03-13 19:24:44 +10:00
Frankie ArzuandGitHub 454e70cedd fix(telemetry): DSM/LemonRX sensor cleanup for Altimeter and Flight Pack Monitors (#4600) 2024-02-11 18:55:13 +10:00
Frankie ArzuandGitHub db03122bec fix(telemetry): Remove 10x multiplier for Frsky_D A1..A2 voltage sensor value (#4583)
Affects all Frsky_D derived telemetry (i.e. MPM => OMP)
2024-02-03 16:19:51 +10:00
Frankie ArzuandGitHub fb28d2e750 fix(DSM): Longitude truncated when greater than 99 deg (#4515) 2024-01-08 10:12:31 +10:00
Frankie ArzuandGitHub 526a87e1f1 fix: Properly scale PREC2 sensor values using "ratio" (#4083) 2024-01-07 10:19:17 +10:00
fa12b27438 feat(radio): Discover SBUS trainer availability (#4266)
Co-authored-by: raphaelcoeffic <1050031+raphaelcoeffic@users.noreply.github.com>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2024-01-05 11:48:46 +10:00
MichaelandGitHub 587a14361f fix(telemetry): Inconsistent/wrong GPS distance calculation (#4442) 2023-12-21 19:16:56 +10:00
Frankie ArzuandGitHub cd89e06194 fix(color): Refreshing of GPS and DATE_TIME telemetry when using Value Widget (#4250) 2023-11-04 15:26:50 +10:00
Peter FeerickandGitHub 5eb9af3a4e feat: Audio prompt for initial telemetry connect (#4216) 2023-10-31 10:50:32 +10:00
c93695eeaa perf: Process CRSF telemetry by frame (#4038)
Co-authored-by: 3djc <lesitewebdejc@hotmail.com>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2023-10-19 13:31:30 +10:00
MichaelandGitHub a79a556417 chore: Typo in mlink variable name (#4214) 2023-10-17 07:33:10 +10:00
MichaelandGitHub 0cb945a288 fix: Change MLink sensor name for RX quality to RQly (#4177) 2023-10-16 20:33:07 +10:00
Raphael CoefficandGitHub ee9d50dca4 fix: Incorrect MPM module status (#4198) 2023-10-15 16:27:38 +10:00
Raphael CoefficandGitHub ff2b3ac22a fix: Internal PXX exclusive S.PORT (#3822) 2023-10-13 09:48:32 +10:00
5fd22612aa feat: Add support for latest FrSky receivers (#4077)
Co-authored-by: Bertrand Songis <bsongis@gmail.com>
Co-authored-by: raphaelcoeffic <raphael.coeffic@frafos.com>
2023-10-09 19:22:57 +10:00
Peter Feerick e8077021f6 chore: Formatting #3780
Forgot to push before merge
2023-10-01 15:21:44 +10:00
Raphael CoefficandGitHub 00cb9c48df refactor: Notify module driver on config changes (#3780) 2023-10-01 15:19:17 +10:00
ef6316ef6c chore(radio): Move const data from RAM to FLASH. (#4098)
Co-authored-by: philmoz <phil.a.mitchell@gmail.com>
2023-09-29 10:19:06 +02:00
Frankie ArzuandGitHub 6f40ea44ad fix(ibus): Separate lat long sensors merged to single GPS sensor (#4080) 2023-09-26 13:50:17 +10:00
philmozandGitHub c502dbeaee chore(radio): Reduce size of the data structures in FLASH storage (#3979)
* Reduce size of the YamlNode structure in FLASH storage.
Fix compiler warning.

* Further reduction of FLASH used by YamlNode structures.

* Reduce size of sensor definition arrays and audio tone volumes array.
2023-09-24 14:18:11 +10:00
philmozandGitHub 662bcb08d0 fix(color): Detect changes to telemetry sensors that return strings (#4071) 2023-09-20 11:40:08 +10:00
philmozandGitHub e4f845c844 chore(radio): Fix some compiler warnings when building firmware (#4058) 2023-09-20 11:16:48 +10:00
c4f1e7127d chores(flysky): Separate AFHDS2A and AFHDS3 into 2 different module type (#3783)
* chores(flysky): separate AFHDS2A and AFHDS3 into 2 different module type

This should allow to remove some of the hacks added earlier.

* chore: Add some EL18 CI bits

* fix(afhds): cmake defs

* fix(ci): add el18 to commit-tests.sh

* chore(cpn): separate AFHDS2A and AFHDS3

* chore(cpn): remove binary import of afhds and legacy fxFreq field for afhds3

* fix(cpn): limit available internal afhds protocols to those supported by hardware

* chore(cpn): update Flysky int module test

* fix(cpn): compile error

* fix(cpn): afhds2a max channels

* fix: TR_MODULE_PROTOCOLS

* enh(cpn): more support for afhds2a and 3

* fix(cpn): rebase compile error

* fix(cpn): bit indexes

* fix(cpn): emi toString

* fix(cpn): limit available internal afhds protocols to those supported by hardware

* enh(cpn): add support for Flysky EL18

* fix(cpn): available protocols

* fix(cpn): rebase moduledata

* chore(cpn): add module fields to model print

* Separate AFHDS2A and AFHDS3 UI settings.

* Fix AFHDS3 conversion from old subtype value.
Fix 'Channel Range' layout on portrait LCD.

* Fix name.

---------

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
Co-authored-by: elecpower <neilh713@tpg.com.au>
Co-authored-by: Phil Mitchell <phil.a.mitchell@gmail.com>
2023-09-07 19:24:03 +10:00
3djcandGitHub ae8e1fff8a fix: Trainer jack initialisation and driver cleanup (#3811) 2023-08-09 21:08:42 +10:00
richardclliandGitHub c2c9c5a757 fix: Some AFHDS2A/AFHDS3 GPS/ALT telemetry handling issues (#3582)
* Fix widgets vs. sensors (TX16s/FS-IA6B FW2.8.3) and updated meaningful units.

* Updated the GPS sensors to degree unit.

* Fixed a bug in AFHDS2 Alt decoding.

* Fixed a typo.

* Update GPS sensors format.

* Change Long/Lat unit to RAW.
2023-08-04 15:30:10 +10:00
philmozandGitHub bd92f70056 feat: Support all current timezones for GPS (#3406)
* Support all current timezones.

* Fix function name and calculation for timezone offset.

* Allow setting any time offset value from -12 to +14 in 15 minutes increments.

* Alternate timezone editor in Companion (from elecpower).

* Fix compiler warning.

* chore: Add the T20
2023-07-16 14:02:27 +10:00
3djcandGitHub 7f669f12d9 feat: Add initial Jumper T20 support (#3726)
* Jumper T20

* Fix center beeps

* Add option to pinch top trim as well to bootloader

* chore: Regenerate yaml

* chore: Add entry for Buddy

* Jumper T20

* Foldable section for fonction swith and fix preflight pot checks

* Remove duplicated entry

* Rename "function switches" to "customizable switches"

* chore: Add translations

* chore: Update translations

* chore: Update Companion translations/wording
2023-07-07 10:44:14 +10:00
3djcandGitHub 8f0ad3fca8 fix: Allow compile without multimodule support (#3750) 2023-07-03 19:07:02 +10:00
3djcandGitHub 050123b928 feat: Initial support for Jumper TPro V2 (#3718)
* Jumper TPro V2

* Small Fixes

* Small Fixes

* Small Fixes

* fix: ENABLE_SERIAL_PASSTHROUGH enables CLI

* chore: Add missing entry for tprov2

* Cosmetics
2023-07-01 17:25:10 +10:00
MichaelandGitHub 15849956ce chore: Remove rssiSource and use default value (#3643)
* fixes #2552

- remove edit option rssiSource
- reset rssiOption to default (none) if carried over from OpenTX conversion

* deleted rssiSource functional code Companion, simulator and radio

* forgot one commented line
2023-06-23 13:52:54 +10:00
cb533f4493 fix(AFHDS3): Sync UI with Flysky AFHDS3 module stored settings (#3501)
* Refresh UI module settings when AHFDS3 config is updated.

* Fix scroll order for module options when 'FlySky' module type selected.
Fix simulator crash issues related to FlySky module.

* Fixed UI refresh problems in UI widget ordering fix.

* Refresh config when receiver is connected.

* Disable change of bind time options when receiver is connected.

* Rename methods to better distinguish between buffer fill or actual send.

* Clean and tidy up AFHDS3 state flow.

* Implemented settings sync upon setting changes.

* Added RF power settings for IRM301/FRM303.

* Added RF power sensors for FRM303.

* Fixed config not saved and only FRM303 supports RF power settings.

* Fixed RF power command error.

* Fixed a crash for IRM301.

* Always check if port exists and return nullptr for driver.

* fix: Make Companion preserve settings *as is*

---------

Co-authored-by: Phil Mitchell <phil.a.mitchell@gmail.com>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2023-06-19 19:00:02 +08:00
Frankie ArzuandGitHub bdb78ba2ef fix(telemetry): DSM Flight Pack Monitor Sensor encoding (#3690)
Fix the Flight Pack sensor processing.

The main problem was that we expected the data to come in big-endian encoding, but in reality, the sensor send it in little-endian.   This was causing the 1st byte to change much faster, and eventually move into the negative value.

Added more validations to handle little-endian values, and recognize NO-DATA scenarios
2023-06-19 12:39:40 +10:00
MichaelandGitHub bd89b01370 fix: HoTT telemetry GPS latitude sign may be wrong in certain circumstances (#3649)
* evaluate every N/S hemisphere latitude position for setting sign in decimal GPS coordinates

* explicit struct init
2023-06-08 15:39:05 +10:00
Frankie ArzuandGitHub be1a20f595 fix (telemetry): DSM Telemetry fixes for ESC sensor, Binary GPS, RX Battery Sensor Capacity meter (#3615)
* #3368 DSM Telemetry Fixes

1. Expand constants for telemetry frame SIDs and optimize flow of processing of sensors (less CPU work)
2. Add Binary GPS
3. Add Dual Battery Sensor monitor
4. Fix bad math on some ESC sensors
5. Fix problem where ESC RPM sensor was changed from "Erpm" to "EscR".. fix it back to "Erpm" for compatibility with 2.8.x

* #3368 DSM Telemetry Fixes

1. Split long if-then-else code into more granular function.
2. fix ESC VBEC (BEC voltage)
3. Improve testing function
2023-05-27 17:55:26 +10:00
MichaelandGitHub ce5d62af78 fix: Rqly % rx stat type for PPM MLINK telemetry protocol (#3605) 2023-05-17 17:05:27 +10:00