Commit Graph
3658 Commits
Author SHA1 Message Date
Peter Feerick e930183395 fix: It is now 2023 2023-02-17 22:07:06 +10:00
HThurenandGitHub 27bf42d038 chore(translation): Updates to Danish - telemetri plot 🇩🇰 (#3166) 2023-02-15 16:24:38 +10:00
3695930242 fix: Sort mixer lines after loading model (#3172)
* fix: sort mixer lines after loading model

Fixes #2806

* fix(cpn): sort mixer lines after loading model

* More efficient swap

---------

Co-authored-by: elecpower <neilh713@tpg.com.au>
2023-02-15 15:11:13 +10:00
ulfhedlundandGitHub 205342b9b4 chore(translation): Swedish translation updates 🇸🇪 (#3194)
* A few additions and minor changes

* Minor changes

* Added timer string for PR #3173

* Missing save and delete theme

Added missing strings for Save theme and Delete theme
2023-02-15 13:03:16 +10:00
Neil HorneandGitHub 1913d65b10 fix(cpn): Update firmware mapping of firmware id to repo (#3160)
* fix(cpn): Update firmware mapping of firmware id to repo bin file

* typo
2023-02-13 20:42:47 +10:00
60cdb897ee feat(cpn): Radiomaster Boxer support (#2910)
* feat(cpn): Initial Radiomaster Boxer support

* fix(build): Halt if invalid simulator plugin specified

* fix: 6POS not correctly defined

* chore: Less EEPROM stuff needed

* Start of simulator support

* Enable left buttons and fix area mapping of page up and down

* fix(cpn): Internal reference to pots

---------

Co-authored-by: elecpower <neilh713@tpg.com.au>
2023-02-11 20:10:12 +10:00
ulfhedlundandGitHub d80adc6c4d chore: Updated SE translations 🇸🇪 (#3148)
* Updated translations, error fixes etc

* Minor changes

* Minor updates

* Update for PR #2998

* Added strings for PR #2998

* Minor error fix

* Two new strings translated

* Fixed spelling mistake

* Another minor fix

* Added translations for PR #3062

* Just a few corrections

* Add files via upload

New translations added

* Changes after PR #3119 translation clean up
2023-02-08 19:21:32 +10:00
46cc979875 fix: Regenerate yaml, carryTrim => trimSource cleanup (#3121)
PR #2995 didn't take into account the data model storage actually does change when you change a variable name. 
Boxer yaml generation was missed in earlier PR. 

* chore: Run `generate-yaml.sh`

* chore(cpn): carryTrim -> trimSource

* fix(build): Boxer missing from `generate-yaml`

* dodgy attempt to read old carryTrim

* fix: Don't break the byte boundary + reorder

* fix(yaml): indentation for attributes that should not be output

* chore: Regenerate YAML after rebase

---------

Co-authored-by: raphaelcoeffic <raphael.coeffic@frafos.com>
2023-02-05 13:46:02 +10:00
Neil HorneandGitHub 4cd43bb6c7 fix(cpn): Save "set main view" number for special/global function (#3132) 2023-02-03 20:59:06 +10:00
HThurenandGitHub 6f4abef36a chore: Updates to Danish translations 🇩🇰 (#3128)
* Qt changes and aligment in da.h

* Update companion_da.ts

Restore da to language="da_DA"
2023-02-02 13:25:00 +10:00
Neil HorneandGitHub d952333037 feat(cpn): Status dialog when writing models and settings to radio (#3043) 2023-01-26 13:53:13 +10:00
philmozandGitHub f7cdfdc2a9 fix(cpn): Joystick slider mappings (#3093) 2023-01-25 10:09:56 +10:00
eshifriandGitHub 8e8e78671a feat: Timer Voice & Haptic option, show elapsed speak time value when countdown (#2711)
* fix "odd" elapsed time announcement

* announce elapsed seconds

* Add support for "Beeps and Haptic" and "Voice and Haptic" for timer countdown.
2023-01-23 20:00:12 +10:00
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