Search found 69 matches

by Canyonfive
Tue Aug 18, 2020 4:00 am
Forum: Lua Scripting
Topic: Script for lap metrics?
Replies: 1
Views: 4237

Script for lap metrics?

Is there a way to have an average of a given channel, like say lat g, logged only per lap of a track.

Something like at start finish, log average then reset to zero, etc.

I was hoping to track things like avg lat g in changing conditions or fuel load, damper stuff, etc.
by Canyonfive
Mon Aug 17, 2020 5:38 pm
Forum: General Discussion
Topic: Brent - Chuckwalla data
Replies: 2
Views: 5351

Brent - Chuckwalla data

Hi Brent,

Im working on a project and I was wondering if you would be willing to share the log file for this event or lap?

https://podium.live/events/chuckwalla-t ... s?laps[]=4
by Canyonfive
Thu Aug 13, 2020 4:45 am
Forum: RaceCapture/Pro introductions
Topic: SSCA Solo STU e46 M3 - AEM Infinity - RCPmk3 - SoloStorm
Replies: 4
Views: 7668

Re: SSCA Solo STU e46 M3 - AEM Infinity - RCPmk3 - SoloStorm

Not sure if you'll come back to this, but ideally you want to convert your steering channel to actual steering angle at the outside wheel. Just downloaded some of your solostorm logs since I knew you had a racecapture and likely steering data.
by Canyonfive
Thu Aug 13, 2020 4:41 am
Forum: General Discussion
Topic: Actually going to be upgrading the forums.
Replies: 11
Views: 10345

Re: Actually going to be upgrading the forums.

Is there a way to flag spam posts for you?
by Canyonfive
Mon Aug 10, 2020 4:22 am
Forum: RaceCapture/Pro introductions
Topic: SSCA Solo STU e46 M3 - AEM Infinity - RCPmk3 - SoloStorm
Replies: 4
Views: 7668

Hi Kai,

I use a similar setup in my BSP miata.

Megasquirt Can >> RCP Mk3
Rcp Mk3 >>> via bluetooth to SoloStorm incl several RCP channels.
Wifi Go-Pro linked to solostorm.

Why does CAN have to be wifi?
by Canyonfive
Sun Aug 09, 2020 4:19 am
Forum: Sensors
Topic: Adding front and rear lateral accelerometers
Replies: 2
Views: 4890

I went with one of these https://www.adafruit.com/product/163 $15 plus shipping 5v, outputs 0-5v -3g to 3g in 300~ millivolt increments. At 50hz My racecapture is mounted in my dash so I'm going to try with just this one additional one. My hope is Front lat g < rear lat g = understeer Front lat g > ...
by Canyonfive
Sat Aug 08, 2020 10:38 pm
Forum: Lua Scripting
Topic: Script for damper velocity?
Replies: 7
Views: 6627

My logs and excel if anyone wants to check my maths.

My log 706KB https://drive.google.com/file/d/1gh3iSl ... sp=sharing

My excel https://drive.google.com/file/d/1m71tmz ... sp=sharing
by Canyonfive
Sat Aug 08, 2020 10:35 pm
Forum: Lua Scripting
Topic: Script for damper velocity?
Replies: 7
Views: 6627

Well... I see why this isnt done. 100hz, is really the bear minimum for looking at suspension movement. 500hz is more realistic. Right now even at .08mm resolution in travel at 100hz means the smallest increment in velocity that can be calculated is 8mm/s. Not enough really. Anyway back to the scrip...
by Canyonfive
Sat Aug 08, 2020 3:57 am
Forum: Lua Scripting
Topic: Script for damper velocity?
Replies: 7
Views: 6627

Looks ok to me at first blush. Note if your lua script gets any more complex, it may not complete the onTick() loop within 0.01sec, throwing off your readings. Let us know how it works! Thanks. I should be able to test this weekend. 1) does the if then statement need another end, at the end of that...
by Canyonfive
Fri Aug 07, 2020 11:14 pm
Forum: Lua Scripting
Topic: Script for damper velocity?
Replies: 7
Views: 6627

So, theoretically.... everything in the script is done in the order it is written. So the last thing in the code is to set the variable p to the current height. As long as it's possible to store variables in this way, it should work except for the first time it runs which p will be nil. So the if th...
by Canyonfive
Fri Aug 07, 2020 9:24 pm
Forum: Lua Scripting
Topic: Script for damper velocity?
Replies: 7
Views: 6627

Here is my code for damper position. I scaled full rebound as 0% and full bump as 100% based on my voltage for the shock pots which I mapped in the analog channels. This script takes those % and translates them into actual shock position in mm. Also makes it really easy to rezero for ride height cha...
by Canyonfive
Fri Aug 07, 2020 5:50 pm
Forum: RaceCapture/Pro General Q&A
Topic: [Solved] Sending Virtual Channel to SoloStorm?
Replies: 2
Views: 4377

Re: Sending Virtual Channel to SoloStorm?

I'm currently sending a couple Analog inputs over and I wanted to send a virtual channel to SoloStorm. 1) How do I do that? So if it's an Analog channel and you want the raw voltage you would choose one of the available auxillary channels in solostorm (no relation to the racecapture analog channel)...
by Canyonfive
Fri Aug 07, 2020 5:44 pm
Forum: Lua Scripting
Topic: [Solved] Help with Brake script on wiki
Replies: 2
Views: 4496

Even though I'm on the current firmware it looks like it worked with getImu instead of getChannel. MaxDecelG = 1.20 chBrake = addChannel("vBrake", 25, 0, 0, 100, ' ') function updatevBrake() BrakeG = getImu(1) BrakePos = (BrakeG/MaxDecelG)*100 if BrakePos < 10 then BrakePos = 0 end BrakePo...
by Canyonfive
Thu Aug 06, 2020 10:03 pm
Forum: Lua Scripting
Topic: Script for damper velocity?
Replies: 7
Views: 6627

Script for damper velocity?

Does anyone have a script for damper velocity? I have damper position, but im a bit lost when it comes to using lua for a differential function.

Just guessing in theory. (Current pos - Previous position)/.01 (assuming 100hz logging)

But how do I get/pull the previously logged position?
by Canyonfive
Thu Aug 06, 2020 9:47 pm
Forum: RaceCapture/Pro General Q&A
Topic: GPS_Gyro vs internal accelerometer.
Replies: 1
Views: 3880

GPS_Gyro vs internal accelerometer.

Does the Mk3 Racecapture Pro capture the GPS_Gyro data in Yaw/ Deg/ Sec and log it? Or is what is currently logged from the internal Gyro? I was reading this from an AIM guy in Italy and I would like to implement the channels in RaceCapture. https://www.aim-sportline.com/download/doc/eng/on-track_se...