Open maggaou opened 2 years ago
This requires some depper thought: The plugin is supposed to help you figure out if you are improving. The mean and median will not only decrease by taking a shorter route, but also by only carring the ball for a short time, then flicking it into the goal. Also, in the case you described, a longer maximum than before would be worse, while in other cases a longer maximum would be better.
One solution is to track only time took to make goal and limit shot time in way that time runs out immediately. If the ball is dropped then attempt will fail because of the short shot time.
In case of linear routes shorter time to make goal signify improvement and in curved routes smaller difference to mean (ie. variance or standard deviation) signify improvement. This is only approximation because the player needs to decide the mean driving speed to aim for. Same applies to path: player decides some path to aim for. I believe this "intention" parameter is captured by mean. Of course more accurate way would be to provide these two data explicitly. Average speed would be single number but of course path is more complex thing to provide.
Ground dribble training can include certain path to goal with as fast as possible. I'm not asking to implement path tracking but to track ground dribble time mean, median and standard deviation.