Commit Graph
114 Commits
Author SHA1 Message Date
2ee75033bb feat(color): Add OneBit option to color radios (and Companion!!) (#1994)
* Added OneBit option also to color radios

* Try to work around GH repo owner issue

Original by @raphaelcoeffic in https://github.com/EdgeTX/edgetx/commit/bf4b5d8c0c1e386d5a4852a80d459540bab98ed3

* Add Companion support for radios with external module

* Companion housekeeping - do not display unnecessary hardware section headings

* fix: Rebase cleanup

* fix: LVGL changes

* feat: Move sample mode to a new Ext RF block

Co-authored-by: elecpower <neilh713@tpg.com.au>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2022-07-22 11:00:20 +10:00
HThurenandGitHub b1ca5bb7ca Changes to add danish translations - companion and radio 🇩🇰 (#2101)
Added Danish translations to Companion and radio firmware.
2022-07-02 21:15:32 +02:00
6b557e49ea USB-VCP no OFF if internal RF module is set to CRSF (#1957)
* Do not list OFF on VCP menu if internal RF module is set to CRSF to allow pass-through flashing.
Set USB-VCP automatically to CLI when CRSF mode is selected for internal module and it was previously OFF. Activate CLI when iCRSF is selected.

* Companion part

Co-authored-by: elecpower <neilh713@tpg.com.au>
2022-05-30 22:14:08 +02:00
Neil HorneandGitHub 4856b03891 fix(companion): Update label for VCP to USB-VCP missed in #1849 (#1910) 2022-04-27 21:32:00 +10:00
elecpower 586940f976 Companion support for software serial power 2022-04-20 23:58:24 +10:00
d9b51f8ecf feat: Deadzone option for NV14 sticks (#1777)
Imported from open-flysky/Flysky-OpenTX-Test-Branch

* companion: Don't nuke `stickDeadZone` setting

* Implement data storage properly

* Add missing check for NV14 storage struct sizes

* Formatting

* Use one less byte in the packed data struct
Thanks @raphaelcoeffic :)

* Move setting of stickDeadZone default

* Use a Choice combo rather than NumberEdit

* Good riddance magic number

* Also set default stick zone if setting is missing

* Teach tests about `STICK_DEAD_ZONE`

* Tweak choice width

* Cpn NV14 add stick dead zone to hardware and section labels

* Cpn NV14 align default pot names to radio

Co-authored-by: elecpower <neilh713@tpg.com.au>
2022-04-06 10:30:20 +10:00
Peter FeerickandGitHub b54ad7169a feat: Option for inverting rotary encoder direction (#1690)
* feat: Add option for rotary encoder direction
Based heavily on opentx/opentx#8852 by @3djc

* companion ui elements

* Cleanup

* Hook up UI, reading setting from yaml

* Teach simulator about rotEncDirection

* Simu and radio default scroll direction correction
Otherwise the "default" would be the opposite to how it has always been

* Remove what will be a confict with fix in #1586

* Wasn't using rotEncDirection consistently

* Zorro RE dir is opp to TX16, TX12, TPro, X9D+2019
2022-03-22 16:14:57 +10:00
Raphael Coeffic cb739fc11e Some fixes and proper defaults 2022-03-21 11:52:20 +01:00
Raphael Coeffic ebfb0b61f0 Companion: YAML and hardware panel 2022-03-21 11:52:19 +01:00
Raphael Coeffic 6f3ad75821 Serial port settings are mutually exclusive 2022-03-20 16:30:59 +01: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
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
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 417c7f1247 Prompt to check all models when harwdare setting changed 2022-01-02 13:05:09 +01:00
elecpowerandRaphael Coeffic d7190493d5 Add Internal Module to companion 2022-01-02 13:05:09 +01:00
elecpowerandRaphael Coeffic 23c84633da Companion support for EXT3 EXT4 and FlySky gimbals 2021-12-31 10:53:10 +01:00
Malte LangermannandGitHub 5614646861 Improve backlight handling on color lcd radios (#998)
* no more backlight off mode for color lcd radios
disable backlight input controls in radio setup screen, when they are not used by the selected backlight mode
force backlight on to be at least the brightness of backlight off

* do not allow to set the display brightness below the configured off brightness, except when display mode is set to ON.

* Revert "do not allow to set the display brightness below the configured off brightness, except when display mode is set to ON."

This reverts commit e153a8dc658d53f5420c912e7543d6d0a9fe6ed9.
2021-11-12 12:19:45 +11:00
elecpowerandPeter Feerick 313e60b3dd Remove txvoltagecalibration from companion hardware settings 2021-10-11 10:33:01 +11:00
elecpower 1a8502e284 Refactor setup hardware, trainer and calibration 2021-04-16 07:02:09 +10:00
3djc d4aec69b3f Allow a wider range for battery settings in companion to care for 1S 2021-02-15 13:22:43 +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
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
3djcandGitHub d9d58d637b Prevent selection of impossible switch type in radio hardware (#8083)
* Prevent selection of impossible switch type in radio hardware
2020-11-14 14:59:12 +01:00
3djcandGitHub e1e67a9d8c Add support for radiomaster TX12 (#8080)
* Add tx12 support
2020-11-14 11:48:46 +01:00
3djc 84e34fe7fd Cosmetics 2020-10-30 17:50:03 +01:00
Andre BernetandGitHub bcc5f90c36 [companion] Add sport power support (fix #8047) (#8050) 2020-10-30 17:05:40 +01:00
elecpower af4c5524b1 Refactor to directly call updates to data models 2020-10-02 07:06:00 +10:00
elecpower 1e0e22955d Refactor to Model level ui datamodels for sources, switches and curves 2020-09-17 14:30:20 +10:00
Bertrand Songis 476e1e9d8d Cosmetics 2020-08-28 16:02:11 +02:00
Neil HorneandGitHub 94026e5d7f Companion fix radio setup console runtime qt warnings (#7886) 2020-08-28 16:00:35 +02:00
Kilrah 7a1feb0d9a Fix some trainer/BT availability issues 2020-07-20 21:50:05 +02:00
3djcandGitHub 2d01916055 Preliminary T18 support (#7581) 2020-06-22 21:15:47 +02:00
DanielGeAandGitHub 5d4f6679e5 Remove Avr boards (#7713)
Remove AVR
2020-06-22 16:52:52 +02:00
3djcandGitHub ef8640a773 Allow alphanumerical in ownerID (#7523) 2020-04-21 12:14:24 +02:00
3djcandGitHub 0f9114c524 Initial TX16S (#7344)
* TX16S initial push - Radio booting, navigation keys ok

* TX16S libsimu

* Please Travis

* Do not start radio on charger power

* USB charger led handling

* Revert "USB charger led handling" until we have proper details

* Pseudo sport power pin

* Please Travis

* tx16s serial debug

* Add tx16s calibration picture

* Review anadir for tx16s, needs to be checked on more radios

* Dump raw multi telem on AUX port

* More work on TX16S

* Fixes

* Compilation fix

* Compilation fix

* Fix Aux Serial power

* Various improvement

* USB charger led handling

* Cosmetics

* Cosmetics

* USB charger led handling

* Add charge indicator on GUI
2020-01-30 17:25:09 +04:00
3djcandBertrand Songis dc3e9b4153 Lets pretend it never happened... (#7271) 2020-01-06 09:07:46 +01:00
3djcandBertrand Songis 810d2d7978 Various fixes around Companion trainer mode (#7116)
Various fixes around Companion trainer mode
Fixes #7091
2019-11-26 14:53:45 +01:00
3djcandBertrand Songis 03b4ed0c3f Fix name in hardware panel for x7 additional switches (#7082) 2019-11-13 12:44:03 +01:00
3djcandBertrand Songis af5f3586f2 Allow disabling RTC batt check (#6861)
Allow disabling RTC batt check
2019-09-30 15:55:03 +02:00
Bertrand SongisandGitHub 6c530c6f7b External antenna configuration: proposal for #4285 (#6656)
External antenna configuration
2019-09-06 11:26:18 +02:00
Bertrand SongisandGitHub 0fe2b8918b Bsongis/companion import issues (#6698)
Companion import / export issues
2019-09-02 15:29:27 +02:00
Raphael CoefficandBertrand Songis 706e96de95 setup power delay instead of speed (#6694) 2019-09-01 17:52:21 +02:00
Raphael Coeffic fa8fbb6dbb Added general registrationId 2019-08-17 21:23:53 +02:00
Raphael Coeffic 7a377a73db [X10/X12S] Companion fixes
Radio settings and models can now be loaded just fine.
2019-08-17 19:35:47 +02:00
Raphael Coeffic 83efad8f43 use signed pwr on/off speed from -1 to 2 (delay 0 to 3) 2019-08-16 23:44:00 +02:00
Raphael Coeffic 995888ae41 Add support for pwr-on and power-off speed 2019-08-16 21:02:47 +02:00
3djcandAndre Bernet cd3c4ac654 Add Jumper t12 support by 3djc (#6451)
* Jumper T12 - companion part

* more work

* Add definitions

* fix libsimulator key handling

* Fix simu keys handling

* Cosmetics

* Continued

* Fix wrong regplace

* Fix wrong regplace

* Please travis

* Please travis

* Add T12 to Travis
Switch naming and display

* Cosmetics

* Work on modules

* Work on modules

* typo

* Fix navigation

* Cosmetics

* Introduce NAVIGATION_type

* Fix

* Make NAVIGATION_type more future proof

* Lots of cleanups and improvements

* Cosmetics

* Fix internal module menu

* Cosmetics

* Fix screen reversed

* Small fixes

* Fix navigation issue

* Please travis

* Fix LCD contrast

* Fix T12 switch layout

* Fix T12 keys screen and all radios keys translations

* Complete rework of SWITCHES screen for all radios

* comsetics

* VC++ compilation
2019-05-26 19:51:17 +02:00
Neil HorneandBertrand Songis 9d84ca9578 Wrong search & replace 2019-05-18 23:39:55 +02:00
Bertrand Songis dab0bd30d9 Gyro added, dead code removed 2019-05-10 16:45:42 +02:00