Quote:
Originally posted by Foley350
by the way, what do you use to measure the distance traveled, and what happens if the robot isnt moving while the wheels are spinning, wouldnt that throw off the system?
|
As was mentioned, we use a wheel with 2 light sensors mounted on it (2 sensors allow you to determine both distance and direction of rotation). As for the wheels spinning without the robot moving, this is a problem to consider however in practice it doesn't happen unless we change direction on the ramp grid (causing a momentary wheel slip) or if we run into something completely immovable (like the field border).