Commit Graph
236 Commits
Author SHA1 Message Date
Neil HorneandGitHub 8b13813126 cpn(fix): Multi module DSM protocol options (#2724)
* cpn(fix): Multi module DSM protocol option check box

* Add servo rate option for multi DSM

* Use bitmap helper functions
2022-11-17 16:03:10 +10:00
3969b2b7e3 feat: Remove TR# mixsrc when trainer disabled (#2323)
* feat: Remove TR# mixsrc when trainer disabled
When trainer mode is not enabled, there is no point
showing the TR# mixer sources. Once you enable a
trainer option, they will become visible again.

* fix: Add missing "Input" check for B&W radios

* fix(cpn): Trainer mode default is off

* chore(cpn): If trainer mode off, hide TR/PPM srcs

* (cpn) Refresh all source lists on change of trainer mode

Co-authored-by: elecpower <neilh713@tpg.com.au>
2022-09-25 19:51:35 +10:00
be7a6a51ab feat: Allow the timer count direction to be selected (#2038)
* timer direction: ellapsed or left

* Add AUDIO announcement support

* Storage for showElapsed

* Translations

* Fix storage

* BW implementation

* Different BW implementation

* Companion support

* Color LCD implementation and rebase to lvgl

* Fix problems found by raphaelcoeffic

* chore: Regenerate the YAML files properly

* fix: Remove unused `TR_SHOW` remnant

* chore: Formatting and cleanup

* fix: Timer dir choice was shown in wrong place
Wrong newline used in ce23b50

* Fix cpn ui triggers, remove unnecessary code and some formatting

* fix(colorlcd): Hide timer dir opt if zero value

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
Co-authored-by: elecpower <neilh713@tpg.com.au>
2022-08-03 09:22:42 +10:00
Neil HorneandGitHub a07a215018 fix(companion): Timer switch list filtering (#2178) 2022-08-01 11:07:38 +10:00
Neil HorneandGitHub cba4e07ce1 fix: Pot and slider warnings weren't being set properly on radio or syncing with Companion (#1981)
- fix Companion yaml model read and write
- B&W radios treat bit values the same as color to avoid unnecessary complication for Companion and radio conversions
- B&W radios default is therefore off for all pots and sliders
- B&W radios fix runtime warnings check
- all radios fix to save last pot or slider position when checked and mode AUTO on change of model or power off
- all radios do not display Pots Warning in model setup if no pots or sliders supported
2022-06-07 13:04:40 +10:00
Neil HorneandGitHub 06e458e190 fix: Companion - antenna mode not displaying for new model (#1863) 2022-04-20 11:41:40 +10:00
Neil HorneandGitHub 6da73376e1 cpn: remove multi protocol Config from list (#1810) 2022-04-14 10:06:43 +10:00
Raphael CoefficandRaphael Coeffic 12e96e451f Added Companion support 2022-03-24 10:40:17 +01:00
Peter FeerickandRaphael Coeffic 3502f74830 cpn: Hide model telemetryBaudrate combo if int RF 2022-03-21 11:52:20 +01:00
Raphael Coeffic cb739fc11e Some fixes and proper defaults 2022-03-21 11:52:20 +01:00
Raphael Coeffic 17986843e3 Add Baudrate to Module Setup 2022-03-21 11:52:19 +01:00
ab15a5a514 chore: Companion - port of OpenTX function switches management (#1694)
* TPro - Port of OpenTX function switches management (https://github.com/opentx/opentx/pull/8847)

* cleanup

* Corrections

* Fix YAML generation and adjusted switches to match TPRO firmware

Co-authored-by: Batam <batam@macbook-pro.home>
2022-03-21 10:43:27 +10:00
Peter Feerick bc70f465bf fix: Companion showing Ghost 12bit checkbox when CROSSFIRE selected 2022-03-17 18:57:29 +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
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
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
elecpowerandRaphael Coeffic d7190493d5 Add Internal Module to companion 2022-01-02 13:05:09 +01:00
Raphael Coeffic 0c88f4e52b Small fixes 2021-12-31 10:53:11 +01:00
elecpowerandRaphael Coeffic 0200e1eaa7 Fix timer mode drop down list 2021-12-31 10:53:10 +01:00
elecpowerandRaphael Coeffic 9a07b83b00 Use item models for ui lists 2021-12-17 17:08:49 +01:00
3djcandRaphael Coeffic d31482c18b Introduce T-pro and function switches handling 2021-12-17 17:07:48 +01:00
elecpowerandPeter Feerick fb5d8a30d3 Add trainer mode OFF for NV14 2021-11-04 11:29:08 +10:00
elecpowerandPeter Feerick a62545a674 Merge pull request #8545 from opentx/opentx/fix-8541-trainer 2021-10-14 20:34:53 +11:00
Neil HorneandGitHub adf514fe16 Fix companion model edit image names (#848)
* Fix companion model edit bitmap image names

* Add radio conversion of file extension
2021-10-05 20:33:35 +11:00
elecpower 58dbb1c4ab Timer edit enable switch except when mode is off 2021-09-09 17:32:37 +10:00
Neil HorneandGitHub a9812688b0 Companion 2.5 (#555)
* Introduce yaml in Companion

* EdgeTX Companion
Replace some OpenTX refs
Data conversion to v220
Update Timers ui to cater for mode field split

* Fix some simulators crashing when started from Companion

* Disable firmware and app update checking and downloads from companion

* Some more rebranding

* Disable manual download actions and another rebrand

* Fix cmake warning

* Fix mode ON conversion gtests and enable switch in model edit

* Stop update message when updates turned off

* OpenTX #8580 Fixes missing negative sign for telemetry sources

* OpenTX #8604 fix curves tooltip colors

* OpenTX #8616 Fix release notes url references

* OpenTX #8548 Align file sync folder references

* OpenTX #8548 Link field once

* OpenTX #8550 Confirmation prompt before write models and settings to radio

* OpenTX #8550 Translate strings

* Title and splash images

* Change DEB package maintainer

* Start NV14

* NV14 continued

* NV14 sim

* Timer countdownStart data conversion and ui fixes

* Fix screen width

* Merge OpenTX PR 8675

* NV14 sim add computer keys and mouse to activate some functions

* Only allow supported protocols for each module on conversion

* Clear mismatched modules on conversion

* Replace colorlcd theme and layout blobs with detailed data structs in companion

* NV14 has 2 topbar zones

* Fix layout init

* Fix layout init again

* Reset to eepromimportexport.h to main branch

* Import/export does not like enum fields

* Model edit add custom screens tab for color and bw telemetry

* Free memory
2021-09-08 10:56:39 +10:00
Bertrand Songis 5d131093ef Merge with latest 2.3 2021-04-06 09:40:48 +02:00
elecpower 96825d04a0 Initialise variable 2021-03-19 07:13:25 +11:00
elecpower 39407ed241 Fix timers refresh 2021-03-18 07:00:37 +11:00
elecpower 1678753c9b Use data model for throttle src 2021-03-17 22:39:14 +11:00
elecpower 8576f25aff Rename function 2021-03-17 21:51:31 +11:00
elecpower 44cfbd43fb Use enhanced autocombobox for timer mode 2021-03-17 21:48:51 +11:00
elecpower 521bdde1fd Use autotimeedit in setup timers 2021-03-17 20:26:11 +11:00
elecpower 42f6828bb4 More timer tweaks 2021-03-17 06:06:10 +11:00
elecpower 38f1d249c9 Tweaks to auto objects and fixup filesyncdialog compile 2021-03-16 23:16:11 +11:00
elecpower 099d5f7608 Refactor setup and modelprinter 2021-03-16 09:50:00 +11:00
elecpower c40136d08a Add data models to setup timers 2021-03-14 23:35:52 +11:00
elecpower 5b44f150cf Limit sensors available as possible RSSI source 2021-03-10 07:45:36 +11:00
Bertrand Songis 6299c35844 [Companion] Racing mode support added 2021-02-08 22:46:11 +01:00
Kilrah a908efffa0 Fix 30s value 2021-01-26 13:31:47 +01:00
Kilrah f10eaa48ee Companion countdown start 2021-01-26 12:17:06 +01:00
elecpower 905886774f Major refactoring continued 2021-01-08 20:24:46 +11:00
elecpower 0d281cf5dd Major refactoring 2020-12-31 17:15:35 +11:00
Daniel 4be12eb5d1 Make strings translatables 2020-12-07 15:04:43 +00:00
Daniel 4c39aa115c Fix thr trim typo 2020-12-07 09:41:04 +00:00
Bertrand SongisandGitHub 3fdd830f13 Merge pull request #7939 from elecpower/cpn_data_models
Companion refactor of ui datamodels
2020-12-04 15:29:18 +01:00
elecpower 44c001916a Fix cpn setup failsafes refresh after start channel changed 2020-10-25 07:30:53 +11:00
DanielGeAandGitHub 78ccc22eac Throttle trim - Fixes 5635 (#7677)
Add throttle trim switch
2020-10-04 09:46:47 +02:00