C Programming of a Robot that calculates distance to an IR flag and shoots a Golf ball that calibrated distance.