Replies: 6 comments 11 replies
|
I want to suggest a system that will greatly improve the user experience with Lua scripts, which will be called EdgeTX Packages. So, how currently script management is done in EdgeTX? What is that? Well, you know how apps are installed on your Android phone using an With Packages introduced, EdgeTX can also make something resembling an App Store or just a repository with software verified by the EdgeTX-es team, with access directly from the Companion GUI, where you can also add third-party repositories, just like Taps in Homebrew (a package manager for macOS). Manually installing a package will be done using the File explorer, just find the file, bring up the menu, and select "Install". This can also be called "sideloading", because a package is installed outside of any repository. Btw, if some software is simple enough that it fits in just one file, then they can be implemented as just a standalone script, and everything that was contained inside the info file will be fit inside that script, just as variables. All third-party software management will be done through some sort of a "package manager", that will, well, manage everything. The Tools screen will contain a list of installed packages (btw these packages can be just apps, or even something like a "library"). To run old scripts that have not been updated for the new system, a user can go to the file explorer and manually run the script from there by finding it in the storage. That method is not preferred, because it can possibly mess up everything that was already done by the system and mess with other scripts. So that's EdgeTX Packages. A system, that can greatly simplify the lives of users and developers. Oh, wait, I forgot to mention how developers will use all of that! Surely they will not manage everything in their project manually, right? Right! They won't! There will be a CLI tool for devs to manage an EdgeTX project, and also a VS Code extension, to simplify their workflow even further. I hope that ETX devs will like this proposal and that would be brought to the ETX project somewhere around the 3.0 milestone :) Oh, and yea, I am willing to help implementing all of that, I am fairly experienced with STM32 MCUs(I'm still a rookie but I know all the basics at least and how it all works) and C/C++ embedded programming! |
|
It's great to see that there are plans to overhaul the Lua API and that there will be discussions with Lua developers to gather their input and expectations. Moving to version 5.3/5.4 and providing access to color LCD UI elements sound like promising improvements, and a cleanout of the API will likely lead to better overall performance and user experience. |
|
Starting a discussion with Lua developers is a great idea to gather feedback and ideas on how to improve the LUA API. Here are some potential questions to start the discussion: What are the most common use cases for Lua scripts in the simulator and radio? |
|
Adding to the list:
|
|
tarting a discussion with Lua developers about the future of the LUA API sounds like a good idea, and it's great to see that plans are already in motion to switch to 5.3/5.4 and improve access to colorLCD UI elements. A clean out and general improvement of the LUA API will likely lead to better performance and more efficient scripting on the radio. |
|
I hope to convert the telemetry data received by the remote controller into MAVLINK packets and then output it from the UART port at the bottom of the remote controller (T16). |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Since there are plans to overhaul the LUA API, we should start a discussion with Lua devs, what they want and expect. The place for that discussion is here.
What is already planned:
All reactions