Changes to ball_detector to accomodate to ROS wrapper requirements