-------------------------------------------------------
VEHICULAR DRIFT SIMULATOR

http://brightsoo.com/vds/

by Bright Soo, bright@brightsoo.com / bsoo920@gmail.com
-------------------------------------------------------


CONTENTS OF THIS FILE
---------------------

* To run the program
* Troubleshooting
* To maximize your enjoyment of the vehicular drift simulator
* FAQ
* Known bugs


------------------
TO RUN THE PROGRAM
------------------

Simply double-click “Vehicular Drift Simulator.exe”.


---------------
TROUBLESHOOTING
---------------

Steps to fix the error:

  "Component ‘TABCTL32.OCX’ not correctly registered: file is missing or invalid"

** STEP 1: OPEN A COMMAND PROMPT WITH ADMINISTRATOR PRIVILEGES:

Click Start, type in cmd in the Start Menu search box, right click on the cmd option displayed in the search results, and click on Run as Administrator.

Click on Allow or Continue at the User Account Control prompt that should be displayed next.  Now you should have a command prompt with Administrator privileges open.
 

** STEP 2: EXECUTE A RE-REGISTERING PROCESS OF THE TABCTL32.OCX FILE BY RUNNING THE FOLLOWING COMMANDS:

cd [the directory where “Vehicular Drift Simulator.exe” is located]
regsvr32 /u tabctl32.ocx
regsvr32 tabctl32.ocx
exit

Once you have finished executing these commands, the .exe file should now run without errors.  If you still get the error at this point, please try restarting the computer.


-----------------------------------------------------------
TO MAXIMIZE YOUR ENJOYMENT OF THE VEHICULAR DRIFT SIMULATOR
-----------------------------------------------------------

** 1. ON THE VEHICLE TAB, SET WHEELBASE LENGTH TO 2.718. 

The program opens with the default value of the McLaren F1's dimensions, but the value of Wheelbase Length is incorrect - the default 4.29 meters is its entire length, not wheelbase.  This was an error in my research at the time.  No wikipedia in 1998.

##  2. HOVER OVER EACH INPUT BOX FOR POP-UP EXPLANATIONS.

##  3. IF THE SIMULATION LOOKS TOO FAST, GO TO GRAPH TAB AND CHECK THE BOX "Real Time".

At the time this program was written in 1998, computers weren't very fast.  On a modern-day computer, however, this program can run TOO fast if the application is not run maximized on a large screen.  Checking this option will instruct the program to pause for real time to catch up between each of its calculations, which by default approximate and interpolate the vehicle path in 10 ms (micro-seconds) intervals.

The difference is most apparent when running this program in a resized state (i.e. not maximized).

ENJOY!!


-------------
     FAQ 
-------------

Q: What's the MSVBVM50.DLL file?
A: It is a run-time file that all applications created with Visual Basic 5.0 need in order to run.  This file is normally part of Windows XP but is absent from Vista and Windows 7.  MSVBVM50.DLL was extracted from msvbvm50.cab, which was downloaded from http://support.microsoft.com/kb/172991/EN-US/ .  See also http://support.microsoft.com/kb/180071 .


Q: What's the tabctl32.ocx file?
A: Not sure... and a search of it doesn't reveal much useful information either.  I seem to recall that, a few years after I wrote this program, I tried to run it on a machine (Win98 maybe...), and it wouldn't run unless this file is in the same directory.  I don't even remember where I got it from... It is included here just in case!


----------
KNOWN BUGS
----------

THE FOLLOWING ALSO APPEARS IN THE ACCOMPANYING WORK DOCUMENT VehicleDriftSimulator.doc:

  Unfortunately this program has not been designed to be fool-proof.  The user must enter valid values in the text boxes for the program to run correctly, otherwise the program would crash, although such crashes does not seem to impact the Windows operating system.  To assist the user in this matter, auto-popup ToolTips have been implemented for all input fields.  These ToolTips will indicate valid ranges or limitations, if any, of the input fields.

  During the testing of this program, it is found that the program is quite robust as long as the user follows all the instructions in the ToolTips.  Thus far, the finished program has never crashed on any other causes.

  One feature that have yet to be implemented is the ability to recognize when the vehicle has come to a stop.  Currently, the program will continue indefinitely to make calculations on the vehicle even if all speeds have reduced to zero.  Thus it is up to the user to stop the calculations, by pressing "Stop" or "Pause".

  One negative side-effect of this lack of "auto-stop" capability is that, occasionally, after a vehicle has come to a near-complete stop, it may start to very slowly rotate about its center.  This is due to the fact that the program uses time-interval linear interpolation techniques to approximate motion.
The forces that are bringing a spinning vehicle to a near-complete stop may, once interpolated beyond the moment of true stop, actually reverse the spinning direction.  However minimal this reverse spinning rate is, the program recognizes the reversed spinning and therefore assert opposing forces which, again after interpolation, may reverse the spinning once again.  And this cycle may repeat.

  Most of the time, the net effect is a stationary vehicle.  Occasionally, however, this cycle of calculations may come to a steady state in which each successive cycle produces the same result, a result that spins the vehicle one way faster than the other.  This is the causing of the mysterious spinning of the vehicle.

  One attempted solution to this problem is the "Front Wheel Sensitivity" input field.  It adjusts the sensitivity of the programs ability to recognize a slow spinning rate and apply frictional forces on the front wheels.  Unfortunately, the scale of calculations that are causing the problem is apparently too small and random, so that this attempted solution has only limited success in this area.

  A more practical use of this input field is to increase the stability or the self-aligning property of a vehicle.  For example, if the simulation vehicle is set to skid directly straight ahead with no angular velocity, under zero front wheel sensitivity (most sensitive, zero allowance), the vehicle may go into a spin if the straight travel path is not vertical or horizontal, due to the intrinsic inaccuracies arising from the rounding-offs in internal calculations.  In this case, increasing the input field value (increasing allowance) will delay application of lateral friction forces and thus produce a better simulation of a vehicle skidding on a straight path, where spinning would theoretically not occur.

