View Single Post
  #4   Spotlight this post!  
Unread 30-01-2009, 19:22
Snow Pickles Snow Pickles is offline
Registered User
FRC #1569
 
Join Date: Jan 2009
Location: Idaho
Posts: 3
Snow Pickles is an unknown quantity at this point
Re: A Equation for a Cannon

It's been a bit but i finally got around to making a better version.
It still does it with a varying velocity but shows what would be changed for angle varyisation.

It could also be changed to acceleration tracking rather than velocity , but that is imbedded deeply in the code

Still working on the tracking program, which might use acceleration tracking

Also you might want to stick this in a seperate namespace since it is a huge global pollutor.

I realize that the last one might have been messed up due to linux end lines vs windows. I think this one is good.

Also, it still might not compile, tell me if you can't fix it.
Attached Files
File Type: cpp CannonEquation.cpp (5.2 KB, 38 views)
Reply With Quote