A preserved archive of the Logical Gamers community forums, 2009-2025. The original threads and posts, served read-only. Registration, posting and private messages are gone for good.

Programming physiscs question

1.2k views · started by 323 ·
#1
Programming physiscs question
Help me, LG!

So, I've never taken a physics class before in my life.

I need to determine the launch angle and velocity of an object.

Is there an equation for this?

What I have: The hoop height is 98 inches. We're aiming above it by a foot, so 110 inches. The air resistance is just 1.0, once we get actual data we're going to change it. I just need the equation to determine angle and velocity based on the height of what you're aiming at and the distance away from it.

If anyone could help, it would be GREATLY appreciated. I really need an answer to this question.

The reason I need to do all this is because (as a mini-test) the president of my robotics club said I had to program a function for our pneumatic gun and have it done in 3 days. I just started programming C++ less than 2 weeks ago.
#2
Trajectory equations and explanation are here.
#3
Thanks, but I don't know any calculus either o.o

Time to call my uncle, hes a mathematician lol
#4
The problem I find is knowing what symbols represent the keys on the keyboard >O
#5
DUUUDE. NO WAY. FIRST ROBOTICS? XD

Im in it too :>

This is my 3rd year as the programmer on the team. Doing auto tracking myself and have to calculate trajectory also.

---------- Post added at 06:41 PM ---------- Previous post was at 06:38 PM ----------

Also, due to several factors, we have decided rather to not calculate the air resistance and what not. Its low enough to ignore it. You need to be on chief delphi! Check this thread:
Ball Trajectory Planning - Chief Delphi
#6
MattSmith wrote:
DUUUDE. NO WAY. FIRST ROBOTICS? XD

Im in it too :>

This is my 3rd year as the programmer on the team. Doing auto tracking myself and have to calculate trajectory also.

---------- Post added at 06:41 PM ---------- Previous post was at 06:38 PM ----------

Also, due to several factors, we have decided rather to not calculate the air resistance and what not. Its low enough to ignore it. You need to be on chief delphi! Check this thread:
Ball Trajectory Planning - Chief Delphi


Sweet :D This is my first year on FRC, though all throughout middleschool I had done FLL.

So, is your team Chief Delphi, or do you just use their forum? xD

Either way, I signed up :3 Thanks for the info, also.
#7
Sweet :D This is my first year on FRC, though all throughout middleschool I had done FLL.

So, is your team Chief Delphi, or do you just use their forum? xD

Either way, I signed up :3 Thanks for the info, also.

They are a team we compete against in our districts. As we are in michigan we have district competitions lol, no where (that I know of) else does. Anywho, They go to nationals pretty much every year -_- something about enough money to just throw ideas then have it all machined over night every night with no human interaction -_-

We actually build everything from scratch so its much more difficult.


Also, its just a very valuable website. Lots of ideas from teams are just thrown out here and designs posted.Also they will give you help if you need it.
#8
MattSmith wrote:
They are a team we compete against in our districts. As we are in michigan we have district competitions lol, no where (that I know of) else does. Anywho, They go to nationals pretty much every year -_- something about enough money to just throw ideas then have it all machined over night every night with no human interaction -_-

We actually build everything from scratch so its much more difficult.


Also, its just a very valuable website. Lots of ideas from teams are just thrown out here and designs posted.Also they will give you help if you need it.


Oh cool :o Also: I didn't know you lived in michigan :o I do too!
#9
Oh cool :o Also: I didn't know you lived in michigan :o I do too!

lmao, what city?
I'm in Southgate
#10
Also, what competitions will you be competing at? I think we are going to wayne state district and somewhere else, dun remember the second one