Thread Tools
Dec 09, 2021, 01:00 AM
FA3PR9WM79
Oldgazer's Avatar
Quote:
Originally Posted by xStatiCa
I am rather surprised that soo many seem comfortable with an alpha release . What Alpha means to me is that you shouldn't use it for anything you care about. I am using it for a DLG that I have crashed many times already .

This is what it means for software I have worked on many years ago...
Alpha... it compiles... good luck... don't use it for anything important... minimal testing
Beta... I think it is good but check things just in case... not a lot of testing on it
Release... As far as I can tell it is good to go. I am sure I forgot something... check it anyway

EDIT: To be clear. I am all for alpha releases and really like seeing features as being developed. Lets me see how Lua is coming along. I just hope others know what Alpha software usually means.
Some of us have been here from the very beginning so we are accustomed to how things are being done.

FWIW, in a previous life I worked for a major software company. The naming conventions you are used to were standard where I was.
Sign up now
to remove ads between posts
Dec 09, 2021, 02:53 AM
Rick
Quote:
Originally Posted by aerografixs
thanks for the explanation, now a question , what you have explained is using Lua for making widgets, what else does it do , this is not sarcasm , I really want to learn this
I'm not the best person to answer this by far and the Lua thread would be a better place to ask but from what I think I know:

Lua scripts have access to many transmitter resources, like switches, the screen, SD, sound, telemetry, etc., can execute multi-stage scripts like wizards, accept user input of values, check boxes, and selections for configuration, and also can apparently affect the outputs in ways beyond just driving servos. For example; there was/is a Lua to create a menu for setting the parameters on a Neuron using the s-port connection, and I think another Lua was/is used to setup SxR stabilizers over the air. Those were written by FrSky and may use features not available to users but the capability seems to be there. There is a Lua that reads GPS locations from telemetry and displays the model's position on a map on the screen. One reads various telemetry values from Betaflight I think and displays the info on an elaborate dashboard complete with artificial horizon.

So I think the main limitations are your imagination, programming skill, and available time. And in an X20 Lua is still under construction so some features may not be available or working yet.

A related question I've been wondering is what language is used for programming the operating systems and firmware. Does anyone know what language is used to write Ethos, OTX, and the module and receiver firmware?
Dec 09, 2021, 03:51 AM
Registered User
Quote:
Originally Posted by Jet_Flyer
Useful if you are interested in the power that Lua adds to ETHOS. Not important if you are not interested in the value of Lua or the scripts that will be made available by others to any ETHOS user that can easily use them without any Lua programming knowledge.

Mike
Hi Mike - Question: Is it possible to run the iNav script on these updates as yet?
Dec 09, 2021, 04:20 AM
Registered User
mikeshellim's Avatar
Quote:
Originally Posted by aerografixs
thanks for the explanation, now a question , what you have explained is using Lua for making widgets, what else does it do , this is not sarcasm , I really want to learn this
An account of my own journey with Lua, which should give you a flavour even though it's not Ethos-specific:

Programming OpenTX - Getting to grips with Lua
Dec 09, 2021, 06:05 AM
Registered User
Quote:
Originally Posted by choochoo22
If you just want to fly airplanes there is no need to do this but if you want a whole new hobby it's there for you.

That is the critical balance in a product like this isn’t it.
Many such as myself don’t come to this with a well developed skill set in programming and honestly don’t have the time or inclination to want to play with it too much.

If the capacity is in the product to tweak it can be utilized by those who have that interest and time but must also to my mind be usable out of the box for the pilots who just want to setup the plane and fly.

I am actively reviewing which tx to purchase.
Honestly looking at the hobby now after a long break it seems painfully labor intensive to setup the radios, receivers and associated gear.

I run a business and have several additional full time jobs in my other commitments.
When last flying I was well above foam rtf planes as I was scratch building and flying dlg’s so don’t want and entry level radio.

But……
I don’t have the time to get behind the scenes programs for each and every feature.
Last edited by trbnt; Dec 09, 2021 at 08:16 AM.
Dec 09, 2021, 06:56 AM
Registered User
aerografixs's Avatar
Quote:
Originally Posted by mikeshellim
An account of my own journey with Lua, which should give you a flavour even though it's not Ethos-specific:

Programming OpenTX - Getting to grips with Lua
Thank you Mike, will look this over carefully

Roger
Dec 09, 2021, 10:03 AM
Registered User
Jet_Flyer's Avatar
Thread OP
Quote:
Originally Posted by choochoo22

So I think the main limitations are your imagination, programming skill, and available time. And in an X20 Lua is still under construction so some features may not be available or working yet.
Correct.

MIke
Dec 09, 2021, 10:06 AM
Registered User
Jet_Flyer's Avatar
Thread OP
Quote:
Originally Posted by Aerial Image
Hi Mike - Question: Is it possible to run the iNav script on these updates as yet?
Not yet but eventually and existing scripts most likely will need some edits to run on ETHOS. ETHOS Lua development is progress quite fast.

Mike
Dec 09, 2021, 10:19 AM
Never stop
Quote:
Originally Posted by aerografixs
thanks for the explanation, now a question , what you have explained is using Lua for making widgets, what else does it do , this is not sarcasm , I really want to learn this
I have a toy heli that self levels, I wrote a lua script to undo the self leveling by making having the rx maintain bank/roll angles.
Dec 09, 2021, 10:29 AM
Registered User
I know absolutely nothing about LUA and how to write it but as a end user and flier I can use a LUA that some other third party has made for my SPECIFIC radio.

Example: LUA provided by ISRM for x10/x12 by i3DM for his third party telemetry adaptor for turbines. The LUA emulates a hand held turbine GSU screen and allows me to view all the turbine telemetry in a neat package on my radio. Not only that it has added features that allow display of fuel used calculated by the LUA.


I use a few different LUA for different things it's clever stuff, I don't need to know how they work, dropped in the right place on SD they usually just do and would not be with out.
Last edited by raydar; Dec 09, 2021 at 11:00 AM.
Dec 09, 2021, 10:39 AM
Sagitta Fanboy
I'll disagree with ChooChoo22 on one aspect.

Lua can be VERY valuable for aircraft.

Two examples are the Xicoy Lua which allow full integration with Xicoy Turbine telemetry units and Mike Shellim's brilliant little live Flap-Elevator trim adjustment script which allows 5 point adjustment of flap->elevator mixing curve in flight.
Dec 09, 2021, 10:43 AM
Registered User
My x45 on my x12s with Xicoy LUA. Actually a poor example as I never put the jpegs in the correct place on my SD in that early test of the LUA so it is incomplete

Xicoy x45 Horus telemetry (0 min 40 sec)
Last edited by raydar; Dec 09, 2021 at 10:50 AM.
Dec 09, 2021, 10:53 AM
Registered User
Her is how it looks now with jpegs.

Why would I not want a modified LUA to run on my future Frsky radio, thankfully the writers of both the above LUA have shown interest in modifying their LUA's for Ethos/X20.

I will say however I have many planes NOT running a LUA and installing any third party LUA it is not required for success with any of my radio/planes, it is solely a optional extra.
Last edited by raydar; Dec 09, 2021 at 11:05 AM.
Dec 09, 2021, 11:05 AM
Registered User
This is the X-45 lua running on my X12S ( otx)
Very helpfull. Expecting to have soon lua for the X20S

Xicoy X-45 TeleX Frsky Horus 12S (1 min 21 sec)
Dec 09, 2021, 12:21 PM
Registered User
Are there any lua scripts used for helicopters ?.


Quick Reply
Message:

Thread Tools

Similar Threads
Category Thread Thread Starter Forum Replies Last Post
New Product Frsky Horus X11 and Tandem receivers skorp_jon Radios 165 Apr 13, 2021 10:45 PM
New Product New Syma X20 Review Bill M - RC Micro Multirotor Drones 0 May 05, 2017 01:16 PM
News New! Ares Ethos QX 130 RCG_Jason Multirotor Drone Talk 654 Sep 16, 2016 02:28 PM
Discussion New owner of a Ares ETHOS QX75 (I THINK??) Waterbound Mini Multirotor Drones 7 Apr 04, 2014 01:32 PM