Calculated wheel speed

tristancliffe
Posts: 220
Joined: Thu Mar 15, 2007 3:41 pm
Location: Norwich, UK
Contact:

Calculated wheel speed

Postby tristancliffe » Wed Sep 17, 2008 1:44 pm

I'd very much like to work out my wheel speed from RPM and gear ratio data to compare with GPS speed. I'm hoping it will show up wheel slip and spin if I'm lucky, which will help with my driving and setting up of the car.

I can make my own variable, but can't work out how to get the numerical value of the current gear in the equation editor. This is 99% of the time correct (although extreme wheelslip would make the calculated gear wrong I suppose).

Is this the sort of thing that can be done? If so, how?
Monoposto 2000 - Reynard 883 Toyota

faraday
Posts: 267
Joined: Sun Feb 25, 2007 1:18 am

Postby faraday » Wed Sep 17, 2008 2:42 pm

Doesn't VAR_0022 (IIRC) return the correct integer value (most of the time) if you have an appropriate .car file and cleanish RPM?

tristancliffe
Posts: 220
Joined: Thu Mar 15, 2007 3:41 pm
Location: Norwich, UK
Contact:

Postby tristancliffe » Wed Sep 17, 2008 3:15 pm

Yes, but how can I convert that 'on the fly' to the numerical gear ratio (e.g. 1.666)?

I suppose I could do a big nested IF statement if(var_0022=1,2.078,if(var_0022=2,...) but that isn't very elegant, and doesn't automatically update when I change the ratios in vehicle settings etc.
Monoposto 2000 - Reynard 883 Toyota

faraday
Posts: 267
Joined: Sun Feb 25, 2007 1:18 am

Postby faraday » Wed Sep 17, 2008 3:31 pm

Dig you now.
You could assign Vehicle Constants (CAR_1 to CAR_10 are available) at the time you set gear ratios.

BTW, what do you make of this new thread: http://www.race-technology.com/forum/vi ... highlight=
:?:


Return to “General software support”

Who is online

Users browsing this forum: No registered users and 102 guests