Subject:
|
Re: YAL, Yet Another LegWay
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Sat, 7 Feb 2004 22:18:38 GMT
|
Viewed:
|
2677 times
|
| |
| |
In lugnet.robotics, Philippe Hurbain wrote:
|
YAL: Yet Another LegWay
Allen Foster and
Harold Jarvie posts showed me that
it was possible to build a LEGO-only self-balancing robot, inspired by the
famous Steve Hassenplugs
LegWay.
Here are some details of my implementation, using two regular light sensor to
monitor YAL inclination.
The code is a simple PID algorithm
implemented in BrickOS, direct translation of
Allen Foster code. The input comes
from front and back light sensors difference, the output is applied to both
motors.
Yal works best with diffused overhead lighting and doesnt like at all
lateral lights (windows)
|
I built one of these yesterday, and it works surprisingly well! I like the very
simple design. Like Steve Hs original LegWay, it requires very few parts.
Although it is a little tricky to put it together.
I found that the performance of the robot is highly dependent on a couple of
factors:
- Solid-color, bright or white floor seems to work better than patterned floors.
- You have to hold the robot perfectly vertical when you start the program so that it gets a good offset reading between the two light sensors. The better you do this, the better the resulting balance.
- Works best in a dark room with no lights pointing directly at the robot.
Very nice job! It makes me want to add some code to make it move around and
chase the cats.
I have to second this. John has done a very nice job with BricxCC. He has also
made it possible for me to finally get a working GCC installation with BrickOS
on my Windows 98SE machine. Thanks, John!
- Chris.
|
|
Message has 1 Reply: | | Re: YAL, Yet Another LegWay
|
| <snippage> (...) floors. (...) so (...) </snippage> i'm thinking that making a vertical frame to start it would help. something like two support barsthat are vertical in which you would put the YAL to start it off in a perfectly vertical position. (...) (21 years ago, 12-Feb-04, to lugnet.robotics)
|
Message is in Reply To:
14 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
|
|
|
Active threads in Robotics
|
|
|
|