...
The trajectory of a ball can be modeled to be parabolic. From two point p and p_old with corresponding timestamps, the velocity v is computed.
For a
like so: .... [TODO]future point in time t, with t=0 being the timestamp of p, we can then approximately approximately predict the corresponding ball position using the following formulas.
The incline of the playfield causes a vertical acceleration, which is modeled via a graviatational pull with the factor g = sin(6°) * 9.81 m/s².
The value of 6° is the incline of the playfield measured on the physical device.
Configuration
...
Prediction parameters
...