Predicting a Ball Trajectory

-

Polynomial Slot in Python with NumPy

Ball Tracking and Trajectory Prediction

In a previous project I visualized the trajectory of a ball that I threw vertically into the air with a real-time position, velocity and acceleration plot. Extending upon this project, I desired to calculate and visualize a trajectory prediction based on a straightforward physics model. On this post, I’ll explain how I fit the model to the measured state of the ball and visualize the anticipated trajectory.

Position, Velocity and Acceleration Plots with Prediction

Let’s start with the physics model for the ball. For simplicity, I’m only considering the vertical movement of the ball, simplifying the issue to a one-dimensional one. Moreover, I’m only modelling the ball as soon because it leaves my hand and neglecting any air drag. This simply leaves us with a single constant force acting on the ball: gravity.

Gravitational Force acting on the Ball

The force is calculated with the mass of the ball and the gravitational acceleration g, which is roughly 9.8m/s², depending on location and altitude. The…

ASK DUKE

What are your thoughts on this topic?
Let us know in the comments below.

0 0 votes
Article Rating
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments

Share this article

Recent posts

0
Would love your thoughts, please comment.x
()
x