-
-
Notifications
You must be signed in to change notification settings - Fork 362
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2.10rc1 conversion issue from 2.9.4 #4759
Comments
Oh, it was with Companion. |
I wasn't smart enough to review the model settings on the radio before working in Companion. I probably should do that. I found another issue after making field edits. Previously there were logical switches set to override the gear channel 12 with 100 or -100. After the migration, Ch12 became Ch16 in the configuration. I just corrected that since I opened the issue. |
There is a fix for reading binary files. |
This was a 2.9.4 radio updated to 2.10 and with 2.10 Companion on Mac. |
That would be helpful if you could check the radio before the settings are read into Companion.
It would be very helpful if you can upload the unbroken radio.yml and Avanti Jet modelnn.yml files ie do not use Companion. |
Both yml files are in the archive.zip of the original post. 2.9.4 and 2.10 post flash. |
I tried loading the 2.9.4 version file on my TX16S and it looked ok. So probably just some remaining Companion gremlins. |
Oops my bad missed them |
Companion 2.9.4 reads model 2.9.4 LS & RS The 2.9.4 model SFs display CH16 in Companion 2.9.4 and the yaml file has zero based index 15 which is 16 displayed |
I restored my radio to pre-2.10rc1. So I haven't been able to replicate whatever it was that happened--but something did happen because I had to re-program every use of RS and LS in the mix/ls/sf. The Ch16 override was present in 2.9 too, so not sure where that crept in, but that should be Ch12 override (gear). So let's scratch that off the list for this issue. |
Thank you for checking, it is much appreciated. I believe the issue is Companion reading the radio generated 2.10 yaml. The radio can handle the Companion variant but not the reverse. Leave it with me to fix. |
Okay so after going in circles for hours testing a myriad of combinations between Companion, sims and versions I believe I have the combination. Also, my statement 'Companion 2.10 RC1 mis-reads model 2.10.RC1 LS & RS' was due to opening your model file directly ie without a radio.yml file. Steps:
Cause: if you do not load a model on the radio after flashing the firmware, the non-active model files do not have their version updated and settings converted. However the radio.yml and the active model files will have their version updated and any conversions performed. When Companion reads the models and settings it currently only checks the radio.yml version to decide whether any conversions are necessary to radio and individual model files. When Companion writes the models and settings to the radio it updates the version to the Companion version across ALL files and writes the data (valid or not) to the files. Thus the reason for the warnings that come with every release about backups and checking all models and settings. |
Wow I'm glad to know at least you were able to uncover a scenario leading to breakage. Regarding the user perspective: I figured after updating to 2.10, I'd take it as an opportunity to go in and clean out some old models/labels. I like Companion for that type of maintenance. It sounds like the process you documented accurately outlines how it unfolded. |
I had a similar experience updating TX16S from 2.9.4 |
I hesitate at what remedy I should try to use |
2.10 RC2 will be out soon with a fix provided testing goes ok. However it will not fix corrupted files so you will need to restore your backed up pre 2.10 files and reload into the fixed version of Companion. |
Is there an existing issue for this problem?
What part of EdgeTX is the focus of this bug?
Transmitter firmware
Current Behavior
I flashed 2.10rc1 on top of 2.9.4. Installed Companion 2.10 on Mac. Read models and settings in Companion. Deleted a few old models, wrote models and settings to TX16s, and in my Avanti Jet configuration I lost RS and LS entries in the mixer, logical switches, and special functions. In the mixer I saw RS (gear) replaced with -- And LS (flaps replaced with -- in multiple locations throughout the configuration.
Expected Behavior
After flash, specified controls (sliders in my case) remain throughout the configuration.
Steps To Reproduce
Use the 2.9.4 yaml, on 2.9.4 firmware and verify LS/RS entries in mixer/LS/SF.
Flash 2.10RC1
Install Companion 2.10
In Companion read models settings. Delete a few models but do not make any changes to Avanti configuration.
Write models/settings to radio.
Note loss of LS/RS in mixer/LS/SF.
Version
Other (Please specify below)
Transmitter
RadioMaster TX16S / TX16SMK2
Operating System (OS)
macOS
OS Version
2.10RC1 and 2.10 Companion for Mac.
Anything else?
Archive.zip
The text was updated successfully, but these errors were encountered: