FrSkyRC / ETHOS-Feedback-Community

Feedback & suggestions are welcomed here for ETHOS by FrSky
188 stars 85 forks source link

Option to switch vars global #3487

Open WhiskeyGolf opened 7 months ago

WhiskeyGolf commented 7 months ago

It would be useful if you had the option to switch vars globally like the special functions.

Toffs commented 7 months ago

Agreed.

Edit: Actually, no I don't quite follow. I think Vars would surely need to be 'per model' - as most (nearly all) of the calculations they are used for is with model specific entities? Thinking about it, what I would like is the ability to take a Vars (or multiple Vars) and copy/paste between models. Then edit the bits that might need re-linking if there's a difference between each model.

This keeps the 'per model' Vars logic, but also resolves the issue of having to do lots of manual programming if a user setups up a new Vars and wants to use for many models (quite likely).

@WhiskeyGolf - What are your thoughts?

WhiskeyGolf commented 7 months ago

It would generally be good to copy things back and forth between models if possible. But in this case you can make vars global and then duplicate them in the new model and then edit them further. But I would also rather use it for a few vars that manage the same tasks in all models.

Toffs commented 7 months ago

Is it the Vars programming you want to be global, or the actual output of a single Var to be global across models?

If the former - then copy/paste is a more logical and intuitive method. If the later, then sure but I think the ‘global’ Var would need to be restricted that you can’t use model specific values in the global programming as that would be a bit of a nonsense, no? Hope that make sense? :)

WhiskeyGolf commented 7 months ago

What I mean is that you can switch the actual output of a single var to be global across models. Then you can use a var for brightness or something else for example.