View Single Post
  #1   Spotlight this post!  
Unread 26-01-2013, 22:35
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,089
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Physics Equations in Java

Quote:
Originally Posted by pimathbrainiac View Post

I found this PDF for the physics equations of frisbee flight

http://web.mit.edu/womens-ult/www/sm...ee_physics.pdf

My problem: I want to rearrange the equations so you can input the final x and y positions and output the necessary velocities to get to that distance. I want to then put this in a Java program, like the one in the PDF.

Any help?
The paper sets up the differential equations for the flight of a frisbee. The equations are nonlinear; there is no analytical solution ("formula").

Since there is no analytical solution, the paper presents a numerical solution to the initial value problem.

You wouldn't have the necessary computing resources to do this numerical solution in real time on your robot, let alone the considerably more difficult boundary value problem you are asking.

Even if you could, it would be pointless because you would have to validate the model by doing extensive testing to determine the values of all the coefficients. As long as you have to do that, you might as well just use the test data to determine what launch angles and wheel speeds give you the desired flight paths and then just store that info in a lookup table that your code would use to choose the launch parameters.


Reply With Quote