To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.robolabOpen lugnet.robotics.rcx.robolab in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / ROBOLAB / 351
  Define Event icon...
 
Hi I'd like to set up an event to watch for a containers value = 3. I am trying to use the "Define Event" icon, but has no luck yet. Just wonder if there is anyone out there has suggestion. The official doc does not explain much different from what (...) (20 years ago, 2-Jan-05, to lugnet.robotics.rcx.robolab, lugnet.robotics.rcx.nqc)
 
  Re: Define Event icon...
 
(...) Elizabeth, you are a few steps ahead of me in working with 'Events'. Could you explain, in plain English, what exactly an 'Event' is? ...it's not a 'State' because it can be a constant or a variable. Yet you can have an 'Event Fork' which is (...) (20 years ago, 2-Jan-05, to lugnet.robotics.rcx.robolab, lugnet.robotics.rcx.nqc)
 
  Re: Define Event icon...
 
(...) I fear I became very frustrated with Robolab, so can't help you *specificly* with that enviroment, but... at a firmware level, events can "watch" several different sources: sensors, timers, three simple counters... however, they can not be (...) (20 years ago, 2-Jan-05, to lugnet.robotics.rcx.robolab, lugnet.robotics.rcx.nqc)
 
  Re: Define Event icon...
 
(...) The condition of being equal to 3 is not an event. However, the action of transitioning to 3 is. I'd use the "set up normal event" command followed by the "define event" command. Set the upper threshold to 4, the lower to 2, and the duration (...) (20 years ago, 2-Jan-05, to lugnet.robotics.rcx.robolab)
 
  RE: Define Event icon...
 
Yes, Tom. This is exactly what I was trying to do... To trigger an event when it becomes 3. Great! Thank you very much! Cool! (...) (20 years ago, 3-Jan-05, to lugnet.robotics.rcx.robolab, lugnet.robotics.rcx.nqc)
 
  Formula container?
 
I am trying to compare the light value of two sensors, namely s1, & s2 . I don't want to go through the long route which is to save the light values from different sensors to different container, then, compare them. How about using "formula (...) (20 years ago, 3-Jan-05, to lugnet.robotics.rcx.robolab, lugnet.robotics.rcx.nqc)
 
  RE: Define Event icon...
 
(...) Hi Jerry, Event Handling can be a long chapter to talk about. I am sure you will find a more well-explained chapter in some OS or just language book such as C++, or even in Java. Briefly speaking, event is a piece of real time information, (...) (20 years ago, 3-Jan-05, to lugnet.robotics.rcx.robolab)
 
  RE: Formula container?
 
Ok, I got it... Thanks to the Tufts site. (URL) is kind of odd that the navigation is to "create ---> constant"... "constant?" Hmmm... -- E (...) (20 years ago, 3-Jan-05, to lugnet.robotics.rcx.robolab, lugnet.robotics.rcx.nqc)

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