-
Notifications
You must be signed in to change notification settings - Fork 77
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
LUA support small screen ? #74
Comments
not currently - unfortunately. I do not have such a radio so I cannot do the lua script, so we would need someone with such a radio and the skils and wills to modify the lua script to work on the smaller displays. A respective PR would be very much appreciated. It's indeed one of the bigger things still missing. |
At least I have the hardware available for testing. |
@vrquaeler |
It's on my list. Maybe for the rainy days... |
hmmm I have the radio and will soon be one handed from shoulder surgery so I may take this up!!!! |
Hello olliw, I had worked in lua with small screen radio at last weekend. |
@jasonwang01 argh ... I was suspecting that it may not be that easy ... very sad btw, do we know how the TBS configurator is doing it (which AFAIK is also used by ELRS)? it could maybe give us ideas so, you want to read the list and plot the options with the current setting while reading all options, and want to keep the list of possible settings only for the presently selected option, right? So you need a command to retrieve this list for said option? I think the precursor is already there, though not yet implemented, see https://github.com/olliw42/mLRS/blob/dev-mavlinkx/mLRS/CommonTx/mbridge_interface.h#L471C34-L477. Instead of defining a specific cmd, the approach would be to send a MBRIDGE_CMD_REQUEST_CMD with the cmd MBRIDGE_CMD_PARAM_ITEM, and the param index as further parameter. So, we need to do the implementation side. Should not be very difficult, but needs to be done. I've raised an issue to put this in the list :). #82 Q: is there a way knwoing how much memory is used by the current lua script? I mean, can we figure out if avoiding storing the complete list would be enough of memory saving for getting the job done? |
hello ! I have tested the black-white screen lua on my x9d+with edgetx 2.8.there are some problems while using the luascript on x9d+.first,when starting the luascript, the screen will show " mlrs loading",but cannot active the function. when changed the baudrate from 115K to 400K,I could enter the main page but still cannot calibrate the parameters. |
@zanefond Do you have the means to copy over the few changes to handle EdgeTx from the color lua script, and see if it then works? |
where can I get the lua for a x9d? |
here is jasonwang01's PR: #83 |
The script works great on my Taranis X9E with opentx. |
many thx for the report ! @vrquaeler @geofrancis |
It does the essentials, the only other option I would like to see would be to receiver power level. Other than that it's good enough. |
thx! from the PR description and the code I deduce
the receiver power level should thus actually be available !? |
Hi, Even with the limitation to the 5 parameters mentioned above It is really useful as it is now. Otherwise we would have nothing for the BW-radios and are forced to use the CLI any time. The CLI has to be used for the other parameters. For parameter changes in the field like changing power level for a range check (without the need of a PC) I am fine with. |
many thx you find that it's possible to set also rx power? |
Yes, it's possible to change and save the RX power or the RXout protocol. Mine shows the TX and RX power settings. Tested on Seeed E5 based hardware and E28 based hardware. |
MANY THX for having tested it, and MANY THX to @jasonwang01 to have made that bw lua script. |
mine displays the power level for both tx and rx but i can only change the tx power level as far as I can see.... turns out im on an old version of the firmware... |
Can LUA support some radios with internal RF and small screen(128x64)? It only can use CLI to change param with PC.
The text was updated successfully, but these errors were encountered: