Search found 15 matches

by eacmen
Wed Oct 11, 2017 6:20 pm
Forum: Lua Scripting
Topic: ProTip - luasrcdiet to reduce compiled bytecode size
Replies: 5
Views: 6495

I had better success with luasrcdiet identifying and shortening variable names. Have you had success with luamin?
by eacmen
Wed Oct 11, 2017 3:42 pm
Forum: Lua Scripting
Topic: ProTip - luasrcdiet to reduce compiled bytecode size
Replies: 5
Views: 6495

Fair warning you will need to be comfortable using the command line to use this tool. I will be using my mutlicam GoPro script as an example. You can find it here: https://github.com/eacmen/hpde/blob/master/rcp-lua/gopro_session_multicam.lua Notice which variables I marked as local and which ones I ...
by eacmen
Thu Oct 05, 2017 3:35 am
Forum: Lua Scripting
Topic: ProTip - luasrcdiet to reduce compiled bytecode size
Replies: 5
Views: 6495

ProTip - luasrcdiet to reduce compiled bytecode size

I have been doing a fair amount of lua recently for the RCP. I am an experience programmer but have never had to program lua until a few weeks ago. I got very frustrated when my scripts would exceed the max size allowed by the RCP. I understand why the constraints are there but I still wasn't happy ...
by eacmen
Thu Oct 05, 2017 1:40 am
Forum: CAN mapping discussion
Topic: E46 Wheel Speed in Latest Firmware
Replies: 4
Views: 4953

E46 Wheel Speed in Latest Firmware

So I am trying to get wheel speed working with the latest CAN Mapping support. The E46 Wiki still has the LUA script and the link to the "database" only has like 4 CAN PIDs that are listed for E46. When I log pid 496 in the garage (ECU on but car not in motion) I get the following output: ...
by eacmen
Wed Oct 04, 2017 6:14 pm
Forum: RaceCapture/Pro General Q&A
Topic: Grabbing GPS time for Raspberry Pi Dash?
Replies: 3
Views: 4246

I was looking to implement it myself but I did not see any build scripts for the raspberry pi variant on the github site. How are you guys building this at the moment?
by eacmen
Wed Oct 04, 2017 6:12 pm
Forum: Lua Scripting
Topic: onTick( ) maxruntime?
Replies: 2
Views: 3564

Yes that helps alot! Thank you.
by eacmen
Sun Oct 01, 2017 4:12 pm
Forum: Lua Scripting
Topic: onTick( ) maxruntime?
Replies: 2
Views: 3564

onTick( ) maxruntime?

What is the max recommended runtime for onTick? Does this run in a separate RTOS task or is it part of the RCP main loop?

What I am really asking is if onTick takes a long time does it lock up the rest of the RCP from doing anything else?

thanks!
-peter
by eacmen
Thu Sep 28, 2017 7:00 pm
Forum: RaceCapture/Pro General Q&A
Topic: Grabbing GPS time for Raspberry Pi Dash?
Replies: 3
Views: 4246

Grabbing GPS time for Raspberry Pi Dash?

I built the raspberry pi dash from the wiki with a few mods of my own to mount it inside the E46. However, I will not have internet connected to the Pi (yet). Is there a way the Racecapture software can grab GPS time from the RCP to set it on the Pi?
by eacmen
Thu Sep 28, 2017 6:57 pm
Forum: RaceCapture/Pro General Q&A
Topic: New Conversion Tool to Circuit Tools (vbo) format
Replies: 6
Views: 12553

Github?

Did you get a chance to post the source to github yet? Id also like to contribute.
by eacmen
Sat Sep 02, 2017 7:49 pm
Forum: RaceCapture/Pro General Q&A
Topic: resetConfig: Flashing Default Script: FAILED
Replies: 9
Views: 7528

resetConfig: Flashing Default Script: FAILED

This is more of a bug report than a question expecting an answer. After several iterations of modifying lua scripts I will eventually get the following error: lua: Failed to allocate memory for script buffer. When this error pops up the RCP gets very unstable and has to be hard-reset. Usually I woul...
by eacmen
Sun Aug 20, 2017 12:32 am
Forum: RaceCapture/Pro General Q&A
Topic: Replacement GPS antenna?
Replies: 1
Views: 2586

Replacement GPS antenna?

I lost the GPS antenna for my RCP MK3. Was looking for replacements in the store, but could not find any. I assume any SMA GPS antenna will work? Any specific gain I should be looking for?
by eacmen
Sat Feb 25, 2017 3:49 pm
Forum: RaceCapture/Pro General Q&A
Topic: Pre-Purchase Questions for E46 M3
Replies: 7
Views: 5365

I am trying to pre-wire my car in anticipation of the MK3 arrival...

Is the RJ45 pinout on the MK3 the same as MK2 for GND, 12V, CANH, and CANL?

Do you recommend solid or stranded CAT-5?

TIA
brentp wrote:Excellent! let us know if we can help further.

-Brent
by eacmen
Tue Jan 31, 2017 3:47 pm
Forum: RaceCapture/Pro General Q&A
Topic: Pre-Purchase Questions for E46 M3
Replies: 7
Views: 5365

Yes that helps. Already pre-ordered the MK3. Very glad to see you integrated the radios on board. Can't wait to get it installed. Hi Peter, yes - MK3 is launched indeed. We currently don't have any MK2 systems available, sorry. MK3 has built-in Bluetooth and WiFi as described in the specs here: http...
by eacmen
Fri Jan 27, 2017 1:14 am
Forum: RaceCapture/Pro General Q&A
Topic: Pre-Purchase Questions for E46 M3
Replies: 7
Views: 5365

I see you have moved onto the MK3 systems. Are there any mk2 systems available at a discount? :) On the MK3 I only see one port for Bluetooth/Wifi. Can you run both bluetooth and wifi with the mk3 system? Is the mk2 bluetooth and wifi modules compatible with mk3? To answer your question I plan on in...
by eacmen
Fri Dec 30, 2016 7:59 am
Forum: RaceCapture/Pro General Q&A
Topic: Pre-Purchase Questions for E46 M3
Replies: 7
Views: 5365

Pre-Purchase Questions for E46 M3

I have been looking to integrate the Race Capture Pro MK2 into my E46 M3 track car. And had a few questions I hope to get answered before purchase. 1. It is said that brake pressure on CAN is model-dependent. Can you elaborate on which E46 variants have brake pressure on CAN? 2. Any fitment guidance...