To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 27673
    How can I set inch unit or metric(cm) unit to Sonar sensor? —NXTelectroneer
   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)
   
        Re: How can I set inch unit or metric(cm) unit to Sonar sensor? —Philippe Hurbain
   (...) 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)
   
        Re: How can I set inch unit or metric(cm) unit to Sonar sensor? —NXTelectroneer
   (...) Thank you very much your reply. Have a nice day!! :) NXTelectroneer:-D (16 years ago, 8-Mar-09, to lugnet.robotics)
 

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR