Lua script crashes through Raspberry Pi app

Discussion on the Lua Scripting capabilities for RaceCapture/Pro. Also see the <a href="http://autosportlabs.net/RaceCapturePro_Lua_Scripting">Lua Scripting Guide</a>

Moderators: JeffC, stieg

Post Reply
GTIspirit
Posts: 249
Joined: Wed Jan 09, 2013 11:20 am
Location: SE Michigan

Lua script crashes through Raspberry Pi app

Post by GTIspirit »

Not sure if this should go in the Lua script forum, or the Raspberry Pi forum. My Lua script runs fine when flashed through the Windows version of the Racecapture app. But when the config is updated via the Raspberry Pi touchscreen, it crashes.

zipped version of the .rcp config is attached.

If I had to guess, it has something to do with the line wraps. Some of the code lines are too long for 800x480 touchscreen and wrap around. It's almost like the Windows app handles these differently than the Raspberry Pi app.
Attachments
20220501.zip
(8.26 KiB) Downloaded 284 times

brentp
Site Admin
Posts: 6282
Joined: Wed Jan 24, 2007 6:36 am

Re: Lua script crashes through Raspberry Pi app

Post by brentp »

Does this happen if you save the RCP from windows, then load it via the RPi, then flashing immediately after that (without going to the scripting window)?
Brent Picasso
CEO and Founder, Autosport Labs
Facebook | Twitter

Post Reply