Hi, I am building a NXT remote control program but atempt a problem. I am now success to reading sensors even ultrasonic(sonar) sensor. But I want to set the sonar to imperial(inch) unit or metric(Centimeter) unit. Or, want to know how to reading (...) (16 years ago, 7-Mar-09, to lugnet.robotics)
(...) The sensor itself returns only cm values. To use inches just multiply the result by 100 and divide by 254 (1 inch = 2.54 cm, but since we are dealing with integers we use 1/2.54 = 100/254) Philo (16 years ago, 7-Mar-09, to lugnet.robotics)