I am attempting to design a obstacle avoidance system with the Arduino. My position (for now) is going to be stationary. I will be detecting an incoming object and I want to use the below known variables to predict if it will hit me or not. Unfortunately this requires physics and I am weak.
I plan on doing the following calculations:
Object detected at point 1 = Known Distance and azimuth.
Object detected at point 2 = Known Distance and azimuth and speed.
Object detected at point 3 = Known Distance and azimuth and speed and acceleration.
Now that I have the above values I think I can plot a trajectory but I will need to account for gravity. I can't account for gravity until I know my objects mass.
So, given that I have Velocity and acceleration, is there anyway to calculate, taking into account for gravity, a graph of its trajectory in a 2D and 3D space. (Please use 2D for the example, I'll figure 3D out later.)