|
At the recent LEGO Engineering Conference 2007 in Singapore,
http://news.lugnet.com/robotics/edu/?n=177
I showed how kids using ROBOLAB 2.9 could learn about proportional control and
apply it to their robots like making a model car go a precise distance and a
proportional control line follower.
http://www.brickshelf.com/cgi-bin/gallery.cgi?f=241093
The height of their learning would be to make a two-wheeled balancing robot,
none other than Steve's Legway. Except it would be programmed in ROBOLAB 2.9
rather than BrickOS.
The balancing bot was demo'ed at my talk and drew a lot of interest but nobody
caught on the significance of it being done in ROBOLAB 2.9 rather than in
BrickOS.
The vi is here for those who want to try their hand at it.
http://www.brickshelf.com/cgi-bin/gallery.cgi?f=242330
Note how you can write algebraic equations in the expression box.
The OptimizeRCX box is essential for real-time control. It really grinds the
motors, thanks to Dick Swan!
You have to use the EOPD (red) sensor from Hi Technic. I've tried the LEGO light
sensor in raw mode but it doesn't work as well.
After you press the run button, you have 1 second to set it upright then the PID
will take over. So far it only does the balancing act. But the kids love it.
I haven't yet figured how to make it spin and follow the line like Steve's
original Legway.
Have fun
CSSoh
|
|
Message has 1 Reply: | | RE: Legway with ROBOLAB 2.9
|
| (URL) - Legway-RL-2-9 - This folder is not yet public. -----Original Message----- From: news-gateway@lugnet.com [mailto:news-gateway...ugnet.com] On Behalf Of Chio Siong Soh Sent: Friday, March 23, 2007 10:11 PM To: lugnet.robotics.edu@lugnet.com; (...) (18 years ago, 26-Mar-07, to lugnet.robotics.edu, lugnet.loc.sg)
|
2 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|