![]() |
Re: paper: Drivetrain Acceleration Model
Quote:
|
Re: paper: Drivetrain Acceleration Model
Quote:
|
Re: paper: Drivetrain Acceleration Model
|
Re: paper: Drivetrain Acceleration Model
Quote:
Turns out "variable *" compiles to "variable * variable" as opposed to throwing a compile error. |
Re: paper: Drivetrain Acceleration Model
Quote:
At line 75, "A*4/10" should be "A*n/10". |
Re: paper: Drivetrain Acceleration Model
My current JS port has some minor typos that I haven't had the chance to hunt down yet. I'm working with Emscripten to compile the C code to Javascript which should mean I can integrate your changes faster too.
|
Re: paper: Drivetrain Acceleration Model
Quote:
I want to add battery voltage drop so mentors can use the model as a visual teaching tool to show students why low resistance in the motor wires and connections really does matter. |
Re: paper: Drivetrain Acceleration Model
Quote:
9/24/2013 added updated C code (build 2013-09-24_2231) which includes motor voltage drops due to circuit resistance. 9/24/2013 added an explanation how the voltage drop model was derived. |
Re: paper: Drivetrain Acceleration Model
Ether - Very nice, thanks for developing this. Do you think it could be extended to include wheelbase parameters and predict motor current draw when turning (say differential steering)? We've had trouble in this area during drive system design.
|
Re: paper: Drivetrain Acceleration Model
Quote:
|
Re: paper: Drivetrain Acceleration Model
The executable works very well functionally-- I was able to run it with no problems and create some nice graphs based on it.
The only problem I've noticed is that I really have no idea what any of the variables are until I look back into the original program for comments. I don't think I've quite expressed my appreciation for this program enough-- it is really nice to have such a good model for generating a good estimate of how fast a given drive train setup will move. |
Re: paper: Drivetrain Acceleration Model
Based on the discussion on this thread (see posts #24 and #28), I've ported Ether's/Andrew Schreiber's C code to Java, and made a GUI front-end with charting. It's not the most pretty thing ever coded, but it may help to make the calculator more accessible by non-programmers. You can find the source code here, with .jar file releases here.
I'd appreciate any feedback you might have. |
Re: paper: Drivetrain Acceleration Model
Quote:
So I collected everything together in one place and posted it here. |
Re: paper: Drivetrain Acceleration Model
Thank you so much for making this. You're my go-to resource for FRC physics and the community wouldn't be the same without you.
On line 84 voltage drop is calculated, but you don't ever seem to account for it when calculating the torque of the motors, is that correct? |
Re: paper: Drivetrain Acceleration Model
Quote:
Quote:
Thanks for the words of encouragement. |
| All times are GMT -5. The time now is 12:59. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi