Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   General Forum (http://www.chiefdelphi.com/forums/forumdisplay.php?f=16)
-   -   Aerial Assist Ball launching simulator (physics) (http://www.chiefdelphi.com/forums/showthread.php?t=124273)

polarus 07-01-2014 21:27

Aerial Assist Ball launching simulator (physics)
 
Hi everyone,

Team 3268 has started a simple simulator script that calculates launch velocity required for a ball to reach certain height at given launch angle and distance from the target.

The source is available in our public bitbucket repository here: https://bitbucket.org/polarus/3268-frc-2014-simulation

The simulation script is written in python, using PyODE physics library (http://pyode.sourceforge.net/)

DISLAIMER: This is just an initial pass, that requires math validation.

TODO:
1. Validate math
2. Create another loop to calculate velocity for the ball to hit the target
3. Research spin aerodynamics and add force adjustment
4. Add documentation

Let me know if you have any questions.

Thanks,
Russ

Ether 07-01-2014 21:53

Re: Aerial Assist Ball launching simulator (physics)
 
Quote:

Originally Posted by polarus (Post 1323480)
Hi everyone,

Team 3268 has started a simple simulator script that calculates launch velocity required for a ball to reach certain height at given launch angle and distance from the target.

Is it a simple parabola (no aerodynamic effects) ?

Or does it include air drag and magnus effect ?



polarus 07-01-2014 22:25

Re: Aerial Assist Ball launching simulator (physics)
 
Quote:

Originally Posted by Ether (Post 1323486)
Is it a simple parabola (no aerodynamic effects) ?

Or does it include air drag and magnus effect ?



At this time it includes parabola and simple drag effect (no rotation). We are planning to add rotation effects as well. Feel free to clone/adjust/contribute if you like.

Ether 07-01-2014 22:31

Re: Aerial Assist Ball launching simulator (physics)
 
Quote:

Originally Posted by polarus (Post 1323504)
We are planning to add rotation effects as well. Feel free to clone/adjust/contribute if you like.

You might find this useful:

http://www.chiefdelphi.com/media/papers/2725



polarus 07-01-2014 23:35

Re: Aerial Assist Ball launching simulator (physics)
 
Quote:

Originally Posted by Ether (Post 1323509)

Awesome, thanks for your whitepaper! It definitely helps.


All times are GMT -5. The time now is 15:19.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi