Search found 49 matches

by psfp
Mon Jun 10, 2019 8:40 pm
Forum: Lua Scripting
Topic: Lua function to override memory limit
Replies: 2
Views: 1051

Alright, the Lua function is:

setMaxMem(x)

Where "x" is the memory value set by the user.
by psfp
Tue Jun 04, 2019 10:43 am
Forum: Lua Scripting
Topic: Can't recover from out of memory
Replies: 15
Views: 3018

I've been experiencing the same problem. Firmware 2.13.5 works for clearing the script data. Factory reset won't solve this issue when using 2.16.
by psfp
Sun Jun 02, 2019 5:25 pm
Forum: Lua Scripting
Topic: Lua function to override memory limit
Replies: 2
Views: 1051

Lua function to override memory limit

Hi guys,

What is this Lua function to override memory limit mentioned in 2.15 firmware changelog? I didn't find anything about it. I'm having memory issues after I updated my RCP MK3 from 2.14 to 2.16.

Regards,
by psfp
Mon Sep 03, 2018 2:05 pm
Forum: Lua Scripting
Topic: Looking for help with out of memory errors
Replies: 4
Views: 2797

Yes, you can see I reduced the number of ShiftX2 scripts from 15 (or so) to only 1 (kept sxTx). This way you shouldn't have any memory issues. Believe me, my personal script is much bigger and more complex and I don't have issues even when I run RCP continuously for hours. If the script runs (I didn...
by psfp
Thu Aug 23, 2018 7:43 pm
Forum: Feature Requests
Topic: More Memory for Lua Script Section
Replies: 24
Views: 12771

Would you mind to share your script so I can take a look? I found out the lenght of the script is not the determinating factor regarding the memory issues. It's more related to number of functions, variables and virtual channels. Even the "optional" arguments in virtual channel creation will make di...
by psfp
Tue Aug 21, 2018 6:05 pm
Forum: Lua Scripting
Topic: Looking for help with out of memory errors
Replies: 4
Views: 2797

You may try the following script. It should do exactly the same thing as your own script (except for the Alert lights). Please note you don't need the "brake status" channel, as it was the same thing as the Gpio(1) input, which is already logged anyway. You can just rename the Gpio channel in GUI (R...
by psfp
Tue Aug 21, 2018 3:21 pm
Forum: Lua Scripting
Topic: Looking for help with out of memory errors
Replies: 4
Views: 2797

Why aren't you using the Alert LEDs to indicate the danger/warning status? Just trying to understand so I can create an alternative script for you.
by psfp
Mon Jun 25, 2018 12:17 am
Forum: Lua Scripting
Topic: Help with script optimization
Replies: 6
Views: 3446

You can also try the following: 1) Make all your functions "local", Minifier will shrink the function names if you do so; 2) Remove as much ShiftX2 functions as you can and use sxTx function directly everytime you can. sxTx is the only ShiftX2 function that I use in my own script, my script is huge ...
by psfp
Mon Apr 02, 2018 8:13 pm
Forum: RaceCapture App Operation and General Q&A
Topic: Evo X canbus mapping
Replies: 15
Views: 12858

Sawdust, Just enable RAX fast logging in your ROM, it's straightfoward and won't mess with your current tune: https://www.evolutionm.net/forums/ecuflash/721325-rax-patch-version-3-limited-test-phase.html I developed a Lua Script based on Mash's work a while ago, it works perfectly on non-Tephra ROMs...
by psfp
Tue Jan 23, 2018 8:20 pm
Forum: Bug Reporting
Topic: Can't disable predictive timing
Replies: 13
Views: 6422

Alright, if I shut down everything (app, RCP itself) and re-read the config in a new app section, after race timing incorrectly turned off, it will still appear as "off".
by psfp
Mon Jan 22, 2018 10:18 pm
Forum: Bug Reporting
Topic: Can't disable predictive timing
Replies: 13
Views: 6422

Windows and Raspbian. I didn't try to reproduce on Android.
by psfp
Mon Jan 22, 2018 10:03 pm
Forum: Bug Reporting
Topic: Can't disable predictive timing
Replies: 13
Views: 6422

Hi,

Looks like the issue happens when "Predictive Timing" setting is changed. When "Race Timing" is "on" and "Predictive Timing" is changed from "off" to "on" or from "on" to "off", "Race Timing" is set to "off" as well:

I recorded a video:

https://youtu.be/_WAbjLwZe2w
by psfp
Mon Jan 22, 2018 6:20 pm
Forum: Bug Reporting
Topic: Can't disable predictive timing
Replies: 13
Views: 6422

Yes, I am.
by psfp
Thu Jan 18, 2018 9:47 pm
Forum: Bug Reporting
Topic: Can't disable predictive timing
Replies: 13
Views: 6422

Brent,

Looks like "predictive timing" was fixed, but now the problem happens to "race timing" option. It will show always "off", though.
by psfp
Sun Dec 10, 2017 7:26 pm
Forum: RaceCapture App Operation and General Q&A
Topic: Raspberry Pi support - enables a hard-wired, dedicated dash
Replies: 119
Views: 63048

It was really simple (after I figured it out, of course :lol: ) I just added a "cursor = 1" row in Kivy's config.ini file In which section? I've tried all of the obvious places, but I don't see "cursor = 1" mentioned in any of the relevant Kivy documentation (did you mean show_cursor?) In modules s...