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 / 6437
6436  |  6438
Subject: 
Re: Moving Straight
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Tue, 29 Jun 1999 19:56:09 GMT
Original-From: 
Nick Taylor <ntaylor@iname.com>
Viewed: 
910 times
  
So far nobody has mentioned using a compass to control the 'bot's
heading.

    http://www.precisionnav.com/vector2xmain.html

  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