Quote:
Originally Posted by Ether
That calculator was written by Andrew Schreiber 1, and was based on an early version (now superseded) of the Drivetrain Acceleration Model 2.
The model was updated a few days later to correct a small error and include the effects of reduced motor voltage caused by circuit resistance 3. Andrew's calculator has not yet been updated to reflect the updated model.
Full C source code 2 is provided for the Model. All you need is a C compiler and you can change the parameters, compile, and run it. Compiling and running takes less than 2 seconds. The output is a CSV file which will open directly in Excel if you set file associations. Columns in the CSV file include time, distance, speed, acceleration, motor current, and motor voltage.
1 See post#13 in this thread http://www.chiefdelphi.com/forums/sh...d.php?t=119442
2 http://www.chiefdelphi.com/media/papers/2868
3 See post#23 in this thread: http://www.chiefdelphi.com/forums/sh...d.php?t=119442
|
Sorry, I didn't mean to post that without credit. I've edited my post to reflect the information you've presented.
At this point that model is something that I use quite often for getting a reasonable estimate of time to a given distance, and it just sort of permanently hangs out in my "Useful FRC tabs" bookmarks group. In the future I'll be using the up to date source code for critical applications.