Commit Graph
47 Commits
Author SHA1 Message Date
philmozandGitHub e80406b274 feat: simple global control for backlight/brightness and volume (#6684) 2026-01-04 17:56:50 +10:00
Neil HorneandGitHub 5f37969b27 fix(cpn): logical switch global variable unit and precision (#6906) 2025-12-26 11:17:08 +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
0da292001d feat(h7): increase GVAR limit to 15 (#6597)
Co-authored-by: elecpower <elecpower@users.noreply.github.com>
2025-10-01 19:07:08 +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
Neil HorneandGitHub 6ac4476b45 fix(cpn): units for special telemetry (Batt, Time, GPS) (#6382) 2025-06-22 19:31:22 +10:00
Neil HorneandGitHub 149e1a2df0 feat(cpn): add support for surface radios inc Radiomaster MT12 (#5381) 2024-09-26 20:39:51 +10:00
d417228677 feat: special function to push customisable switches (#5497)
Co-authored-by: philmoz <phil.a.mitchell@gmail.com>
Co-authored-by: elecpower <elecpower@users.noreply.github.com>
2024-09-14 11:56:42 +10:00
Peter FeerickandGitHub ca459bb91c chore: replace all instances of outdated header (#5336) 2024-07-29 09:35:40 +10:00
4b917b762c feat: use any source for expo/weight/offset (#5220)
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>
2024-07-26 20:51:21 +10:00
Neil HorneandGitHub 199e09ed4e fix(cpn): profile conversion of models and settings (#5151) 2024-06-12 10:20:49 +10:00
philmozandGitHub aa87148fe9 fix(cpn): crash when going into radio settings due to customisable switch groups source (#5141)
Unexpected side effect of #5016
2024-06-10 10:27:49 +10:00
280d3af62c feat: customisable switch generated source groups (#5016)
Co-authored-by: elecpower <neilh713@tpg.com.au>
2024-06-08 07:51:46 +10:00
80659c3e3f feat: add inverted sources (#4722)
Co-authored-by: elecpower <neilh713@tpg.com.au>
2024-05-25 09:25:15 +10:00
Neil HorneandGitHub 83294613f6 refactor(cpn): Support JSON radio hardware definitions (#4406) 2024-02-04 15:59:04 +10:00
a467d2c176 feat(cpn): Jumper T20 support (#4227)
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2023-10-24 20:40:02 +10:00
Neil HorneandGitHub cb08a4de25 feat(cpn): Only show active channels in source lists (#3971) 2023-09-02 18:45:29 +10:00
Neil HorneandGitHub ceba62650e fix(cpn): Application crash when editing radio settings (#3978) 2023-08-29 18:42:31 +10:00
MichaelandGitHub 2d8d2fcf01 feat: MIN constant as a source option (#3639)
* feature request #1635

- added MIN (-MAX -> -1024) as source

* fix rebase

* fix rebase

* change to use language strings for MIN/MAX instead of instance

updated CN and TX language file for MINuse -RESX for MIN instead of magi numbercode cleanup

* updated test sources

* updated JP language

* JP language: changed translation text

* updated HE language translations
2023-08-28 20:16:00 +10:00
Neil HorneandGitHub e46d00e7d0 fix(cpn): Only timers with active modes should be included in lists (#3956)
* disable timers with mode OFF

* fix isModeOff to reference mode not switch

* update model edit source lists when timer mode changed

* add timer mode test to reset function

* add timer mode test for Set and Reset functions

* change yaml special source TIMERx to Tmrx
2023-08-28 20:02:54 +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
RistoGitHubNiel Horne (elecpower), Raphael Coeffic (raphaelcoeffic) and Peter Feerick (pfeerick).
9dc4065525 feat: Add support for SpaceMouse mod (6D input knob) (#1853)
Use `-DSPACEMOUSE=YES` CMake option to activate on Horus color targets.
Co-authored-by: Niel Horne (elecpower), Raphael Coeffic (raphaelcoeffic) and Peter Feerick (pfeerick).
2022-09-18 09:23:48 +02: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
Neil HorneandGitHub 8158a8924d fix: Show default names in Companion if switch/source names only spaces (#1524) 2022-01-30 19:06:21 +10:00
elecpowerandRaphael Coeffic ac9ce745bd Move cyc source to firmware 2021-12-31 10:53:10 +01:00
elecpowerandRaphael Coeffic 4c92f9dbc9 Move special source lookup to firmware 2021-12-31 10:53:10 +01:00
elecpowerandRaphael Coeffic 0857c5d9ea Reduce future maintenance of source type special 2021-12-31 10:53:10 +01:00
elecpowerandRaphael Coeffic 0421774a68 Cpn add TX GPS source 2021-12-31 10:53:10 +01:00
elecpowerandPeter Feerick 09159c2a03 Handle model mix conversion with invalid sources 2021-11-07 14:50:09 +10:00
Neil HorneandGitHub ddd033f034 Stop Companion crash when conversion source index out of range (#8470) 2021-04-24 12:59:21 +02:00
Neil HorneandGitHub 77f1840af6 Fix 8463 (#8464) 2021-04-23 07:06:27 +02:00
elecpower 5321a8afe9 Refactor sensor printing 2021-01-16 06:22:28 +11:00
elecpower d10b16d4c6 Dynamic ui data models continued 2020-12-20 14:25:25 +11:00
3djcandGitHub e1e67a9d8c Add support for radiomaster TX12 (#8080)
* Add tx12 support
2020-11-14 11:48:46 +01:00
Neil HorneandGitHub 1a9a6c1f49 Companion fix sources lists for X10 and T16 radios and improve radio conversion of sources (#7888)
* Fix Horus T16 rawsource conversions

* Companion fix unknown source

* Refactor rawsource conversion between radios

* Better handling of Mouse Analogs for x10

* Fix unknown sources for X10 and T16

* Revert "Fix unknown sources for X10 and T16"

This reverts commit dfe3909ee4f7c985ac5ec27cae3a55cb6c0a15fc.

* Companion fix unknown source

* Cosmetics

* Cosmetics

* Clear rawswitch when no match

* Check forced conv successful
2020-08-28 15:59:20 +02:00
Neil HorneandGitHub 6264e8524e Add timer name to source lists and remove unused code (#7838) 2020-07-31 16:23:29 +02:00
DanielGeAandGitHub 5d4f6679e5 Remove Avr boards (#7713)
Remove AVR
2020-06-22 16:52:52 +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
Bertrand SongisandGitHub 6c530c6f7b External antenna configuration: proposal for #4285 (#6656)
External antenna configuration
2019-09-06 11:26:18 +02:00
Bertrand Songis 75a5dfef24 Warnings removed 2019-08-12 14:54:16 +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
Bertrand Songis e42945b861 Cosmetics 2019-05-10 22:43:01 +02:00
Max Paperno 3b8d177861 [Companion] Start RawSource / RawSwitch data models refactor; Create RawSourceItemModel and RawSourceFilterItemModel. 2018-07-12 13:20:06 -04:00
Bertrand SongisandGitHub c4001c8507 Bsongis/frsky xlite (#5574)
FrSky X-Lite support added
2018-01-02 14:36:48 +01:00
Bertrand SongisandGitHub 269831e0c4 Fixes #5502 (#5575)
* Fixes #5502

* RAS renamed to SWR
2018-01-02 10:41:15 +01:00
Max PapernoandBertrand Songis a951292f27 [Companion] Radio data translation/strings (#5554)
* [Companion] Add Qt tr() functions to all radio data classes instead of using generic QObject type.  (no functional changes)

* Small fix for gcc.

* Move more element name string generation to individual classes; settle on nameToString as function name.

* Also put firmware build options translations into Firmware scope.
2017-12-21 18:26:11 +01:00
Max PapernoandBertrand Songis 59a835b1b3 [Companion] Radio data refactoring (#5551)
* [Companion] Refactor radio data classes to own files, out of eeprominterface.cpp.  No functional changes.

* Move files related to refactoring. No functional or code changes.

* Fix clang warning and an include path.

* Fix indents on curvereference.cpp. [ci skip]
2017-12-20 13:31:43 +01:00