To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.handyboardOpen lugnet.robotics.handyboard in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / Handy Board / 6425
6424  |  6426
Subject: 
Re: Moving Straight
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Mon, 28 Jun 1999 18:02:52 GMT
Original-From: 
Nick Taylor <ntaylor@iname.com>
Viewed: 
816 times
  
Sean ...

Probably the best way to maintain a constant heading is to use shaft
encoders on both drive wheels ... monitor their rotation ... adjust
one motor to give identical turn counts.

The book "Mobile Robots: Inspiration to Implementation" by Jones,
Flynn, and Seiger provides a description of this method complete with
IC code examples.  IMO this book is an absolute essential for anyone
using the HandyBoard ... at least until Fred Martin's book is finally
published.

Nick

Sean Verret wrote:

Is there anyone who has written or seen IC code that will keep a robot
moving straight with 2 DC motors and four side sensors?  2 on each
side.  The main reason I ask is because one of my DC motors seems to put
out more power that the other one and this moves faster  and my robot
like to turn into walls....

I'm using the analog sensor inputs with IR sensors - the values range
from 0-255
255 being can't see anything, and 0 being right against a wall..

I was thinking something like - if back left > 128 speed up left motor
or decrease right motor speed and similar scenarios for the other
sensors....

I'm asking just to save myself some time....  If anyone can help that'd
be greatly appreciated!!

Cheers
Sean Verret
Design Services
PMC-Sierra ext 2527



Message is in Reply To:
  Moving Straight
 
Is there anyone who has written or seen IC code that will keep a robot moving straight with 2 DC motors and four side sensors? 2 on each side. The main reason I ask is because one of my DC motors seems to put out more power that the other one and (...) (25 years ago, 28-Jun-99, to lugnet.robotics.handyboard)

6 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