read sonar data from robot