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 / 2215
2214  |  2216
Subject: 
Multiple Stack Controllers in Program???
Newsgroups: 
lugnet.robotics
Date: 
Sun, 3 Jan 1999 22:50:47 GMT
Viewed: 
1393 times
  
I am trying to design an RCX robot to follow a black line with a single
light sensor.  My strategy is to move forward when the sensor is dark.  When
the sensor is light, I want to turn right until the sensor goes dark, or for
1 second, whichever comes first.  If the turn timed out, I want to turn left
for up to 2 seconds (asuming the line turned in the other direction).

I am having tremendous difficulty getting Mindstorms to let me put more than
1 stack controller in the program.  I have been trying to put a check block
in a repeat block without success.  It also won't let me but a check block
after a repeat block.

Is this a limitation in the RCX code.  (Note:  Don't tell me to switch to
using VB since I am trying to figure out how to make this work with my 9
year old).

Is there any more detailed technical information available on exactly how
the RCX code works (like what happens if you are running sensor watch code
when the sensor changes, etc....)

Thanks,
Mike Schumann
schumann-nospam@bitstream-nospam.net



Message has 3 Replies:
  Re: Multiple Stack Controllers in Program???
 
You can have more than one stack controller, but you have to hide them in subroutines "my commands". Sooner or later you will switch to VB. Just wait till you need a variable. (...) (26 years ago, 3-Jan-99, to lugnet.robotics)
  Re: Multiple Stack Controllers in Program???
 
(...) You know, the RIS is recommended for ages 12 and up. But that's water under the bridge now. I'm afraid that this appears to be a limitation in the Mindstorms development kit included with the RIS. To my knowledge, there is no system for (...) (26 years ago, 4-Jan-99, to lugnet.robotics)
  Re: Multiple Stack Controllers in Program???
 
(...) You can buy the Robolab software from Lego Dacta for $25, plus another $25 for the Getting Started manual. Its language is graphical like the Mindstorms language. It is slightly more complex for very young kids because: (1) The command icons (...) (26 years ago, 5-Jan-99, to lugnet.robotics)

4 Messages in This Thread:



Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    
Active threads in Robotics

 
Verified and Trusted Team of Hackers
5 hours ago
Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR