To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.nqcOpen lugnet.robotics.rcx.nqc in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / NQC / 404
    Help with rotation sensors —Steven Heide
   Hi all, I'm new to programing so this may seem like a silly question. I'm using two rotation sensors with the program below to eliminate drift caused by different motor speeds. Is it possible to break this loop when a certain distance is reached? I (...) (25 years ago, 23-Jan-00, to lugnet.robotics.rcx.nqc)
   
        Re: Help with rotation sensors —Ian Warfield
   (...) You could probably change the first line to while (SENSOR_1 < target_distance) and it should work fine. Since you want to keep the two rotation sensor values (and hence the two wheel distances) equal, each sensor will individually measure the (...) (25 years ago, 24-Jan-00, to lugnet.robotics.rcx.nqc)
 

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