View Single Post
  #24   Spotlight this post!  
Unread 17-12-2013, 18:10
cadandcookies's Avatar
cadandcookies cadandcookies is offline
Director of Programs, GOFIRST
AKA: Nick Aarestad
FTC #9205 (The Iron Maidens)
Team Role: College Student
 
Join Date: Jan 2012
Rookie Year: 2009
Location: Minnesnowta
Posts: 1,563
cadandcookies has a reputation beyond reputecadandcookies has a reputation beyond reputecadandcookies has a reputation beyond reputecadandcookies has a reputation beyond reputecadandcookies has a reputation beyond reputecadandcookies has a reputation beyond reputecadandcookies has a reputation beyond reputecadandcookies has a reputation beyond reputecadandcookies has a reputation beyond reputecadandcookies has a reputation beyond reputecadandcookies has a reputation beyond repute
Re: Team 610 pre-season drivetrain

Quote:
Originally Posted by Ether View Post
That calculator was written by Andrew Schreiber1, and was based on an early version (now superseded) of the Drivetrain Acceleration Model2.

The model was updated a few days later to correct a small error and include the effects of reduced motor voltage caused by circuit resistance3. Andrew's calculator has not yet been updated to reflect the updated model.

Full C source code2 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.
__________________

Never assume the motives of others are, to them, less noble than yours are to you. - John Perry Barlow
tumblr | twitter
'Snow Problem CAD Files: 2015 2016
MN FTC Field Manager, FTA, CSA, Emcee
FLL Maybe NXT Year (09-10) -> FRC 2220 (11-14) -> FTC 9205(14-?)/FRC 2667 (15-16)
VEXU UMN (2015-??)
Volunteer since 2011
2013 RCA Winner (North Star Regional) (2220)
2016 Connect Award Winner (North Super Regional and World Championship) (9205)

Last edited by cadandcookies : 17-12-2013 at 18:15.