function mm=sonar2mm(sonarval,coeff)
% sonar2mm(sonarval,coeff) takes an observed sonar value and
% a coeff representing the linear-fit conversion function for the
% robot and returns a distance to the reflecting object in mm
mm=sonarval*coeff(1)+coeff(2);