Commit Graph
67 Commits
Author SHA1 Message Date
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
Neil HorneandGitHub 96400a7aff feat(cpn): model notes and checklist files packaged with model files (#6578) 2025-10-02 14:47:29 +10:00
philmozandGitHub db0ea752db chore(cpn): set default for CFS to mimic 6POS (#6607) 2025-09-26 12:03:35 +10:00
Neil HorneandGitHub a9a0edefe8 chore(cpn): stop compiler warnings (#6523) 2025-08-17 20:17:47 +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
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
Neil HorneandGitHub 6973f07e07 fix(cpn): moving input line up to an empty line resulted in input data loss (#5994) 2025-03-19 09:36:42 +10:00
Neil HorneandGitHub ec3c5bf188 fix(cpn): inputs and mixes must have source (#5798) 2025-02-06 12:05:31 +10:00
Paul KendallandGitHub 574f753376 feat: process RC packets back from CRSF module as trainer input (#5724)
i.e. allow head tracker data to be relayed via backpack!
2025-01-03 10:01:12 +10:00
Neil HorneandGitHub d1423af0d1 chore(cpn): remove compiler warnings (#5719) 2024-12-19 10:28:38 +10:00
Peter FeerickandGitHub 0ea41f2146 fix(cpn): some trainer options not working (#5684) 2024-11-29 10:54:04 +10:00
Neil HorneandGitHub 149e1a2df0 feat(cpn): add support for surface radios inc Radiomaster MT12 (#5381) 2024-09-26 20:39:51 +10:00
philmozandGitHub 7e7deb21dc feat: new SF GV Adjust mode to copy source (instead of %) value (#5406) 2024-08-16 08:32:12 +10:00
Peter FeerickandGitHub ca459bb91c chore: replace all instances of outdated header (#5336) 2024-07-29 09:35:40 +10:00
philmozandGitHub 9a7e1dbca1 fix: enforce customisable switch rules when configuring (#4994) 2024-06-01 15:17:37 +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
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
Neil HorneandGitHub 8d8a50ce74 feat(cpn): Trainer modes more closely mimic firmware (#3981) 2023-09-04 19:46:33 +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
4e49ac68be feat(colorlcd): Special Function to set main screen (#2160)
* Special Function to set main screen (#2135)

* chore: Add new SF to LUA constants list

* Companion support

* Formatting

* get rid of magic number

* Add function to get the number of custom screens

* Change screen numbering from 0-based to 1-based.

* Allow SetScreen custom function for Color LCD only

* add range protection

* cleanup

* yet, range protection once again

* fix: paintSpecialFunctionLine can't alter SF param data

* Fix screen initialization in companion

* move screen switching to the UI

* Trigger view change from guiMain()

* chore: Change "SET" to "Set" for consistency

* fix: Somehow missed extra comma in `TW`

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
Co-authored-by: elecpower <neilh713@tpg.com.au>
Co-authored-by: Raphael Coeffic <raphael.coeffic@frafos.com>
2022-09-07 21:40:34 +10:00
elecpowerandPeter Feerick 8aa2b55c50 fix(cpn): Improve module and protocol conversion (#2237) 2022-09-01 20:56:59 +10:00
Neil HorneandGitHub c8e9ca0a32 fix: Companion trainer modes OFF and Master-Multi available for all radios (#1806)
* Allow trainer modes OFF and Master-Multi for all radios

* Change Trainer mode Off to the standard OFF

* fix: German for Trainer OFF, Master and Slave
2022-04-05 20:16:19 +10: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
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
elecpowerandRaphael Coeffic f5b398b32c Add function switches to model print and compare 2021-12-17 17:08:49 +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
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
elecpower 43655faee2 Check AND switch before clearing LS 2021-04-06 06:34:11 +10:00
elecpower 066b4eb7d7 For inputs and mixes when updating refs set 'new' FMs to safer option of inactive 2021-04-06 06:00:24 +10:00
elecpower b6ec55769c Fix upd ref type so clears refs equal to the one selected for deletion 2021-04-06 06:00:24 +10:00
elecpower 2537cc878a Keep pre-existing inactive logical switches 2021-04-06 05:52:01 +10: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 9372ff67c3 Cosmetics 2021-03-28 08:40:49 +11:00
elecpower 9fd4d28738 Move limitdata array manipulation from ui to model 2021-03-28 08:13:22 +11:00
elecpower 1747f9aa17 Remove debug line 2021-03-19 06:34:10 +11:00
elecpower 4e62d0b1b7 Fix model upd refs custom function reset timer 2021-03-19 06:17:35 +11:00
elecpower 110e1a5fc7 Move getElementName to helpers and move timerdata to own files 2021-03-13 07:38:47 +11:00
elecpower d10b16d4c6 Dynamic ui data models continued 2020-12-20 14:25:25 +11:00
elecpower d6dcc6ccc4 Use firmware capability for reset tele upd refs 2020-11-08 06:57:02 +11:00
elecpower 9901a4a0db Add missing update refs for reset telemetry sensor 2020-11-08 06:50:43 +11:00
elecpower 5767e9a7c1 Do not apply offset when clearing model references 2020-10-02 07:17:36 +10:00
Neil HorneandGitHub 6fa0382608 Fix channel reorder affect on mixes (#7911) 2020-09-06 10:59:37 +02:00
Neil HorneandGitHub 5a500cc055 Companion enhanced telemetry sensors context menu and other refinements across context menus (#7716)
Companion enhanced telemetry sensors context menu with reference updates
2020-09-04 18:36:58 +02:00