Commit Graph
96 Commits
Author SHA1 Message Date
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
KilrahandBertrand Songis 8ab05f89c3 Add jack config to companion 2018-11-03 16:56:51 +01:00
Kilrah 9df21ceb6e NL TTS as copy of EN as per new info on #6108. 2018-08-19 11:43:04 +02:00
Kilrah d3d5e6f215 Sync companion TTS language list with firmware (fix #6108) 2018-08-18 11:53:28 +02:00
3djcandBertrand Songis 6898efcc02 Prevent X9E simu crash when BT is enabled (#5966)
* Better 'non horus BT' XE handling

* Cleanup

* Adjust BT message for X9E

* [Companion][HardwarePanel][X9E] Change BT Mode options to OFF/Enabled, X9E only.
2018-06-13 22:25:22 +02:00
Max Paperno cd8f006d31 [Companion] HardwarePanel - fix saving of Bluetooth Mode selection (and related Qt warning), introduced in a87722b. 2018-06-02 21:10:51 -04:00
3djcandBertrand Songis a87722b078 Add BT mode handling (#5926)
Enable BT for Xlite and X7
2018-06-02 18:15:37 +02:00
Arne SchwabeandBertrand Songis ce77fbd2ff No longer use deprecated qt5_use_modules (#5931)
QT 5.11 finally removes the qt5_use_modules macro.
Instead target_link_libraries with the Qt5::Lib added should be used.
Since we already use that in one place, it should work everywhere. Since
the common companion lib already depends on Core, widges and multimedia
components that link against it, also implicitly link against those
libraries.
2018-06-02 18:14:49 +02:00
3djc 455093ca23 Adapt FAI warning message 2018-03-03 18:58:08 +01:00
Bertrand SongisandGitHub c4001c8507 Bsongis/frsky xlite (#5574)
FrSky X-Lite support added
2018-01-02 14:36:48 +01:00
Alexander NovikovandBertrand Songis 84d2a22b18 [Companion] Missing "Russian" voice in Radio Settings (#5570) 2017-12-29 01:11:46 +01:00
Max PapernoandBertrand Songis f018425e12 [Companion] Qualify all translation strings (#5557)
* [Companion] Qualify all remaining QObject translations with proper class/object names; Centralize some common strings into constants.h.

* [Companion] Replace all instances of some common strings with macros from constants.h.

* [Companion] Fix translation warnings from lupdate.
2017-12-25 13:36:34 +01:00
Raphael CoefficandBertrand Songis 934578118b added support for min/max contrast to eeprom interface and use it (#5473)
Added support for min/max contrast to eeprom interface and use it. Fixes #5468
2017-12-07 22:10:24 +01:00
Kilrah 12a0d6d5bc [companion] LCD type was not read (fix #5337) 2017-11-10 10:12:27 +01:00
Arne SchwabeandBertrand Songis b7acee5723 Allow USB mode selection on USB connect (#5193)
Allow all USB modes to be compiled in at the same time
2017-09-10 17:28:08 +02:00
Bertrand SongisandAndre Bernet 76e72c8a86 RssiPowerOff alarm enabled by default (#5129)
* RssiPowerOff alarm enabled by default
+ Companion support

* Fix continuously toggling RSSI on shutdown setting on X9
2017-08-04 11:01:52 +02:00
Max PapernoandBertrand Songis 24de312a30 [Companion] Some radio settings Hardware tab fixes. (#4895)
* [Companion] Radio -> General Settings -> Hardware: Hide external serial port option for Horus; Fix battery voltage and current calibration changes not registering (wrong signal handler name); Prevent modified() event if edited value wasn't actually changed (this is a problem in all panels with onEditingFinished() signals); Fix some cosmetic layout issues when no hardware names are editable.

* [HardwarePanel] Minor layout fix for BT option.

* [HardwarePanel] Fix comparison issue.
2017-05-06 18:08:55 +02:00
Max PapernoandBertrand Songis 72b1ad085f [Companion] Show custom channel, G-Var, and Curve names throughout UI. (#4874)
* [Companion] Move RadioData constructor.

* [Companion] Move getCapability(SwitchPositions) to Boards class.

* [Companion] Show custom channel, g-var, & curve names throughout UI; Remove redundant name formatting and other unused functions in ModelPrinter and Helpers; Add CustomFunctionData::isEmpty().

* [Companion] Add LogicalSwitchData::isEmpty().

* [Companion] Fix small bug in HardwarePanel.

* [Companion] Rename logical switches to "LSw##" in selections lists to avoid confusion with "L#" and "LS" hardware controls; remove unused RotaryEncoderString().
2017-04-29 09:03:53 +02:00
Max PapernoandBertrand Songis 5dabe53af4 Minor misc. fixes (#4729)
* [Simulator] Remove extraneous format value in microsTimer; Better way to delete SimulatorStartupDialog (in case no event loop starts).

* [Simulator] No helpers dependency for SimulatorStartupDialog.

* [simpgmspace] Rename micros timer function and make externally available.

* [Companion] Fix possible uninitialized value in TreeModel (compiler warning).

* [multi_arm] Fix minor compiler warning (MSVC: "unsafe mix of type 'uint8_t' and type 'bool' in operation").

* [lua] Fix compiler warning ("'data' may be used uninitialized in this function").

* [OpenTxSimulator] Fix analogs array range.

* [Simulator] Auto-start simulator when SimulatorMainWindow is first shown (vs. before it was shown).

* [Simulator] DebugOutput: prevent possible mutex deadlock on buffer overflow (force queued connection for Qt < 5.3).

* [Companion] Display calibration data for Horus joysticks (MOUSE1/MOUSE2)
2017-04-01 08:13:24 +02:00