Commit Graph
3645 Commits
Author SHA1 Message Date
philmozandGitHub 7dc2f89917 fix(ui,cpn): Error in value conversion when loading LS data (#3026)
* Fix error in value conversion when loading logical switch data from YAML files (for 'Edge' and 'Timer' functions).

* Remove debug print.

* Fix handling of telemetry sensors in Companion.
2023-01-17 14:35:13 +10:00
philmozandGitHub 60ef3a545d fix(cpn): Delete old models from radio before saving new models (#3020)
* Delete model files from radio before saving them from Companion.

* Update comments. Show error if file delete fails.
2023-01-17 13:05:33 +10:00
Neil HorneandGitHub 472d5d1a7c fix(cpn): Use correct file types/extensions on Save and Export (#3025) 2023-01-17 12:04:11 +10:00
HThurenandGitHub 98318bfbab chore(translation): DA minor changes (#3053) 2023-01-17 11:57:58 +10:00
HThurenandGitHub b390c9156f fix(cpn): Translate OFF in external module setup (#2998)
* Translate OFF in external module setup

* Update moduledata.cpp
2023-01-15 12:10:34 +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
HThurenandGitHub cfff1d9dc7 chore(translation): Updates for Danish translations 🇩🇰 (#2907) 2022-12-21 10:59:40 +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
philmozandGitHub af040c9e2e fix(cpn): Ignore 'Quit' event in main window on MacOS if simulator running (#2874)
Prevents app crashing on exit while the simulator is open.
2022-12-20 21:15:35 +10:00
philmozandGitHub 2133d42bd2 fix(cpn): Size of the YamlStickConfig struct was set wrong (#2891)
The YamlStickConfig definition was defined and sized with CPN_MAX_SWITCHES (32) instead of CPN_MAX_STICKS (4).
When loading radio.yml this would overwrite 112 bytes past the end of the stickName array in the GeneralSettings class.
2022-12-20 08:59:55 +10:00
HThurenandGitHub 37e07ec95d chore(translation): Update Companion and Radio Danish Translations 🇩🇰 (#2738)
* Changes after using QtLinguist

* added _DA
2022-12-16 10:26:18 +10:00
philmozandGitHub a1c55a5b02 chore: Cleanup some compiler warnings (#2864) 2022-12-16 10:24:28 +10:00
c505f9eb01 fix(sim): Fix for 2POS switch logic affected by 6POS switch change (#2860)
* Fix 2POS switch logic in simulator. Recent change for 6POS switch broke the 2POS switches.

* Rework switch and pot controls in the simulator ensure consistent values, avoid extraneous events in Qt and, hopefully, simplify the code.

Co-authored-by: Phil Mitchell <phil.a.mitchell@gmail.com>
2022-12-14 18:57:01 +10:00
Neil HorneandGitHub 6f8fb7ca92 cpn(fix): set default voice language to en (#2834) 2022-12-11 12:13:06 +10:00
philmozandGitHub 1b0dab9d84 feat(sim): Forced style for POT/6POS knobs on MacOS for legibility (#2840) 2022-12-11 11:43:37 +10:00
a8bdf0c269 fix(cpn): Not saving on MacOS unless .etx in filename (#2830)
MacOS companion does not save models if ".etx" extension not in filename.

Co-authored-by: Phil Mitchell <phil.a.mitchell@gmail.com>
2022-12-11 11:42:09 +10:00
f67b3257c1 fix(sim): Consistent steps for 6POS (#2831)
* Fix for issue #2827.
Ensure consistent values for the TX16, 6 position switch, in the simulator.

* Adjust 'value' to achieve alignment of raw values to step positions.

Co-authored-by: Phil Mitchell <phil.a.mitchell@gmail.com>
2022-12-11 10:43:09 +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
Neil HorneandGitHub 85c098f11c cpn(fix): Release list order use version when available otherwise use date (#2823) 2022-12-07 09:37:14 +10:00
Raphael CoefficandGitHub 241c5e6925 chore(cpn): Update yaml-cpp submodule to get rid of warnings (#2751) 2022-12-06 19:46:54 +10:00
Neil HorneandGitHub 1bb48a087b chore(cpn): Remove some compiler warnings (#2752) 2022-12-06 19:45:39 +10:00
Neil HorneandGitHub f84c26b615 cpn(fix): yaml encode/decode telemetry sensor subId (#2756) 2022-11-18 13:30:23 +10:00
ulfhedlundandGitHub 3dc8843809 chore: Swedish translation corrections (#2755)
* Minor corrections

* Minor corrections
2022-11-18 13:26:33 +10:00
Neil HorneandGitHub 8b13813126 cpn(fix): Multi module DSM protocol options (#2724)
* cpn(fix): Multi module DSM protocol option check box

* Add servo rate option for multi DSM

* Use bitmap helper functions
2022-11-17 16:03:10 +10:00
Neil HorneandGitHub a88611ac27 cpn(fix): gyro and joystick (#2740)
* Add yaml conversion of gyro analogs

* Align XLites, X12S, X10 and T16 family gyro and joystick config with radios
2022-11-15 20:43:49 +10:00
HThurenandGitHub 8c707cc77c chore(cpn): More Danish translations (customfunctiondata) (#2681) 2022-11-06 10:09:12 +10:00
ulfhedlundandGitHub 9a9aba9824 chore: More Swedish translation updates (#2663)
* Minor updates

* Minor updates
2022-11-02 19:56:58 +10:00
HThurenandGitHub 3d687c6b7b chore: More translations to DK (#2656) 2022-11-01 12:08:47 +10:00
Neil HorneandGitHub a22075c1c6 fix(cpn): save component settings from Update Settings tab (#2635) 2022-10-28 13:00:22 +10:00
Neil HorneandGitHub 6b01a0c673 chore(cpn): Switch from component names to ids (#2602)
* cpn(fix): Switch from component names to ids

* Fix Win compile

* Sound packs list entries should not be editable
2022-10-27 21:52:05 +10:00
HThurenandGitHub 2532fae8ae chore(cpn): Updates to Danish translations 🇩🇰 (#2611) 2022-10-27 13:00:17 +10:00
curuvarandGitHub b703f9f305 fix(cpn): Workaround MacOS 13 filesystem type change (#2564) 2022-10-16 12:43:41 +10:00
Peter FeerickandGitHub 73aa2e5775 fix(cpn): Handle mixer scripts with no inputs def. (#2523)
Because it seems like I managed to configure it just so
and Companion didn't like that.
2022-10-12 19:23:27 +10:00
Raphael CoefficandGitHub 6f494e109c feat(telemetry): extend link quality warnings range (#2251)
* feat(telemetry): extend link quality warnings range

* Set default values to the old legacy FrSky values

* Companion support
2022-10-12 14:28:32 +10:00
Peter FeerickandGitHub af45201f64 feat(cpn): iFlight Commando8 support (#2244)
* feat(cpn): Initial iFlight Commando8 support

* fix: Commando8 doesn't have trainer port

* feat: Add Simulator for iFlight Commando8
Also some minor code re-order for BetaFPV LR3PRO

* chore: EEPROM_VARIANT not used

* chore: Remove EEPROM bits that don't seem needed

* fix: Build simulator plugin

* fix: Simulator PGUP/PGDN the right way around

* fix: Keep trainer mode in cpn for MPM, etc
2022-10-10 12:59:28 +10:00
ulfhedlundandGitHub 920812cc70 feat: More Swedish translation updates (#2490)
* Further improvements and additional translations for widgets (#2454)

* Change for wizard translation

* Minor changes

* Minor changes

* Moved translations for #2454 to correct location 

Put them at same location as in en.h

* chore: `BREAKSPACE` is not longer valid
2022-10-09 18:28:07 +10:00
ulfhedlundandGitHub c0e28d17ef feat: More Swedish Companion and Radio translation tweaks (#2450)
* Minor changes for added consistency w. radio

* Added translation for #2397

* Additional tweaks

* Additional tweaks
2022-10-03 13:04:23 +10:00
HThurenandGitHub 0e7fb9e77f feat: More Companion and Radio Danish translation tweaks (#2453) 2022-10-03 13:03:39 +10:00
eshifriandGitHub cc113c663c fix(cpn): Crash when "Set Main Screen" GF used and no model exists (#2439) 2022-10-02 15:11:49 +10:00
Neil HorneandGitHub 6723b21140 fix(cpn): Model print remove B&W EEPROM size (#2426) 2022-09-30 20:12:40 +10:00
Neil HorneandGitHub f42166d610 fix(cpn): Model print pot warnings (#2421) 2022-09-30 10:03:07 +10:00
ulfhedlundandGitHub 7fd3cf0507 feat: More Swedish translations 🇸🇪 (#2382)
* Minor changes

* Translations for new items (primarily related to update)

* One typo corrected
2022-09-29 10:52:21 +10:00
Neil HorneandGitHub ad86b934e0 fix(cpn): Start up interface error 301 (#2378) 2022-09-28 12:00:01 +10:00
73861554ec feat: Support for 8s Cell Sensor such as FrSky FLVS ADV (#2302)
* first commit for FrSky 8s Lipo Sensor

FLVS Advanced transfers up to 8 cell voltages for Cels sensor

* correcting mistake made transferring local change to PR

* complementary extension of Companion telemetry simulator to enable simulation of  8 cells

* change to allow selection of cells 7 and 8 in calculated sensor with formula Cell

* (cpn) Add bin and yml conversions and basic semantic version helper

Co-authored-by: elecpower <neilh713@tpg.com.au>
2022-09-27 20:06:26 +10:00
Neil HorneandGitHub 3563e917c6 feat(cpn): Enhancements to update component runtime options (#2324)
* enh(cpn): Save update component asset options and manage in app settings

* Add option to delete decompress folders independent of delete download folder

* Fix sdsync to point to last update folder

* Update options dlg to allow choosing release channel and saving settings as defaults

* Rename params

* Asset options dialog shared between settings and update run. Add to Save as defaults
2022-09-26 08:55:16 +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
ulfhedlundandGitHub 4343a504f4 fix: More Swedish translations and typo fixes 🇸🇪 (#2345)
* Corrected spelling mistake for TR_MOVE_UP

* New label-related items in MdiChild

* Added three not previously translated items

* Minor change

* Minor tweaks

* One minor spelling mistake fixed ("imgage" to "image")

Might cause some confusion for translators (did for me) but the text is probably is never displayed so perhaps doesn't really matter. Now fixed anyways.

* One misplaced bracket (causing build errors) removed

* A few additional improvements

* One minor change for "Menu laguage" translation

* Spelling error corrected
2022-09-23 13:01:02 +10:00
Peter Feerick 40149c487c fix(cpn): Zorro, not T-Lite talks to Lite modules
Also, BetaFPV LR3Pro doesn't talk to Lite modules
Fixes #2343
2022-09-22 21:27:11 +10:00
ulfhedlundandGitHub e4fc166e77 feat: Updated all Swedish Companion translations, minor changes to radio translations 🇸🇪 (#2321)
* New translations for download and update functionality (#2148)

* Minor changes only

* Added translations for setName

* Regenerated translation file using QT Linguist tool "lupdate", now complete to >99%

Regenerated Swedish translation file for Companion, using "lupdate" tool as described here: https://doc.qt.io/qt-5/qtlinguist-index.html.

The result:
Updating 'companion/src/translations/companion_sv.ts'...
    Found 2833 source text(s) (185 new and 2648 already existing)
    Removed 529 obsolete entries
    Number heuristic provided 3 translation(s)
    Same-text heuristic provided 29 translation(s)

Then reviewed and added all missing translations.

* Changes after PR review by @pfeerick

* fix: Re-add missing `TR_SF_SET_SCREEN`
2022-09-18 20:17:03 +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