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 / 6423
6422  |  6424
Subject: 
Moving Straight
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Mon, 28 Jun 1999 16:53:53 GMT
Original-From: 
Sean Verret <sean_verret@%avoidspam%pmc-sierra.bc.ca>
Viewed: 
792 times
  
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 has 4 Replies:
  Re: Moving Straight
 
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 (...) (25 years ago, 28-Jun-99, to lugnet.robotics.handyboard)
  Re: Moving Straight
 
(...) Sorry, I do other things with my controllers than control robots (shame on me!). From other discussions I've seen though, I would think that you could use some feedback from the turning shafts, like optical turns counters or some such. I (...) (25 years ago, 28-Jun-99, to lugnet.robotics.handyboard)
  Re: Moving Straight
 
I use the 9 gram Piezo gyro in my Hand Launch Glider to keep it moving level despite strong wind conditions. Could you use that in your robot as a "Rudder" input? The 9 gram Piezo gyro costs about 9,500 yen here in Japan. That is about $80.00. I (...) (25 years ago, 29-Jun-99, to lugnet.robotics.handyboard)
  Re: Moving Straight
 
So far nobody has mentioned using a compass to control the 'bot's heading. (URL) Nick (...) (25 years ago, 29-Jun-99, to lugnet.robotics.handyboard)

Message is in Reply To:
  chips
 
oes anyone have a reliable source of the 68hc11 they are being obseleted by motorola and i can get less than 100... and i work for an electronics manufacturer. thanks phil (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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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