Commit Graph
2958 Commits
Author SHA1 Message Date
Arne SchwabeandBertrand Songis 51d1e6e94a Add q303 multi protocols and fix subtype selection on 128x64 ui (#4286)
* Multi: add Q303 protocol and variants (CX10D/CX10WD)

* Fix subType selection on 128x64 UIs

* Fix options display on other radios for custom photo as well
2017-01-25 16:23:21 +01:00
Max PapernoandBertrand Songis 6e2474081f [Simulator] Further Simulator improvements. (#4282)
* Refactor CompStoreObj to use templates. Clean up some formatting.

* [Simulator] Add SimulatorOptions type to replace individual simulator options; Fix storage handler for custom types; Cleanup some redundant code.

* [Simulator][Joystick] Rework the joystick options/calibration dialog.  Can now enable/disable/select the Joystick from there. Delay start of calibration until Start is pressed (otherwise looks like last calibration didn't work). And generally refactor a lot of it to be smarter.

* Cosmetics.

* [Simulator] Add state handling for RadioWidget class. Split code to cpp file.

* [Simulator] Add SimulatorStartupDialog as its own UI class.

* [Simulator] Multiple changes and new features:
    All Horus data source options are now fully supported with data properly saved after use (SD path, .otx file, or custom data path);
    Loading .otx files now works for all radio types (but not saving data back to .otx);
    Switch and knob/slider states are now saved to per radio profile;
    Joystick configuration/calibration is now available directly from inside Simulator;
    Due to refactoring, all previously saved per-profile simulator settings are now invalid;
    Further consolidated simulator dialog startup/shutdown, now handles temp. paths internally, etc;
    With WIN_USE_CONSOLE defined, Simulator and Companion when started from Windows command line will now use that console for all messages (instead of opening a new one). This allows full debug output to be seen at all stages of execution and after exit.

* [Simulator] Fix build w/out SDL Joystick support.

* [Simulator] Fix bogus throttle warning on simulator start; Add forgotten RadioWidgetState flags to stream handlers; Add debug state saver in SimulatorOptions.
2017-01-25 16:20:45 +01:00
Bertrand Songis b53ec7392c [Companion] OTX format bug with X9D boards
The files were always converted as X9D doesn't have its own FourCC
2017-01-25 15:32:30 +01:00
Damjan Adamic 362698484f Url traces added (Companion) 2017-01-25 13:20:08 +01:00
3djcandDamjan Adamic cbe0dc60e6 Enable LUA_COMPILER (#4283)
Added Companon firmware option luac
2017-01-25 13:09:53 +01:00
Bertrand Songis de49d155c6 [Companion] Compilation fix 2017-01-24 22:06:28 +01:00
Bertrand Songis 57aafeb062 [Companion] Refactoring - fixes the X9E=>X7 conversion segfault 2017-01-24 20:08:48 +01:00
Damjan Adamic 36928b7b60 Cosmetics 2017-01-24 11:26:19 +01:00
Damjan Adamic 6d2ea5c801 Changes to allow compilation with Qt5.2 2017-01-24 10:19:20 +01:00
Max PapernoandBertrand Songis 17a03e6c18 [Simulator] Dyanamic Simulator virtual hardware generation and many other improvements (#4260)
* Move simulator widgets to subfolder (no code changes).

* [Simulator] Major Simulator re-structuring to reduce code redundancies and allow for fully dynamic simulated hardware setup:
    SimulatorDialog is no longer sub-classed by individual radio UIs, instead a new class is added which handles just the "skin," LCD, and navigation controls (also makes setting up new models much quicker);
    All radio switches/knobs/sliders are populated dynamically based on loaded hardware configuration data (eeprom/bin), including control types and names (in case of no hardware config data, reasonable "factory defaults" are loaded);
    Starting Horus sim with alternate path for RADIO and MODEL data folders is now supported (.otx file is WIP);
    6-way switch now works properly and various other inconsistencies addressed (eg. some Horus analogs were backwards).

* Add missing OpenTX headers to new files.

* [Simulator] Fix loading of Horus hardware settings from Companion simulation.

* Update Travis CI build environment to Qt 5.7.

* [Simulator] Fix 9X missing colored side LCD images, an #include fix, and some cleanup.

* [TravisCI] Set up for parallel Travis builds and use Qt5.7 (#4263)

* Fix starting Simulator with non-existing file/folder structure (now properly creates new ones as needed, including Horus directories with default radio/model);  Temporarily remove option for using .otx file with Horus (until that feature is added).

* Load correct simulator skin for X7 when launching from Companion.

* X7 hardware defaults changed to match production hardware

* Fix minor compiler warning in mdichild.cpp, and some cleanup in eeprominterface.cpp.

* [Simulator] Centralize radio UI flavor determination.

* [Simulator] Updates:
    Add X7 UI flavor;
    Centralize LCD settings;
    Simplify drawing curved UI widgets;
    LCD color can be changed for any 1/4-bit display radio;
    Slight change on default LCD "off" color;
    Refactor LcdWidget to not use globals.

* [Companion] X7 EEPROM import fix

+ cosmetics
+ compilation error fixed on Manjaro

* [Companion] 9XR-PRO EEPROM import fix

+ cosmetics
+ compilation error fixed on Manjaro

* Navigation fix
French translations

* [X7] Main view cosmetics

* Fix switch/ana custom name import

* [Simulator] Add white border above/below X7 bezel, and use white-colored padding on sides; Adjust X7 default LCD color.

* Does this work? (#4269)

Read an Horus SD card produces a temporary .otx file now

* Bsongis/companion warning before automatic conversions (#4271)

* Does this work?

* Warning before automatic conversions

* Force different file name after conversion (#4272)

* Force different file name after conversion

* More detailed instructions

* [Companion] Files automatically named during XXX => Horus conversions
2017-01-24 07:54:12 +01:00
Andre BernetandBertrand Songis bf15410bf1 3djc/x7 outputs (#4273)
[128x64] Rework Outputs screen
[X7] Fix for min/max limits bug
[X7/X9] UI fixes
2017-01-24 07:36:40 +01:00
3djcandBertrand Songis 6027c519e4 Force symlimits and ppmca for ARM (#4267)
Make PPM_LIMITS_SYMETRICAL(symlimits), PPM_CENTER_ADJUSTABLE(ppmca)  and CURVES mandatory on ARM platforms.
2017-01-23 20:08:39 +01:00
Bertrand Songis 227e412b68 [Companion] Cosmetics 2017-01-23 19:48:07 +01:00
3djcandBertrand Songis a5577da36d Fix firmware version recognition for Horus (#4276) 2017-01-23 19:42:31 +01:00
Bertrand Songis 05129b6785 [Companion] Horus default view setup 2017-01-22 19:07:46 +01:00
Bertrand Songis ff7c698371 [Companion] Files automatically named during XXX => Horus conversions 2017-01-22 18:17:14 +01:00
Andre BernetandBertrand Songis 7c33043ac0 Force different file name after conversion (#4272)
* Force different file name after conversion

* More detailed instructions
2017-01-22 17:44:55 +01:00
Andre Bernet 7990973b35 Revert "Fix Horus haptic mode (#4224)"
This reverts commit 9bbc595eb1.
2017-01-22 17:20:28 +01:00
Andre Bernet 9666a7f649 Horus model image support 2017-01-22 16:25:40 +01:00
Bertrand SongisandGitHub 285b8786b9 Bsongis/companion warning before automatic conversions (#4271)
* Does this work?

* Warning before automatic conversions
2017-01-22 15:31:22 +01:00
Andre Bernet 7a60714071 [companion] Missing General settings items added 2017-01-22 14:52:12 +01:00
Bertrand SongisandGitHub c21be4845e Does this work? (#4269)
Read an Horus SD card produces a temporary .otx file now
2017-01-22 14:08:13 +01:00
Andre Bernet 9bbc595eb1 Fix Horus haptic mode (#4224) 2017-01-22 13:19:20 +01:00
Andre Bernet d9d7920c1c Fix switch/ana custom name import 2017-01-22 12:08:55 +01:00
Bertrand Songis 7140eec2df [Companion] 9XR-PRO EEPROM import fix
+ cosmetics
+ compilation error fixed on Manjaro
2017-01-22 09:09:15 +01:00
Bertrand Songis 54d1cb8f9a [Companion] X7 EEPROM import fix
+ cosmetics
+ compilation error fixed on Manjaro
2017-01-21 23:56:34 +01:00
Max Paperno 3e9a60b9b7 Fix minor compiler warning in mdichild.cpp, and some cleanup in eeprominterface.cpp. 2017-01-21 16:47:54 -05:00
Andre Bernet e94d123404 Horus has 9 scripts 2017-01-21 20:12:48 +01:00
Andre Bernet 0ee59dc438 X7 hardware defaults changed to match production hardware 2017-01-21 12:21:57 +01:00
Bertrand Songis 0ff8ed35b9 [Companion] clang warning fixed 2017-01-20 20:10:07 +01:00
Damjan Adamic 7e0c461740 Copyright OpenTX Team 2011-2017 2017-01-20 20:00:21 +01:00
Damjan Adamic 0a351112dd Re #4224: Enable .otx file drag&drop on main window 2017-01-20 19:35:46 +01:00
Damjan Adamic f3521728ef Cosmetics 2017-01-20 19:22:18 +01:00
3djcandBertrand Songis 12a8770ad5 Companion : add Horus antenna handling (#4258)
Horus antenna handling
2017-01-20 07:40:13 +01:00
Bertrand Songis 212838f12a [Companion] clang / linux compilation fix 2017-01-20 07:38:46 +01:00
Bertrand Songis 28ccf7d8ee [Companion] Crash fix 2017-01-20 07:22:26 +01:00
Bertrand Songis 324544835a [Companion] Compilation fix 2017-01-19 21:31:18 +01:00
Damjan AdamicandBertrand Songis e59a51e25f Re #4224: Enable reading and writing Models and Settings from/to Horu… (#4254)
* Re #4224: Enable reading and writing Models and Settings from/to Horus radio (SD card)

* Fix for findMassstoragePath() on Windows (which got there in previous commit)
2017-01-19 21:26:18 +01:00
Bertrand Songis 3c62cbf200 [Companion] Better storage traces 2017-01-19 21:19:17 +01:00
Bertrand Songis 0d6f5b470b [Companion] Crash fixed 2017-01-19 19:14:55 +01:00
Bertrand Songis 1460620483 [Companion] Rename category function added 2017-01-18 18:43:12 +01:00
Bertrand Songis c707715f3d [Companion] Delete category function added 2017-01-18 16:37:38 +01:00
Bertrand Songis a412992783 [Companion] Conversions from Taranis to Horus (default category added) 2017-01-18 16:21:50 +01:00
Bertrand Songis 83380d288c [Companion] Refresh problems fixed 2017-01-18 15:46:12 +01:00
Bertrand Songis 01a4470e23 [Companion] Compilation fixes 2017-01-18 15:32:16 +01:00
Bertrand Songis 1924d28be3 [Companion] Fixes 2017-01-18 15:25:43 +01:00
3djcandBertrand Songis 38c7f1c7d3 Do not use color coded RSSI alarms on Taranis/Horus prints (#4253)
* Do not use color coded RSSI alarms on Taranis/Horus prints

* Cosmetics (yes, again :s)
2017-01-18 14:29:50 +01:00
Bertrand Songis b84398bcc7 [Companion] New fixes:
* New signal MainWindow::FirmwareChanged
* New RadioData conversions introduced
2017-01-18 12:57:01 +01:00
Bertrand Songis 173d5aba06 [Companion] Another fix for #4224 2017-01-18 11:34:21 +01:00
Bertrand Songis badea8e6a8 [Companion] Another fix for #4224 2017-01-18 11:29:05 +01:00