How do you ue Lua?

Tuning, troubleshooting and the nitty gritty of using rusEFI to make your engine run nicely!
Post Reply
mk e
Posts: 547
Joined: Tue Dec 06, 2016 7:32 pm

How do you ue Lua?

Post by mk e »

I see Lua mentioned, I see Lua channels in TS, I see a wiki page with available Lua commands, but nowhere can I find any info on how to actually set it up and use it? Or examples or ideally a library of available and tested functions? Did I miss that stuff in the wiki or forum somewhere? Or is it still in development and not ready for uses to use?
Last edited by mk e on Thu Nov 14, 2024 2:51 am, edited 1 time in total.
User avatar
AndreyB
Site Admin
Posts: 14727
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: How do you ue Lua?

Post by AndreyB »

Lua is very alive

Examples are at https://github.com/rusefi/rusefi/tree/master/firmware/controllers/lua/examples

Sounds like https://github.com/rusefi/rusefi/wiki/Discord is the-most-alive option to talk to humans these days
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
mk e
Posts: 547
Joined: Tue Dec 06, 2016 7:32 pm

Re: How do you ue Lua?

Post by mk e »

AndreyB wrote:
Thu Nov 14, 2024 1:15 am

Sounds like https://github.com/rusefi/rusefi/wiki/Discord is the-most-alive option to talk to humans these days
Which almost certainly means that it's by far the most problematic ;) What you have in the wiki is much better than anything I found in the FW link, you have good commenting in the wiki, the examples in the FW have basically none so they require decent Lua fluency to read and make sense of.

How is a Lua script loaded into a rusEFI controller? Did I miss those instructions in the wiki?
Post Reply