Search found 49 matches

by wcorredor
Sun Oct 29, 2017 3:39 am
Forum: Lua Scripting
Topic: ProTip - luasrcdiet to reduce compiled bytecode size
Replies: 5
Views: 4670

I have been using luaminifier and it works great. Just cut and paste your lua source and cut and paste the result of the bottom window.
It is very simple and saves a lot of memory.
by wcorredor
Fri Sep 15, 2017 2:06 am
Forum: Lua Scripting
Topic: Different onTick frequencies?
Replies: 6
Views: 3890

This is an example of how to make a function run less often or only every x ticks. function Every5() if tk % 5 ~= 0 then -- return end {Your function code here run every 5 ticks} end function Every10() if tk % 10 ~= 0 then -- return end {Your function code here runs every 10 ticks} end tk = 0 setTic...
by wcorredor
Sat Jul 29, 2017 10:18 pm
Forum: Feature Requests
Topic: More Memory for Lua Script Section
Replies: 24
Views: 12597

Could you finally get more memory for LUA in 2.12.0? How much?
by wcorredor
Mon Jun 19, 2017 5:09 am
Forum: Feature Requests
Topic: More Memory for Lua Script Section
Replies: 24
Views: 12597

Never got your comments on our script. Did you find a way to optimize memory usage?
Any news on increasing even a bit?

Thanks
by wcorredor
Mon Jun 19, 2017 4:56 am
Forum: RaceCapture/Pro introductions
Topic: Minneapolis E30 Install
Replies: 10
Views: 8680

There may be different part numbers for different cars. I had the same issue with the sendor on my firts post and inverting the wires won't work for the reasons you mentined. I finally found the part number Th109 I mentioned on a later post that works exactly as the original E30. With the pedal or m...
by wcorredor
Tue May 09, 2017 1:49 am
Forum: RaceCapture/Pro introductions
Topic: Minneapolis E30 Install
Replies: 10
Views: 8680

See the pictures attached for our break pressure set up.
We connected a 10mm bubble flare on a small break line to a free spot on the bottom of the pump. And then a 10mm to 1.8 NPT adapter at the other end.
by wcorredor
Mon May 01, 2017 11:08 pm
Forum: RaceCapture/Pro introductions
Topic: Minneapolis E30 Install
Replies: 10
Views: 8680

Sorry it took long to answer, I hadn't seen your post. Yes, those metric adapters are hard to find. Go to www.summitracing.com and type "autometer adapter". They have 1/8 female to 10, 12 and 14mm male. As far as TPS, this one works and is less expensive "Standard Motor Products TH109 Throttle Posit...
by wcorredor
Sat Apr 29, 2017 2:59 am
Forum: Feature Requests
Topic: More Memory for Lua Script Section
Replies: 24
Views: 12597

Something that would help would be to have a Total Distance function. Just as documented getGpsDist() returns "distance from the beginning of the logging session, or from the start finish line, if configured." Which means, once lapping, the distance gets reset to 0 every time one crosses the finish ...
by wcorredor
Sat Apr 29, 2017 2:44 am
Forum: Feature Requests
Topic: More Memory for Lua Script Section
Replies: 24
Views: 12597

Here goes the script. This version is structured, but won't fit in memory. We do have a version with the very same functionality that runs, but had to make it spaghetti code, reduce functions, constants, comments and use the "lua minimizer" to make it fit. The issue is that even with that version we...
by wcorredor
Thu Apr 27, 2017 2:17 pm
Forum: Feature Requests
Topic: More Memory for Lua Script Section
Replies: 24
Views: 12597

I will send it this weekend. But we have allready used all of those technics. We have made variables as local as possible, reduce the number of functions, eliminating comments, eliminated all constants that end up behaving as variables, but make code less structured and more difficult to understand ...
by wcorredor
Sat Apr 22, 2017 3:32 pm
Forum: Feature Requests
Topic: More Memory for Lua Script Section
Replies: 24
Views: 12597

None. No CAN bus on a BMW E30. (1989)
Wcorredor
by wcorredor
Sat Apr 22, 2017 3:38 am
Forum: Feature Requests
Topic: More Memory for Lua Script Section
Replies: 24
Views: 12597

We do need more memory for lua scripting

Hi Brent As I mentioned before we are racing an E30 (no ODBII) so we have installed plenty of sensors and need a lot of scripting. So far we have RPM, coolant temp, oil temp, pressure, throttle position, break pressure, gas level, mpg, laps per gallon, laps left and more. I promised to publish code ...
by wcorredor
Thu Feb 02, 2017 5:40 pm
Forum: Lua Scripting
Topic: Function with Total Distance
Replies: 0
Views: 1509

Function with Total Distance

Just as documented getGpsDist() returns "distance from the beginning of the logging session, or from the start finish line, if configured." Which means, once lapping, the distance gets reset to 0 every time one crosses the finish line. Can you publish a function that always returns the distance from...
by wcorredor
Sat Jan 21, 2017 3:58 pm
Forum: Lua Scripting
Topic: An option to start/stop running lua script
Replies: 1
Views: 1711

Any comment on this?
by wcorredor
Thu Jan 12, 2017 12:17 am
Forum: Lua Scripting
Topic: An option to start/stop running lua script
Replies: 1
Views: 1711

An option to start/stop running lua script

I haven't found a way to start/stop the lua script, perhaps there is one, please advice. I think this would be very useful for debugging, as one could see a few messages, just when the script starts or after something specific has happened. It runs so fast, that sometimes one gets overwhelmed with m...