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 / 13438
13437  |  13439
Subject: 
Help with my robot
Newsgroups: 
lugnet.robotics
Date: 
Tue, 12 Dec 2000 02:50:43 GMT
Viewed: 
924 times
  
I got a problem.  I have a simple two motor robot that I want to have a push
button cause the following:

1 hit the push button
2 robot turns 180 deg and move forward
3. after 15 feet robot stops
4 repeat 1 - 3

The problme i am having is that the robot will not go straigt.  it is not
turning 180 degrees.

See my website for pics and the code I am using.

Please any advcise would be helpful.  This is for a project/demo in the
elementray schools and I time is running out for the time the demo will be here.


http://www.geocities.com/jedi_agh/temp/simple_robot.htm

thanks
ahui



Message has 4 Replies:
  Re: Help with my robot
 
My first suggestion would be a swivel wheel in the front to make turning easier for the bot. The only solution to your programming would be two rotation sensors to aid in running straight and to measure the distance that you have traveled. This (...) (24 years ago, 12-Dec-00, to lugnet.robotics)
  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)
  Re: Help with my robot
 
(...) As lots of other people have said - you really need rotation sensors. If you don't have one - then a line-follower is an option (as other people have also suggested)...or I *suppose* you could put a bright light at either end of your 15 foot (...) (24 years ago, 12-Dec-00, to lugnet.robotics)
  Re: Help with my robot
 
Bob Fay's suggestion is a good one, here's another option: Drive both sides with a single motor via a differential, add a rack + pinion steering to the front, or, if you have a second differential, create a mixing differential for a skid-steered (...) (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