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 / 8777
  Drift Correction
 
Does anyone know how to do drift correction? I have tried 4 different ways, but they all don't work. Is it a difference in wheel circumference? Or is it something with the programming? I drive for 5 seconds, then check the rotation sesnor values, If (...) (25 years ago, 3-Dec-99, to lugnet.robotics)
 
  Re: Drift Correction
 
(...) Andy, I don't see why this wouldn't work; you should notice that your 'bot is rolling, pulling a little to one side, then stopping and turning slightly away from the previous heading. I'd noticed my 'bots drifting a bit, but had attributed it (...) (25 years ago, 3-Dec-99, to lugnet.robotics)
 
  Re: Drift Correction
 
=>From: Andy Gombos <gombos@ne.infi.net> =>... =>Does anyone know how to do drift correction? I have tried 4 different =>ways, but they all don't work. Is it a difference in wheel =>circumference? Or is it something with the programming? I drive (...) (25 years ago, 3-Dec-99, to lugnet.robotics)
 
  RE: Drift Correction
 
This will not work. Imagine a straight line that you want to follow. Drive for 5 seconds, allowing to drift to one side or the other. If there is any drift, you will now be off the line and point in a direction that is not parallel to the line. Now (...) (25 years ago, 3-Dec-99, to lugnet.robotics)
 
  Re: Drift Correction
 
Ohhhh. Now I see what is wrong. And I also see why the NQC code that came with some tutorial or something does not work. Thanks for the help. Hopefully now I can get something that will work. Andy (25 years ago, 3-Dec-99, to lugnet.robotics)
 
  Re: Drift Correction
 
(...) I used this approach once - and with success. The gears are a bit sloppy and the rotation sensor only measures descrete angles. Anyway it worked for me. Jacob (25 years ago, 5-Dec-99, to lugnet.robotics)

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