View Single Post
  #1   Spotlight this post!  
Unread 07-01-2014, 21:27
polarus polarus is offline
Russ Polyanskiy
FRC #3268 (Viking Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: United States
Posts: 3
polarus is an unknown quantity at this point
Lightbulb 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
Reply With Quote