Commit Graph
727 Commits
Author SHA1 Message Date
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 6448b907d0 fix(cpn): Prevent crashing due to malformed theme.yml files (#1970)
Malformed yaml theme files would cause Companion to crash without indication of fault.
2022-06-04 11:20:42 +10:00
Neil HorneandGitHub b1adb18e39 fix(cpn): Improve layout and word wrap of Model -> Curves tab (#1923) 2022-05-04 19:47:48 +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 dc3b55771f fix: cpn: custom curve edit default points and expand curve tab details column (#1815) 2022-04-14 10:16:57 +10:00
Neil HorneandGitHub 6da73376e1 cpn: remove multi protocol Config from list (#1810) 2022-04-14 10:06:43 +10:00
Neil HorneandGitHub 4dfff74dd2 feat: cpn - Add context menu to curves tab images (#1803) 2022-04-05 15:04:31 +10:00
Neil HorneandGitHub 777b0a48ae fix: Companion improve themes exceptions handling (#1763) 2022-03-30 19:28:46 +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
Peter FeerickandGitHub cc609a6a3b feat: Major serial driver re-write - see #1089 for details
Serial refactor
2022-03-21 19:58:26 +10: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
Raphael Coeffic e37a8bff7d Added YAML serialPort
TODO:
- restrict serial modes for VCP
- allow a function to be assigned only to one port
2022-03-20 16:30:59 +01: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
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
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
elecpowerandPeter Feerick b41cb2a75a Re-enable custom screens with new themes 2022-01-10 11:11:31 +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 673ac5acbc Temporarily hide custom screens config for color lcd radios 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 b4f0e7ca8e Fix cpn mix list highlight 2021-10-28 19:46:27 +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
elecpowerandPeter Feerick 2b3835f567 Remove scale fields artifacts 2021-09-23 09:04:43 +10:00
elecpowerandPeter Feerick 9266ad1f34 Fix model input trims and cosmetic for scale fields 2021-09-22 18:57:27 +10:00
elecpowerandPeter Feerick 5596211be8 Fix input scale decimals, add sensor unit, add scale to inputs list and model print 2021-09-19 22:29:40 +10: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 SongisandGitHub b3fa941c3d Merge pull request #8339 from opentx/elecpower/cpn-crv-text-macos-fix
Companion curves text fix for MacOS
2021-05-12 18:04:21 +02:00
elecpower 3be966633a Remove reference comments and cosmetics 2021-05-12 19:58:47 +10:00
Bertrand Songis 5d131093ef Merge with latest 2.3 2021-04-06 09:40:48 +02:00
Bertrand SongisandGitHub 477a2a1bb7 Merge pull request #8357 from opentx/elecpower/cpn-inp-del-fix-8354
Companion fix delete input corruption
2021-04-05 10:57:19 +02:00
Bertrand SongisandGitHub e3b6840bb8 Merge pull request #8397 from opentx/elecpower/cpn-timerdata-refactor
Timers refactoring and model setup code enhancements
2021-04-05 10:41:32 +02:00
elecpower 9fd4d28738 Move limitdata array manipulation from ui to model 2021-03-28 08:13:22 +11: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