View Single Post
  #2   Spotlight this post!  
Unread 05-02-2009, 14:24
XXShadowXX's Avatar
XXShadowXX XXShadowXX is offline
They call me Cody.
no team (None currently :\)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Pontiac; MI
Posts: 408
XXShadowXX has much to be proud ofXXShadowXX has much to be proud ofXXShadowXX has much to be proud ofXXShadowXX has much to be proud ofXXShadowXX has much to be proud ofXXShadowXX has much to be proud ofXXShadowXX has much to be proud ofXXShadowXX has much to be proud ofXXShadowXX has much to be proud ofXXShadowXX has much to be proud of
Re: Trajectory Troubles ::LabView::

this should lessen your pain

find the square root of

(dg)/(sin (2a))

gives your velocity to hit the target

d=distance
g= accleration due to gravity (32f/s^2 or 9.8 m/s^2 on earth)
sin = sine, the trig function
2a= 2 times your angle of firing

if you are always feeding a distance (in standard units), and set your angle of fire to a constant (and backward solve for the speed of the motor) you will change speed in proption to distance
__________________
Is now an engineer thanks to FIRST.
Reply With Quote