Go to Post Canadian teams would definitely be able to give some of the "big boys" a run for their money. Despite the fact that their money is worth more than ours... =) - Karthik [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 11-02-2012, 10:59
EthanPieper EthanPieper is offline
Registered User
FRC #4095
 
Join Date: Jan 2012
Location: Milwaukee Pius
Posts: 5
EthanPieper is an unknown quantity at this point
Ball launching math (with pictures!)

So here at team #4095 camp we have finished going through the math that goes along with firing the ball at different angles so that it can be programmed much easier. And yes, like I promised, there are pictures of the math! :D

Setting everything up

I'm assuming you can tell that that is in fact a right triangle, not at all to scale, but it does what we want it to. But here are all of the variables:
Y = The height from the ground to the top of the rim of the hoop.
Yo = Initial height, where the ball leaves the shooter.
Θ = The angle that the ball leaves at when shot at the hoop (projectile).
dc (camDist) = The distance of the camera (c) to the bottom of the highest reflective tape.
Θc = Angle of the camera to the line parallel to the ground.
d adjusted (hoopDist) = The distance from shooter to the boards that the hoop is on, minus the distance to the center of the hoop.

Finding Y

g = Acceleration by gravity, 9.8 m/s/s or 32.2 ft/s/s.
v = Velocity of the ball.
You can see the math here, and in the next step we'll break it apart a bit more.

Finding more Y

Top left: Yo is subtracted over to the other side of the equations. TAN is split into SINΘ over COSΘ, then 1-COSΘ over COSΘ (yay trigonometric identities!).
Bottom left: Excluding the subtraction of gd^2/2(vCOSΘ)^2, we move d into the numerator.
Bottom right: This part is distributed into separate fractions.

Now we have this

Self explanatory. If you don't know, \ just means that I am continuing the equation on the next line.

Ha, I can only use five images. Continued next. (I'm sorry about the double post, but you leave me no choice delphi).

Last edited by EthanPieper : 11-02-2012 at 11:15. Reason: Accuracy
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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