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 / 13441
13440  |  13442
Subject: 
Re: Help with my robot
Newsgroups: 
lugnet.robotics
Date: 
Tue, 12 Dec 2000 13:37:55 GMT
Viewed: 
772 times
  
lego-robotics@crynwr.com (Mark Crosbie) writes:

In message <G5Fp8J.4s9@lugnet.com>, "Ahui Herrera" writes:
The problme i am having is that the robot will not go straigt.  it is not
turning 180 degrees.

You will probably need a rotation sensor to ensure that the robot is
travelling in a straight line. No two LEGO motors will rotate at the
same speed, so you will always encounter drift when driving a robot.

I can think of three solutions:
1. Use rotation sensors to monitor the wheels and correct for differences
   in speed.
2. Use a light sensor to follow marking on the floor and correct it
   course.
3. Use an adder/subtractor drive. One motor drives the robot and another
   provides a steering correction input. Thus as both wheels are driven
   from the same motor, you get no drift!

4. Measure the deviation and correct it by a small turn every now and then.
   (this is what I did when I first got my RIS and wanted it to take a tour
   of my flat, total length about 15m with a few turns).
   This avoids use of rotation sensor or markings, but is also less
   accurate.

Solution 3 works nicely in theory, but in practice it still
may drift to one side (mine did).

If markings are allowed 2 is best.

Jürgen

--
Jürgen Stuber <stuber@loria.fr>
http://www.loria.fr/~stuber/



Message is in Reply To:
  Re: Help with my robot
 
(...) You will probably need a rotation sensor to ensure that the robot is travelling in a straight line. No two LEGO motors will rotate at the same speed, so you will always encounter drift when driving a robot. I can think of three solutions: 1. (...) (24 years ago, 12-Dec-00, to lugnet.robotics)

10 Messages in This Thread:






Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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