Subject:
|
Re: Help with my robot
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Tue, 12 Dec 2000 06:12:44 GMT
|
Original-From:
|
Mark Crosbie <mcrosbie@happy.xkey.comNOMORESPAM>
|
Viewed:
|
1126 times
|
| |
| |
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!
For more on approach #3 see
http://carol.wins.uva.nl/~leo/lego/diff.html
http://www.phred.org/~alex/lego/
If you have no rotation sensors use approach #3.
You can check out my web site for some code and ideas:
http://www.mastincrosbie.com/mark/legoprogrjects.html
Mark.
> See my website for pics and the code I am using.
>
|
|
Message has 2 Replies: | | Re: Help with my robot
|
| (...) 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 (...) (24 years ago, 12-Dec-00, to lugnet.robotics)
| | | Re: Help with my robot
|
| (...) Especially when they have to turn in opposite directions, as in the case of a standard differential drive robot (with one motor driving the left and the other the right side of the robot)! This is because a motor is always more efficient (...) (24 years ago, 12-Dec-00, to lugnet.robotics)
|
Message is in Reply To:
| | Help with my robot
|
| 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 (...) (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
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|