Commit Graph
162 Commits
Author SHA1 Message Date
philmozandGitHub 1931514140 feat: enable Companion simulator to switch UI language at runtime (#6510) 2025-11-03 09:57:09 +10:00
Neil HorneandGitHub 3e4b8530d1 chore(cpn): move exclusivecombogroup to shared (#6754) 2025-11-01 13:12:04 +10:00
Neil HorneandGitHub 17ecdc4c9c chore(cpn): remove radio settings calibration tab (#6726) 2025-10-29 11:57:32 +10:00
philmozandGitHub 75e8566623 feat(bw): add 'Model quick select' option (#6688) 2025-10-19 12:30:20 +10:00
Neil HorneandGitHub 2fe2c6cbe8 fix(cpn): profile radio settings management and use (#6654) 2025-10-18 20:42:44 +10:00
Neil HorneandGitHub c6668071ea chore(cpn): move global variables from flight/drive modes tab to own tab (#6624) 2025-10-11 07:53:25 +10:00
0c8c39b134 feat(radio): refactor of switch handling to better support customisable switches (#6095)
Co-authored-by: philmoz <phil.a.mitchell@gmail.com>
Co-authored-by: 3djc <3djc@gh.com>
Co-authored-by: elecpower <elecpower@users.noreply.github.com>
2025-07-28 12:59:22 +10:00
6bb65dfa9c feat: stick inversion (#6394)
Co-authored-by: philmoz <phil.a.mitchell@gmail.com>
2025-07-25 13:02:16 +10:00
9e86a3ea84 chore(cpn): upgrade to Ubuntu 22.04 and Qt 6.9.0 (#5986)
Co-authored-by: elecpower <elecpower@users.noreply.github.com>
Co-authored-by: raphaelcoeffic <1050031+raphaelcoeffic@users.noreply.github.com>
2025-07-23 14:04:19 +02:00
f4c019bbb1 feat: Flysky PL18U Support (#6114)
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2025-06-21 18:31:11 +10:00
9788d6254f feat(color): add Korean font and localization support (#6118)
Co-authored-by: Peter Feerick <pfeerick@users.noreply.github.com>
2025-04-26 09:57:39 +10:00
Peter FeerickandGitHub 8256688268 chore(cpn): add PL18EV support (#5849) 2025-01-30 11:10:36 +10:00
Neil HorneandGitHub 7b1ae2404c chore(cpn): generic simulator (#5692) 2025-01-01 11:48:17 +10:00
Neil HorneandGitHub 149e1a2df0 feat(cpn): add support for surface radios inc Radiomaster MT12 (#5381) 2024-09-26 20:39:51 +10:00
Paul TapperandGitHub af9ba9cef7 feat: option to automatically power off radio after inactivity (#3414) 2024-08-28 15:31:25 +10:00
Peter FeerickandGitHub ca459bb91c chore: replace all instances of outdated header (#5336) 2024-07-29 09:35:40 +10:00
philmozandGitHub 14417ebf40 fix: hide 'invert' toggle for multipos switches, fix cpn slider/pot invert state (#5160) 2024-06-13 10:37:55 +10:00
philmozandGitHub 763303c99d chore(cpn): cleanup build warnings (#5145) 2024-06-11 08:26:59 +10:00
philmozandGitHub 6207b1eae6 feat: add 0.5 second option to power on/off delays (#5134) 2024-06-10 11:55:31 +10:00
Peter FeerickandGitHub 42153fbb84 feat: option to disable power on/off haptic (#5017) 2024-06-09 11:13:26 +10:00
philmozandGitHub 65e05085a4 feat(bw128): add option to invert LCD/OLED display (#4933) 2024-06-06 07:52:45 +10:00
09d4066a23 feat: add ability to disable trainer warning on shutdown (#4831)
Co-authored-by: philmoz <phil.a.mitchell@gmail.com>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2024-05-08 11:19:18 +10:00
Neil HorneandGitHub 57c7aca2f6 fix(cpn): radio specific name and label validators (#4670)
Only allows valid characters in names, drops invalid characters if present
2024-02-28 11:35:57 +10:00
Neil HorneandGitHub b3c09dd35a chore(cpn): align general settings naming to radio (#4654) 2024-02-27 11:33:17 +10:00
philmozandGitHub cbdd70b80e feat(cpn): add support for new 'Manage Models' settings (#4599) 2024-02-07 10:40:39 +10:00
Neil HorneandGitHub 83294613f6 refactor(cpn): Support JSON radio hardware definitions (#4406) 2024-02-04 15:59:04 +10:00
Peter FeerickandGitHub 426670d21c fix(cpn): QT lupdate gremlins in translations (#4573) 2024-01-28 11:24:20 +10:00
b40c40d525 feat: Initial support for UA language translation (#4415)
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2024-01-25 10:12:22 +10:00
f80ee2973c feat(bw): Add inverted edit option for rotary encoder (#4401)
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2023-12-11 12:16:27 +10:00
cc17046e7a feat: Flysky PL18 Support (#4105)
Co-authored-by: raphaelcoeffic <raphael.coeffic@frafos.com>
Co-authored-by: rotorman <risto.koiva@web.de>
Co-authored-by: Xy201207 <yaoxu@flysky.com>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2023-12-06 09:00:44 +10:00
Neil HorneandGitHub 9dd4a1e95c chore(cpn): cmake use automoc and autouic (#4258) 2023-10-28 20:03:29 +10:00
a891c5e907 chore(cpn): Fetch maxlibqt from forked repo at compile time (#4249)
Co-authored-by: raphaelcoeffic <1050031+raphaelcoeffic@users.noreply.github.com>
2023-10-27 18:31:17 +10:00
philmozandGitHub d473fab90c fix(cpn): Align brightness settings with radio, Speaker Volume values (#4156) 2023-10-16 18:18:55 +10:00
philmozandGitHub 837677b3ef feat: Convert PPM_UNIT build option to runtime radio setting (#3993) 2023-10-10 19:47:50 +10:00
f40fa1a64b feat(el18): Use trim hats as keys for navigation (#3894)
Co-authored-by: elecpower <neilh713@tpg.com.au>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2023-09-29 20:12:54 +10:00
9e7a331fa6 feat: Splash screen delay opt for colorlcd, startup sound disable opt (#3451)
* Enable startup splash screen duration for color LCD radios.
Add option to disable startup sound.
Add Companion support for changes.

* Add translation string for Hebrew language file.

* Fix rebase.

* chore: Add T20

* Update translations.

* Update translations.

* Update translations.

* Update translations.

* Right justify radio setup controls.

* Use longer translations for all radios.

* Enable splash screen timeout for NV14/EL18.

* Suspend watchdog timer to prevent EM if long splash display time selected.

* Simplify SPLASH_TIMEOUT code.

* Use WDG_RESET instead of watchdogSuspend.

---------

Co-authored-by: Phil Mitchell <phil.a.mitchell@gmail.com>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2023-07-30 11:58:28 +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
632eceba6d feat(cpn): User configurable audio mute in radio settings (#3735)
* feat(cpn): User configurable audio mute in radio settings (#3710)

* CPN: user configurable audio mute in radio settings. Supports PR #3703

* make checkbox only visible for radios with AUDIO_MUTE_GPIO pin:

 - All color lcd radios (including NV14) except Horus X12S
 - TX12, TX12MK2, ZORRO, BOXER, T8, TLITE, TPRO, LR3PRO, COMMANDO8

* chore: Add Companion translations

---------

Co-authored-by: Michael <mha1@users.noreply.github.com>
2023-07-01 18:22:14 +10:00
philmozandGitHub 5327c890f2 feat: Add options to disable radio and model menu tabs (#3484)
* Add options to disable radio and model menu tabs.
- Update radio and model data structs
- UI for color LCD radios
- Convert existing 'noGlobalFunctions' property.
- Language strings.

* Make 'theme' control specific to color LCD radios.

* Add B&W radio UI.

* Simplify code, reduce compiled code size.
Fix page count display on model select tab.
Fix GVARS for 212x64 radios.

* Collapse timer sections if timer is off.

* Remove 'Use global functions' checkbox from B&W model setup.

* Make preflight checks, throttle and view options sections expand & collapse (default collapsed).

* Fix build.

* Add view options to companion data classes, save and load values in YAML files.
Fix scrolling for radio setup view options.

* Add Companion UI for view option settings.

* Remove 'Mixes' from list of tabs that can be hidden.

* Updated Companion UI from elecpower.

* Use view options flags to enable/disable functionality:
- skip heli mixer logic if heli not enabled
- Remove heli, gvars and telemetry options from source selection if not enabled

* Remove 'flight mode', 'curve' and 'global variable' settings from input & mix editors if option disabled.

* Rename 'View Options' to 'Enabled Features'.
Put GVAR option under Flight Mode and indent text.
Make relationship between FM and GV more obvious.

* Remove global variable option dependency on flight modes.
Hide FM1-FM8 in global variables if flight modes hidden.

* Hide 'Custom Mixer Scripts' in source selection menu popup if disabled.

* Add translation strings for Hebrew language file.

* Fix typo. Add comment for double call to setCurrentTab.
2023-05-22 20:08:16 +10:00
Neil HorneandGitHub 3692718e8a feat(cpn): Add Hebrew voice to radio settings (#3586) 2023-05-12 10:08:07 +10:00
816a823727 feat: Add support for Japanese voice language 🇯🇵 (#3261)
* Created tts_jp.cpp and added "TR_VOICE_JAPANESE" to the *.h file.

* Commented out once because the build did not work

* fix: Define `JP` as a TTS language,
- Fixes the undefined reference to `jpLanguagePack` error
- put things in alphabetical order as the comment suggests it should be

* chore: Add `JP` to Companion voice language list

---------

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2023-03-16 21:33:58 +10:00
philmozandGitHub 6e427615dd fix(cpn): Handling of the 'show splash' setting for B&W radios in Companion (#3336)
* Fix handling of the 'show splash' setting for B&W radios in Companion.

* Remove 'TODO' comment.
2023-03-13 11:05:12 +10:00
c84abbf739 chore(cpn): Allow configuring AUX serial port as "External module" (#2854)
* Add external module to hardware settings

* Use serial port aux1 rather than radio profile externalaccessmod
Move module conversion function from OpenTxFirmare to ModuleData

* Remove externalaccessmod from radio profile options

* Unnecessary CMake option HARDWARE_EXTERNAL_ACCESS_MOD removed.

---------

Co-authored-by: rotorman <risto.koiva@web.de>
2023-03-05 19:12:32 +10:00
Neil HorneandGitHub 8ee0336b5e fix(cpn): Align Internal/External antenna parameters with radio (#3050)
* fix(cpn): internal module antenna parameters

* Add xjt filter to model settings antenna
2023-02-27 16:23:13 +10:00
philmozandGitHub 3f08af6120 feat(color): Quick Model Select, keep active model in view when changing labels (#2895)
* Fix rebase merge issue.

* Incorporate solution from @ParkerEde in PR #2626

* Fix selection logic for models.

* Select model on first press.

* Fix quick model selection when using scroll wheel & enter button.
Add setting to enable quick model selection.

* German translation.

* Fix behaviour when 'model quick select' is off to work like existing 2.8 logic.

* Add translations.

* Prioritise active model as selected model when the set of visible models changes.

* Fix selection ordering when using scroll wheel.
Minor code cleanup.
2022-12-23 09:58:49 +10:00
5cf2141b59 chore(cpn): Run Qt Linguist updater, translation updates (#2685)
* chore(cpn): Run Qt Linguist updater

* Fix translation errors

* fix: Reference all available translations

* Add Chinese to available radio voice languages

* fix(cpn): Add missing voice languages to firmwares

* Add translation to analogs

Co-authored-by: elecpower <neilh713@tpg.com.au>
2022-12-21 10:41:54 +10:00
Neil HorneandGitHub 2a882c8499 fix(cpn): ACCESS owner registration id validation (#2687)
* fix(cpn): ACCESS owner registration id validation (#2672)

* Allow registration id for internal ISRM module

* Always display owner id
2022-12-10 15:16:58 +10:00
62692dba6a feat: More rotary encoder options for B&W screens (see #2045)
* First build

* Fix X9

* Update api_general.cpp

* Update translations.h

* clean up translations

* fix: B&W option handling, remove magic numbers, cleanup
- Remove references to invertRotary, change to RotEncDir or similar
- Add compatabilty importing to companion, firmware
- Rename Lua API call
- Move magic numbers to enum
- Improve B&W option handling so it doesn't apply changes while in menu

* chore: yaml regen

* fix: Add missing guards for X9D/X9D+

* fix: Wrong enum name in simu

* fix(cpn): Use correct names for UI elements

* fix: Translations

* fix: Allow `rotEncMode` in all yaml due to x9d var
Of the three X9D variants, the X9D+2019 is the only one that
has a rotary encoder as standard. However, as the base config
file is for the X9D, this meant it wasn't reading or writing the
config value. Rather than add a seperate config file for it for
a single variable, simple to just allow it across all targets.

* fix: Companion string, change colorlcd to `Choice`

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2022-08-04 20:06:17 +10:00
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