Advertisement

02.15.2008 at 06:38AM PST, ID: 23166068 | Points: 25
[x]
Attachment Details

Predict position of moving object given heading & velocity

Tags: trigonometry, applied maths, calculus, differentiation
I am looking to predict the position of a moving object given its heading and its velocity. But the time needs to be calculated aswell.

There are two objects on the plane, my object and a target object. The target object is moving with constant velocity and i can detect its heading and velocity. Assume that my object is stationary. I must fire a bullet at it. The bullet will travel at a certain velocity (which will be different for each shot, so i need this to be a variable in the eq aswell). This is the part I am having trouble with, I think there will need to be a bit of differentiation to minimize the distance so that the bullet will hit.

Basically, I need to predict where the target object will be by the time the bullet would hit it, so that I can aim at it.

It's a 2D flat plane. Bottom left corner is (0,0) and angles are given so that vertically up is 0, looking to the right would be 90deg, down is 180, etc.


Thanks for any help!
Just post a question if you need more info!

P.S. I can also determine the bearing of the target relative to my object, if that make anything a bit easier.

PPS. Sorry for the low points, but that's all I have available at this time. If there's a solution that works, ill try purchase some more points and increase it. Thanks!
Start your free trial to view this solution
Question Stats
Zone: Programming
Question Asked By: Hurb
Question Asked On: 02.15.2008
Participating Experts: 2
Points: 25
Views: 0
Translate:
Loading Advertisement...
02.15.2008 at 07:46AM PST, ID: 20902735

Rank: Wizard

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.15.2008 at 08:06AM PST, ID: 20902977

Rank: Master

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
20080236-EE-VQP-29 / EE_QW_2_20070628