Fixed BallDetector compile issues. Need to resolve BallDetector architectural issues now.