Notices
Racing & Drivers Education Forum
Sponsored by:
Sponsored by:

AIM Race studio 2 question

Thread Tools
 
Search this Thread
 
Old 06-15-2014, 08:14 PM
  #1  
cetom
Instructor
Thread Starter
 
cetom's Avatar
 
Join Date: Dec 2012
Posts: 184
Likes: 0
Received 0 Likes on 0 Posts
Default AIM Race studio 2 question

So I'm going to ask a question, that once I get the answer, I'm going to feel like the dumbest person in the world...but here it goes. I'm writing a math channel that requires me to have, as one of it's parameters, lap time in seconds. RS2 reports lap time in mm.ss.ms. I don't know how to convert this to seconds.

What I'm trying to do is write a channel that tells me what percentage of a particular lap time, I'm at full throttle. Obviously, the issue is "lap time". Does anybody have an easy answer for this?

Just multiplying by 60 will not work becuase of the way rs2 reports lap time ...I think

Thank you!
Old 06-15-2014, 09:24 PM
  #2  
Matt Romanowski
Rennlist Hoonigan
which cost no drachmas
Lifetime Rennlist
Member


Rennlist
Site Sponsor
 
Matt Romanowski's Avatar
 
Join Date: Dec 2001
Location: Manchester, NH
Posts: 12,641
Received 969 Likes on 582 Posts
Default

Two channels to get there

WOT = IF(GT(Throttle_Posit,90),1,0)
% WOT = lap_integ(WOT)

If you just want to compare things, it's probably easier and quicker to just do a histogram of throttle position.
Old 06-15-2014, 09:32 PM
  #3  
cetom
Instructor
Thread Starter
 
cetom's Avatar
 
Join Date: Dec 2012
Posts: 184
Likes: 0
Received 0 Likes on 0 Posts
Default

matt thank you . i will give them a try
Old 06-15-2014, 09:37 PM
  #4  
Matt Romanowski
Rennlist Hoonigan
which cost no drachmas
Lifetime Rennlist
Member


Rennlist
Site Sponsor
 
Matt Romanowski's Avatar
 
Join Date: Dec 2001
Location: Manchester, NH
Posts: 12,641
Received 969 Likes on 582 Posts
Default

Make sure you change the "Throttle_Posit" to whatever you have your throttle position channel named.
Old 06-16-2014, 06:32 AM
  #5  
cetom
Instructor
Thread Starter
 
cetom's Avatar
 
Join Date: Dec 2012
Posts: 184
Likes: 0
Received 0 Likes on 0 Posts
Default

thanks matt, yes i did that . actually mr caddell has this in his suite of math channels but he calls it a different name
the channel WOT will get me close to what i am looking for .it does tell me how many seconds in a lap i am at wot . but it doesnt tell me exactly what i want (i think).
a wot of lets say 62 seconds in a lap that is 122 seconds is different than a lap that has wot of 62 seconds in a lap that is 125 seconds . the math to figure out the different proportions is easy . but it requires being able to input how many total second the lap is . as simple as it sounds i cant figure out a way to convert rs2 lap time to seconds
i thought one way would be to use your same formula but do it with rpm over 100 . sort of like "rpm on" . the integral of that over the lap would be the lap time in seconds . does that male sense
Old 06-16-2014, 09:47 AM
  #6  
amso3
Three Wheelin'
 
amso3's Avatar
 
Join Date: Apr 2004
Location: North Port, FL
Posts: 1,860
Received 12 Likes on 11 Posts
Default

Ron

I would think a better way to look at this is to zoom into a lap and pick a segment like the apex of turn 1 (WG) to the first apex in the bus stop. Monitoring %WOT will be more meaningful than a full lap IMHO. There are so many variables in a full lap, it will be difficult to figure out where you have an opportunity to improve. Frankly, I just overlay the laps and look at throttle trace lap to lap, you can visually see the problem areas. You method gives you raw numbers but will be difficult to figure out what you need to do to improve.
Old 06-16-2014, 11:12 AM
  #7  
ProCoach
Rennlist
Basic Site Sponsor
 
ProCoach's Avatar
 
Join Date: Jun 2008
Location: Durham, NC and Virginia International Raceway
Posts: 19,097
Received 3,270 Likes on 1,865 Posts
Default

Percentage full throttle (>90%) over the course of one lap is one of the best objective measures of handling/braking/traction performance improvement, and is a direct reading on driver confidence and car balance plus or minus.

Unfortunately, that's one of the major benefits of using MoTeC, for just this purpose.

Can't do it (calculate percentage of WOT over a recurring distance measure) in AIM (AFAIK). Only over time, which is a function I use as well, although much less desirable and not possible at all in R-K, VVB and many others...
__________________
-Peter Krause
www.peterkrause.net
www.gofasternow.com
"Combining the Art and Science of Driving Fast!"
Specializing in Professional, Private Driver Performance Evaluation and Optimization
Consultation Available Remotely and at VIRginia International Raceway






















Old 06-16-2014, 12:18 PM
  #8  
cetom
Instructor
Thread Starter
 
cetom's Avatar
 
Join Date: Dec 2012
Posts: 184
Likes: 0
Received 0 Likes on 0 Posts
Default

thanks all
procoach , your first paragraph is what i am trying to do. sortof get a measure of how well i am driving or how aggressive i am being . for instance sometimes i feel like i am losing focus or concentration . i have a mechanism to get it back but i would like to measure it . i had all sorts of ideas of what i could measure like minimum speed following aLat Gspike . but when it was all said and done WOT% (as a percent of total single lap) would take all that into account ,.
ill keep experimenting
thanks
Old 06-16-2014, 12:33 PM
  #9  
Matt Romanowski
Rennlist Hoonigan
which cost no drachmas
Lifetime Rennlist
Member


Rennlist
Site Sponsor
 
Matt Romanowski's Avatar
 
Join Date: Dec 2001
Location: Manchester, NH
Posts: 12,641
Received 969 Likes on 582 Posts
Default

I think the histogram and zooming (like Jerry said) will be your easiest way. Check out the photos to see how you could do it very quickly and get a good visual representation.

You can do what you want, but it takes some work. You can export to Excel then do the calculations to get a time based average for full throttle, but I think it's a lot of work for a little gain.
Attached Images   
Old 06-17-2014, 02:45 PM
  #10  
rkirshner
Rennlist Member
 
rkirshner's Avatar
 
Join Date: Aug 2009
Posts: 215
Likes: 0
Received 0 Likes on 0 Posts
Default

thank you very much
Old 06-17-2014, 03:32 PM
  #11  
Caddell
Instructor
 
Caddell's Avatar
 
Join Date: Dec 2006
Location: Graham, WA
Posts: 143
Likes: 0
Received 0 Likes on 0 Posts
Default

Originally Posted by ProCoach
Percentage full throttle (>90%) over the course of one lap is one of the best objective measures of handling/braking/traction performance improvement, and is a direct reading on driver confidence and car balance plus or minus.

Unfortunately, that's one of the major benefits of using MoTeC, for just this purpose.

Can't do it (calculate percentage of WOT over a recurring distance measure) in AIM (AFAIK). Only over time, which is a function I use as well, although much less desirable and not possible at all in R-K, VVB and many others...
Ah Peter... I think I can help you! Below are a couple of math channels (in AiM syntax) to create the % of WOT vs Time, and another to create the % of WOT vs Dist.

In this case (but it could be re-written to include everything) we first need to build a "Full_TPS On" channel at >90% TPS:
Full_TPS On: IF(GT(Throttle,90),1,0)

Here is the math channel to show the % of WOT vs Time per lap:
Full_TPS LapPT: (Full_TPS LapT*100)/time()

Here is the math channel to show the % of WOT vs Distance per lap:
Full_TPS LapPD: lap_integ(Full_TPS On*Speed*MPH2FTS)*100/lap_integ(Speed*MPH2FTS)

Of course as Matt mentioned, you need to replace the 'Throttle' value with your specific throttle position channel name. Do the same and replace the 'Speed' value with your specific speed channel name.

And finally, the MPH2FTS constant is 1.46667 in AiM and if that constant has been removed or changed, this value can just be input directly into the formula.
Old 06-17-2014, 04:52 PM
  #12  
ProCoach
Rennlist
Basic Site Sponsor
 
ProCoach's Avatar
 
Join Date: Jun 2008
Location: Durham, NC and Virginia International Raceway
Posts: 19,097
Received 3,270 Likes on 1,865 Posts
Default

Bless you, Roger!

Originally Posted by Matt Romanowski
You can export to Excel then do the calculations to get a time based average for full throttle, but I think it's a lot of work for a little gain.
That would be too bad, because that is one of the primary measures Jorge Segers uses to evaluate driver commitment and/or car changes... and one of the reasons why there are so few "casual" data users. Either nothing or ALL IN! Hahahahaha! People don't have time to work that hard.

I can't afford those additional steps and extra time in my workflow, and I am sure you can't either at a T/A weekend!

I'll try Roger's math on my own stuff and during this coming weekend on Yonker, Pray and Evans.
Old 06-17-2014, 05:42 PM
  #13  
ProCoach
Rennlist
Basic Site Sponsor
 
ProCoach's Avatar
 
Join Date: Jun 2008
Location: Durham, NC and Virginia International Raceway
Posts: 19,097
Received 3,270 Likes on 1,865 Posts
Default

It works!

I have an odd little anomaly at the end of the lap where there is a screwy correction, but the numbers look right...

The map is TPS percentage, real-time.
Attached Images  
Old 06-17-2014, 06:08 PM
  #14  
Matt Romanowski
Rennlist Hoonigan
which cost no drachmas
Lifetime Rennlist
Member


Rennlist
Site Sponsor
 
Matt Romanowski's Avatar
 
Join Date: Dec 2001
Location: Manchester, NH
Posts: 12,641
Received 969 Likes on 582 Posts
Default

I've noticed that the end does some weird things on a couple of channels. If you do a slowing channel, has the weird bit at the end.
Old 06-17-2014, 06:44 PM
  #15  
Caddell
Instructor
 
Caddell's Avatar
 
Join Date: Dec 2006
Location: Graham, WA
Posts: 143
Likes: 0
Received 0 Likes on 0 Posts
Default

What you are seeing at the end of the lap is the very small (but exaggerated viewing with % math channels) differences between the length of the actual lap vs the computed length that is based on the track map lap used. There will always be some difference at the end of a lap due to the way the software is written to best handle differences in every lap length. Nothing to worry about, the math is correct right up to the very end.

Also, you will find that if you step up the 'sampling rate' (10Hz to maybe 50Hz) that you use during the math channel calculation, this will reduce the effect.


Quick Reply: AIM Race studio 2 question



All times are GMT -3. The time now is 03:21 AM.