I'm working on a project that will return a basketball to the player, by swiveling a chute under the hoop to aim the ball towards the player (when the player makes the shot). It needs to detect the position of a singular person on a basketball court, and aim the chute respectively. The size of the court is regulation, for my purposes, as long as the system can detect the player's position ≈20 ft from the hoop. Does anyone have any suggestion as to how this would work? I looked into gps but it didn't seem to be accurate enough. Also I thought of (somehow) detecting the position of the player relative to a grid, have the hoop as 0,0 of the grid. but I don't know how to aim it. Thanks!