To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.eduOpen lugnet.robotics.edu in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / Education / 181
180  |  182
Subject: 
FW: Legway with ROBOLAB 2.9
Newsgroups: 
lugnet.robotics.edu
Date: 
Wed, 28 Mar 2007 03:37:42 GMT
Viewed: 
6320 times
  
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.

I initially thought it might just be because of the lego light sensor being
incapable of recognizing the light difference for a slight tilt. Then, I
thought, if that's the case, perhaps I can mount 2 light sensors on the same
port to increase the sensitivity.  Then, use 2 light sensors simulating the
self-alignment...

--E

-----Original Message-----
From: news-gateway@lugnet.com [mailto:news-gateway@lugnet.com] On Behalf Of
Chio Siong Soh
Sent: Friday, March 23, 2007 10:11 PM
To: lugnet.robotics.edu@lugnet.com; lugnet.loc.sg@lugnet.com
Subject: Legway with ROBOLAB 2.9

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



1 Message 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