Code for robot to detect and capture ping pong balls.