servo+ir+sonar scanning functionality