Search found 47 matches

by thoraxe
Tue Apr 17, 2018 7:43 pm
Forum: Sensors
Topic: Confused about AEM 2000psi pressure sensor
Replies: 8
Views: 8495

a thought on what you expect to see when pushing the brake pedal. line pressure generated depends on bore, pedal ratio and input pressure. if its a race application like dual master w/bias bar I would expect to see about 250-300 psi with a firm leg push (with bias centered). Joes Racing Products ha...
by thoraxe
Tue Apr 17, 2018 5:44 pm
Forum: Sensors
Topic: Confused about AEM 2000psi pressure sensor
Replies: 8
Views: 8495

You can also simulate with a potentiometer, sweeping between 0-5v. Let us know what you find out! Yeah, the potentiometer part worked. The question is what's going on with the sensor. I was just thinking about this the other day. It's still all wired up, I just haven't focused on it because it was ...
by thoraxe
Fri Mar 16, 2018 7:16 pm
Forum: Lua Scripting
Topic: [SOLVED] drain CAN bus for specific time period
Replies: 3
Views: 3894

Yes, this did help. https://gist.github.com/thoraxe/8405bcba4c2ac27cf9f6a7edce87311b This includes a revised version of the script using the uptime to drain for a specific time period. Later I made a small edit to add a configuration variable (drain_period) and then changed the exit to be dependent ...
by thoraxe
Fri Mar 09, 2018 11:46 pm
Forum: Lua Scripting
Topic: [SOLVED] drain CAN bus for specific time period
Replies: 3
Views: 3894

[SOLVED] drain CAN bus for specific time period

I've got a number of posts on this topic or related to this topic, so just check my profile. Background: Haltech ECU + WBo2 AEM CD7 dashboard RCP Mk2, firmware 2.13.0 I have a number of the important CAN channels from my ECU mapped in the RCP for logging purposes. Here's my current script: https://g...
by thoraxe
Fri Mar 09, 2018 11:25 pm
Forum: RaceCapture App Bug Reporting / Feature Requests
Topic: [SOLVED] Mk2 Pro cannot load Firmware 13 "no bootloader
Replies: 5
Views: 5530

I wondered if my USB hub might be part of the problem, so I plugged the RCP directly into the laptop USB port (no hub) and was able to update the firmware using the app version 1.12.0.
by thoraxe
Fri Mar 09, 2018 10:05 pm
Forum: RaceCapture App Bug Reporting / Feature Requests
Topic: [SOLVED] Mk2 Pro cannot load Firmware 13 "no bootloader
Replies: 5
Views: 5530

File checksum on mk2_2.13.0.ihex:
be8428564b258ed4ec44a41f7207470a (md5)

Red light blinking, app version 1.9.0 on Win7 x64:

* setup
* firmware
* update
* click checkbox
* select ihex file
* click open

"failed to load firmware: unable to locate bootloader"
by thoraxe
Fri Mar 09, 2018 6:43 pm
Forum: RaceCapture App Bug Reporting / Feature Requests
Topic: [SOLVED] Mk2 Pro cannot load Firmware 13 "no bootloader
Replies: 5
Views: 5530

brentp wrote:Hi,

What OS and app version are you attempting to do this on?

When it fails, could you post a screen shot of the error?

Thank you,
Win7 x64 and I tried with both app version .9 and .12

When I get back to the house I can post the error.
by thoraxe
Thu Mar 08, 2018 10:14 pm
Forum: RaceCapture App Bug Reporting / Feature Requests
Topic: [SOLVED] Mk2 Pro cannot load Firmware 13 "no bootloader
Replies: 5
Views: 5530

[SOLVED] Mk2 Pro cannot load Firmware 13 "no bootloader

I'm trying to load the .13 beta firmware into my Mk2 Pro, and when I attempt to do so I get an error message that essentially says "cannot find bootloader" or something to that effect. Currently I have the .12 firmware working fine. I downloaded https://autosportlabs-software.s3-us-west-2....
by thoraxe
Mon Feb 26, 2018 6:21 pm
Forum: RaceCapture App Operation and General Q&A
Topic: Access mapped CAN channels via Lua
Replies: 5
Views: 4709

Hi - Yes, that is is documented in the wiki link I previously posted. I think we're talking past eachother. getChannel returns the numerical value of the channel referenced. addChannel gives you a channel ID to use with getChannel. I am asking: Is there a way to know the channel ID for the channels...
by thoraxe
Sun Feb 25, 2018 8:39 pm
Forum: RaceCapture App Operation and General Q&A
Topic: Access mapped CAN channels via Lua
Replies: 5
Views: 4709

In the 2.13.0 beta firmware we introduced the ability to get a channel value by name in addition to the virtual channel ID created by addChannel(). https://wiki.autosportlabs.com/RaceCapturePro_Lua_Scripting#getChannel.28_Channel_ID_or_name_.29 However, in 2.13.0 this may fail with a fatal lua erro...
by thoraxe
Sun Feb 25, 2018 7:55 pm
Forum: Hardware and Installation
Topic: Odd CAN / scripting behavior with RCP Mk2
Replies: 3
Views: 5958

Hi Erik, You could be having two issues: * Lua script cannot keep up, due to CAN messages being received too fast - and some messages are getting dropped. You can test this indirectly seeing if your CAN receive loop ever exists. If the script is being saturated by CAN messages, it will never exit t...
by thoraxe
Sun Feb 25, 2018 4:26 pm
Forum: Hardware and Installation
Topic: Odd CAN / scripting behavior with RCP Mk2
Replies: 3
Views: 5958

Odd CAN / scripting behavior with RCP Mk2

Background I have an RCP Mk2 I currently have various channels mapped via CAN mapping. For example, TPS and RPM. Currently I'm also doing a dumb mirror: -- grab data off CAN0 and retransmit on CAN1 as long as there's data id, ext, data = rxCAN(0) if (id ~= nil) then ...
by thoraxe
Sun Feb 25, 2018 4:22 pm
Forum: RaceCapture App Operation and General Q&A
Topic: Access mapped CAN channels via Lua
Replies: 5
Views: 4709

Access mapped CAN channels via Lua

I have some mapped CAN channels that I'd like to be able to try to transmit on another bus. However, these do not currently appear to be available as virtual channels. What I am trying to do: function onTick() current_foo = getChannel("Foo") -- foo is a mapp...
by thoraxe
Sat Feb 03, 2018 10:46 pm
Forum: RaceCapture App Bug Reporting / Feature Requests
Topic: (1.9.0) Various CAN mapping issues
Replies: 6
Views: 3578

brentp wrote:Hi, does this reproduce in the new 1.12.0 beta app?
It reproduces exactly.
by thoraxe
Tue Jan 02, 2018 5:31 pm
Forum: Lua Scripting
Topic: Big endian txCAN
Replies: 13
Views: 11519

* Are these values big or little endian?
* Are these values automatically signed?

For example, it looks like speed is split into two 8-bit words (total of 16 bits). It looks like you are sending speed1 and then speed2, which I guess is little endian?