Page 1 of 1

Launch Control and Anti-Lag via CAN using LUA

Posted: Wed Aug 23, 2023 12:17 pm
by i_s_64
Hey Guys,

I was wondering if there are any LUA functions that I can use to start/activate Launch control, as well as Anti-lag.
I am currently out of Digital inputs on my Proteus and would like to create a button that sends these requests from a small MCU via CAN to the RusEFI ECU. Then I would like the LUA script to enable the requested function.

Thanks,

Alex

Re: Launch Control and Anti-Lag via CAN using LUA

Posted: Thu Aug 24, 2023 4:19 am
by AndreyB
Nope, Lua cannot activate the build-in launch.

In your specific case it looks like you need not lua to poke launch but launch button to be CAN-based not physical input that's part of the https://github.com/rusefi/rusefi/issues/4096 dream. Feel free to support rusEFI on patreon to see that happen one day :)

Re: Launch Control and Anti-Lag via CAN using LUA

Posted: Tue Feb 25, 2025 10:02 am
by diegort5
AndreyB wrote:
Thu Aug 24, 2023 4:19 am
Nope, Lua cannot activate the build-in launch.

In your specific case it looks like you need not lua to poke launch but launch button to be CAN-based not physical input that's part of the https://github.com/rusefi/rusefi/issues/4096 dream. Feel free to support rusEFI on patreon to see that happen one day :)
Hello, today is there any option to use an Arduino and an MCP2515 to activate and deactivate functions from CAN?