| | 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)
| | | | | | |