Commit Graph
3459 Commits
Author SHA1 Message Date
Neil HorneandGitHub 87a3d2f9e7 fix: Companion decode of Act and Telemetry switches (#1708) 2022-03-20 19:18:30 +10:00
Peter Feerick bc70f465bf fix: Companion showing Ghost 12bit checkbox when CROSSFIRE selected 2022-03-17 18:57:29 +10:00
a1e7d70722 chore: Clean up some issues introduced in #1363
* Clean up some errors introduced in PR #1363

- Cleaning up bad YAML definitions
- Reverted renaming of 'jitterfilter' radio setting in storage/conversions/yaml/ files

* Add a custom attribute to allow for backward compatibility

* Prevent custom attributes without a 'write' function to output a tag

* companion - read but don't write old name

Co-authored-by: Raphael Coeffic <raphael.coeffic@frafos.com>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2022-03-16 18:07:26 +10:00
4571c7b724 chore: Companion - add support for GHOST 12bit opt (#1689)
* chore: Companion - add support for 12bit GHOST opt
Resolves #1510

* Ghost protocol reading and writing non-yaml formats

Co-authored-by: elecpower <neilh713@tpg.com.au>
2022-03-14 11:10:12 +10:00
ulfhedlundandRisto 7bf679908b Updated Swedish translations 2022-03-12 20:27:45 +01:00
Neil HorneandGitHub e0e196a6e6 feat: Companion - New model curve tab layout, curve edit dialog and mix edit curve view (#1484)
Add curve image and double click to edit to input edit, mix edit and outputs
2022-03-08 13:10:13 +10:00
Neil HorneandGitHub 70a4f6c154 fix: Companion will set critical radio general settings to profile defaults if mismatched boards (#1575)
* Do not import potentially conflicting radio settings

* Revert "Do not import potentially conflicting radio settings"

This reverts commit 06a19c04d6de341568362b87311264081aa3d38f.

* Override critical general settings to defaults when board mismatch
2022-03-08 11:49:34 +10:00
Neil HorneandGitHub f764dfcc2e fix: Serial/telemetry max baud rate wasn't being read/written correctly (#1570) 2022-03-08 11:36:29 +10:00
Neil HorneandGitHub 407ada00f8 fix: Companion wasn't reading/writing Haptic SF values correctly (#1571) 2022-02-08 12:18:14 +10:00
Neil HorneandGitHub ba93abc30c fix: Companion no longer implies will convert if profile mismatch on read + add board parameter if missing (#1572) 2022-02-08 11:17:32 +10:00
Neil HorneandGitHub 035bd391fb fix: Companion not reading/writing B&W telemetry screens correctly (#1562) 2022-02-08 10:15:08 +10:00
Neil HorneandGitHub e94730afc4 fix: Companion not correctly reading/writing trainer settings (#1560) 2022-02-06 11:22:07 +10:00
Neil HorneandGitHub 44f12ba7f0 feat: Improve searching for previous versions of companion app settings (#1540) 2022-02-04 10:50:22 +10:00
Neil HorneandGitHub 8158a8924d fix: Show default names in Companion if switch/source names only spaces (#1524) 2022-01-30 19:06:21 +10:00
Neil HorneandGitHub b865448752 fix: Telemetry "Ignore instances" option being unset by Companion (#1525) 2022-01-30 15:14:33 +10:00
bf931a5097 feat: Add facilty for custom throttle warning position (#1395)
* replace magic number for throttle idle with correct define

* settings for custom throttle warning position

* settings fixed not to break byte-aligment of bit-fields

* evaluate custom throttle warning position

* add requested throttle value to warning text

* comment about field alignment in ModelData struct

* Menu for editing custom throttle warning for 128x64 radios
Tested on RM TX12

* Improoved menu display

* move displayed strings to translation

* translation template added for each language

* support for 212x64 B&W radios

* menu for colorlcd
not tested

* corrected translation entry for TW

* corrected handling of padding bits in ModelData structure

* Companion support for custom throttle warning position

* Rebase catchup

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2022-01-30 15:04:40 +10:00
c3c8a2e3f1 feat: Model level ADC Jitter filter option (#1363)
* ADC Filter - On/off state configurable at the model level

* Updated YAML configuration to match change from ADC Filter feature commit

* Companion changes to support ADC jitter filter to be a model configuration item.

* Renamed jitterFilter field to noJitterFilter.

This better describes the semantic, which is inverted.

* Updated after review

* Re-run generate-yaml

* Changed ADC Jitter filter control on Model to be tri state.
Off, On or use the radio setting

* Adde NOBACKUP() to the added field

* Re-generate yaml_datastructs

* Making the default state to use radio setting/Global value

* Updated after review:
Changing to more consistent naming across firmware and companion.

* Reverted  files that was accidently added to the commit.

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2022-01-26 20:54:23 +10:00
d1ef6f866c [tpro] fix function switch behaviours and add always on capability (#1479)
* fix: tpro function switch toggle mode

* feat: Function switches now have alway on option

* Companion support for function switch always on

* Fix nasty eeprom error

* Update fs startup item model

* Fix Tpro SWITCH_EXISTS

Co-authored-by: 3djc <lesitewebdejc@hotmail.com>
Co-authored-by: elecpower <neilh713@tpg.com.au>
2022-01-23 18:42:31 +10:00
Peter Feerick c6a9101314 fix: Companion simulator breakage from #1480 2022-01-23 14:18:03 +10:00
Raphael Coeffic 83f03a81df Fixed logical switch index check in raw sources
Resolves #1474
2022-01-21 07:05:54 +01:00
Raphael Coeffic cdd933d6e1 Fix shift for logical switches in raw sources
Resolves #1439
2022-01-16 11:46:55 +01:00
Raphael Coeffic 064a71f7f2 Fix deserializing SLIDER[1,2]
Resolves #1419
2022-01-16 11:17:50 +01:00
Raphael Coeffic b8553928ed Fix trim switch index 2022-01-16 10:49:23 +01:00
Raphael Coeffic 8071807584 Fix flight mode trim disabled 2022-01-16 10:38:52 +01:00
Raphael Coeffic 82aa94848e Fix power ON/OFF delay 2022-01-16 10:28:04 +01:00
Raphael Coeffic e986af77eb Fix OFF backlight
Resolves #1447
2022-01-16 10:20:49 +01:00
Raphael Coeffic 5cb0ca469f Fix (de-)serializing enable param for backlight custom function
Resolves #1446
Resolves #1447
2022-01-16 10:13:57 +01:00
Raphael CoefficandGitHub 8150b00823 fix: [companion] Throttle trace source conversion error (#1401)
Accounts now for EX3 & EX4

Resolves #1398
2022-01-13 11:51:37 +10:00
PaddyandGitHub db392408b9 [companion] Show commit hash and link to github issues in About dialog (#1415)
* Include Git Commit Number into about popup and refferencing to the github commit via link

* Add Link to Create New Issue on Github

* Add Link to Create New Issue on Github
2022-01-12 11:32:06 +10:00
7a628d4c15 fix: Companion read/write of failsafe settings, how displayed on radio (#1399)
* Fix failsafe settings

Resolve #1393

* trigger save if failsafe numbers changed + cleanup

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2022-01-11 23:09:55 +10:00
Peter FeerickandPeter Feerick dc8f86700c [companion] fix: only write yaml to radio, not bin 2022-01-10 21:53:29 +10:00
Raphael Coeffic 1c8639baea Fix raw switch index checks (#1403)
Resolves #1403
2022-01-10 12:51:41 +01:00
Raphael Coeffic 22762e0a16 [companion] Properly write String zone option values 2022-01-10 08:32:49 +01:00
Neil HorneandGitHub fcf8fbdfff Companion hardware internal module continued (#1342)
* Add ability to undo hardware internal module change

* Add internal module protocol check on model edit

* Event driven check and update of all models

* Fix model edit dialog searches

* Add OFF to list of internal modules

* Fix internal module protocol list issue #1382
2022-01-10 11:13:21 +10:00
elecpowerandPeter Feerick b41cb2a75a Re-enable custom screens with new themes 2022-01-10 11:11:31 +10:00
Peter FeerickandGitHub 925043f4b3 fix: [companion] Show cause of error if unable to read from radio, scan MODELS dir if models.yml missing
Fallback to model file scanning if models.yml cannot be read
2022-01-10 10:13:40 +10:00
Raphael Coeffic 49e3e00b87 Fix models.yml for empty categories or unsorted models 2022-01-09 16:42:49 +01:00
Raphael Coeffic 67816e0d65 Fix current model index 2022-01-09 16:09:29 +01:00
Raphael Coeffic ff1e5cedc5 Add default category on-the-fly 2022-01-09 10:07:27 +01:00
Raphael Coeffic ef7a5d34c7 Improved errors displayed with corrupted YAML files
When reading directly from the radio's SD card.
2022-01-09 09:10:37 +01:00
Raphael Coeffic 748435fa8f Various small fixes 2022-01-08 17:10:25 +01:00
Neil HorneandGitHub 5aa866acc2 [companion] Remove no longer relevant EEPROM size column heading (#1381) 2022-01-08 11:01:09 +10:00
Raphael CoefficandGitHub 2a509187dd Fix 6POS switch (de-)serialization (#1367) 2022-01-08 08:57:41 +10:00
Raphael Coeffic 01ca714312 Fallback to model file scanning if models.yml cannot be read 2022-01-07 11:52:46 +01:00
Raphael CoefficandGitHub eb90b4a68d YAML Trainer data: iterate through nodes rather than assuming their presence (#1350)
Resolves #1349
2022-01-07 10:32:00 +10:00
Raphael CoefficandGitHub d97afb6f8e Fix switch indexes (#1362)
Resolves #1353
2022-01-07 10:31:37 +10:00
Raphael CoefficandGitHub c7e7443c30 Fix EDGE logical switch (de-)serialization (#1361)
Resolves #1359
2022-01-07 09:45:33 +10:00
Raphael Coeffic d1f56d6dfe Fix special function "enabled"/"repeat" decoding 2022-01-03 09:09:38 +01:00
Raphael Coeffic 7b2f983d04 Fix throttle source shift 2022-01-03 09:08:57 +01:00
Raphael Coeffic 944f98048a Do not include moduledata.h in boards.h
As it is used from the simulator classes, which uses radio source files as well.
2022-01-02 13:31:33 +01:00