Search found 27 matches

by Mustangkev
Fri Oct 27, 2017 6:20 pm
Forum: CAN mapping discussion
Topic: E46 Wheel Speed in Latest Firmware
Replies: 4
Views: 3498

Not sure if you solved this by now but the bits that are at the end of the wheel speed sensors can cause erroneous readings. It’s possible that your reading them by mistake. When I first got the wheel speeds working I used a small script to remove these readings which is here: https://forum.autospor...
by Mustangkev
Fri Oct 27, 2017 6:11 pm
Forum: RaceCapture/Pro General Q&A
Topic: 02 BMW M3 - OBD2 Legacy or OBD/CAN cable?
Replies: 1
Views: 2784

As far as I understand, there are no CAN wires in the OBD connector. You can use this cable (or create your own) and directions to connect to the CANBUS

https://www.autosportlabs.com/product/b ... ion-cable/
by Mustangkev
Sun Jul 09, 2017 8:03 pm
Forum: Lua Scripting
Topic: Help with bitOp
Replies: 1
Views: 2089

Help with bitOp

I have an individual bit mapped in the can mapping section but I need to reference it in the LUA script. Can anyone convert this in to a Lua script for me? I am trying to use the cruise control button to start and stop logging. The cruise control dash light is on can ID 1349 and the 4th bit of the f...
by Mustangkev
Sun Jul 09, 2017 7:52 pm
Forum: CAN mapping discussion
Topic: working mini or e46 config file
Replies: 9
Views: 6351

This should be the final iteration. Wheel speeds are now working correctly. Feel free to try this out and let me know if there are any issues. { "rcpCfg": { "analogCfg": { "0": { "alpha": 1.0, "map": { "raw": [ 0.92, 1.4, 1.72, 2.53, 3.41 ], "scal": [ 33.0, 13.0, 0.0, -35.0, -72.0 ] }, "max": 255, "...
by Mustangkev
Wed Jul 05, 2017 9:56 pm
Forum: CAN mapping discussion
Topic: Getting CAN mapping value in lua script
Replies: 5
Views: 3865

I was using it for math channels. I.e using rpm and speed to calculate gear.
I thought the can mapping function would clear up space in the Lua script to be able to have more math channels.
by Mustangkev
Tue Jul 04, 2017 2:14 am
Forum: Lua Scripting
Topic: Calculated Brake Pressure
Replies: 6
Views: 4465

Yes, I did miss a parenthesis.

I haven't really played with this too much but your suggestion of scaling the result from 1-100 seems reasonable.
by Mustangkev
Tue Jul 04, 2017 2:09 am
Forum: CAN mapping discussion
Topic: Getting CAN mapping value in lua script
Replies: 5
Views: 3865

I'm having the same issue too. I have the E46 channels mapped and I can't get the math channels to work I. Lua for any channel that uses a can mapped parameter.

Have you been able to make this work yet?
by Mustangkev
Tue Jul 04, 2017 2:07 am
Forum: Lua Scripting
Topic: Sharing Math Channels for E46 M3
Replies: 7
Views: 4259

The brakeG would go to zero if the value went negative.
Although I haven't been using it recently, I've tried to implement the new can mapping and can't get it to read the can channels in Lua yet.
by Mustangkev
Sat Jun 24, 2017 2:34 am
Forum: CAN mapping discussion
Topic: working mini or e46 config file
Replies: 9
Views: 6351

I need to update this as I have wheel speeds working now too. I'll try and get this uploaded tomorrow.
My old computer died but I had a script in there for logging with the cruise control button. It's pretty hand for autox as you can start and stop with your hands on the wheel.
by Mustangkev
Sun Jun 18, 2017 2:35 am
Forum: CAN mapping discussion
Topic: working mini or e46 config file
Replies: 9
Views: 6351

I now have steering and clutch working as well as the cruise control dash light (planning to use to start and stop logging). I've added individual wheel speeds but they don't work correctly yet.

***Edited now the full can mapping is below****
by Mustangkev
Sat Jun 17, 2017 1:28 pm
Forum: Lua Scripting
Topic: Calculated Brake Pressure
Replies: 6
Views: 4465

Here is a way that it has been done.

http://www.jameshakewill.com/brake-trace.pdf

I wrote a script that included it which is in the second post here:

viewtopic.php?t=5227
by Mustangkev
Tue Jun 13, 2017 2:42 am
Forum: CAN mapping discussion
Topic: working mini or e46 config file
Replies: 9
Views: 6351

I made a start on the E46 CAN mapping but it is far from complete/correct. I have TPS, RPM, Oil, coolant and ambient temperature working as well as the brake switch and fuel level. Steering works for turning left but not turning right. Clutch switch is not working either. The main area where I am st...
by Mustangkev
Wed Mar 29, 2017 11:30 pm
Forum: Hardware and Installation
Topic: Steering wheel controls for RaceCapture Pro
Replies: 3
Views: 3033

If the buttons register on the canbus then you might be able do this. I have an E46 and have been playing with having the cruise control buttons to start and stop logging data. I don't know if there are commands to scroll the screens but if so then there might be a way.
by Mustangkev
Sun Mar 26, 2017 3:54 pm
Forum: Lua Scripting
Topic: Sharing Math Channels for E46 M3
Replies: 7
Views: 4259

That's good to know. Will that mean that there will be more memory available or will it still be the combination of can channels and math channels?
by Mustangkev
Wed Mar 22, 2017 2:26 am
Forum: Lua Scripting
Topic: Sharing Math Channels for E46 M3
Replies: 7
Views: 4259

tickRate=30 CAN_baud=500000 CAN_chan=0 tpsId=addChannel("TPS",10,0,0,100,"%") coolantId=addChannel("Coolant",1,0,0,255,"C") oilTempId=addChannel("OilTemp",1,0,0,255,"C") rpmId=addChannel("RPM",10,1,0,10000) steerId=addChannel("Steering",10,1,-360,360,"Deg.") brakeId=addChannel("BrakeSw",10,0,0,1) cl...