boyracer38 Posted December 2, 2004 Report Posted December 2, 2004 I have the following controls Silder - accelerator Gauge - Miles Per Hour (MPH) Gauge - Revs per minute (RPM) The idea to make the vi simulate a car.... When the accelerator is increased, the revs will rise. The RPM will determine the gear (4 speed auto gear box) So as the rpm rises/falls, the gear will shift and down accordingly.... Thats the part i have done... I now want to link the revs to the MPH to show the speed... The speed will depend on the RPM and the gear.... Each gear has a max possible speed which can be reached in that gear. eg, no faster than 30MPH in 1st My idea is that i shoudl mulitply the present RPM by a value to get MPH which will be displayed on the MPH gauge? Any ideas welcome Quote
Jack Kelledes Posted December 3, 2004 Report Posted December 3, 2004 Your idea is pretty much what a car really does - multiply the engine RPM by the gear ratio in the transmission to move your wheels. I think it would be simpler if you put a limit on RPM and then you wouldn't have to worry about speed for each gear. The car could shift when it reached the proper RPM. Just figure out what gear ratios you want and multiply that by your RPM. Wire that output to your Speedometer. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.