 | | Today's Challenge
|
| A cry for help: I am trying to implement Ben Williamsons Fetchbot (URL). I am happy that I have the mechanics right. The problem is that I want to emulate Bens code in Robolab. (Yes, there are reasons I use Robolab which include me being a teacher (...) (22 years ago, 4-Jan-05, to lugnet.robotics.rcx.robolab)
| | |  | | Re: questions on events
|
| (...) This is where you use the event fork(s) that you asked about in a different message. You nest these forks to determine which event has been triggered. (...) Robolab is just a LabVIEW program. Viewed in that context, it is an amazing bit of (...) (22 years ago, 3-Jan-05, to lugnet.robotics.rcx.robolab, lugnet.robotics.rcx.nqc)
| | |  | | Re: questions on events
|
| (...) Yeah, my fault. I said two things that do not have to follow. Yes, you can use one event monitor to watch more than one event... and yes, you can't nest event monitoring statements. I've not used an event watcher to monitor more than one event (...) (22 years ago, 3-Jan-05, to lugnet.robotics.rcx.robolab, lugnet.robotics.rcx.nqc)
| | |  | | Swan Firmware
|
| I have installed the new Swan Firmware via Brixcc 3.3.7.8 using standard nqc coding works ok. I'm having problems trying to include any of the new code. Question 1 How do we use the Swan.nqh file Question 2 Can we use the new variables defined in (...) (22 years ago, 3-Jan-05, to lugnet.robotics.rcx.nqc)
| | |  | | 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 (...) (22 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, (...) (22 years ago, 3-Jan-05, to lugnet.robotics.rcx.robolab)
| | |  | | 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 (...) (22 years ago, 3-Jan-05, to lugnet.robotics.rcx.robolab, lugnet.robotics.rcx.nqc)
| | |  | | out
|
| Please put me out of the adress list. I don't want to receave any post any more. Tanks (22 years ago, 3-Jan-05, to lugnet.robotics)
| | |  | | RE: questions on events
|
| (...) Hmm..., notice that the start monitoring icon allows to watch for multiple events within the same task. If each task can only monitor a single event, that feature being there does not quite make sense. (...) This is why I suspect the "event" (...) (22 years ago, 3-Jan-05, to lugnet.robotics.rcx.robolab, lugnet.robotics.rcx.nqc)
| | |  | | 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! (...) (22 years ago, 3-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 (...) (22 years ago, 2-Jan-05, to lugnet.robotics.rcx.robolab)
| | |  | | Re: questions on events
|
| (...) See previous post for the "I-don't-actually-do-Robolab" disclaimer, but, since Robolab & NQC both work on the same firmware... You can monitor multiple events, but only in *different* tasks. In other words, (to my knowledge) you can not "nest" (...) (22 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 (...) (22 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 (...) (22 years ago, 2-Jan-05, to lugnet.robotics.rcx.robolab, lugnet.robotics.rcx.nqc)
| | |  | | 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 (...) (22 years ago, 2-Jan-05, to lugnet.robotics.rcx.robolab, lugnet.robotics.rcx.nqc)
| | |  | | questions on events
|
| Are events stackable? Or it works more like "signal()", e.g. in C? e.g. I have 2 different light sensor events set to watch for value higher than 42, yellow & blue. Let say both sensors read 45 at the same time, RCX returns only one event being (...) (22 years ago, 2-Jan-05, to lugnet.robotics.rcx.robolab, lugnet.robotics.rcx.nqc)
| | |  | | Re: 2-wheelers
|
| I've been looking at that little piece of code, and trying to duplicate its effect in my YAL-based program, without much luck. When I had Steve's code running, it did tend to stay in one spot, but it eventually became unstable. At this point I plan (...) (22 years ago, 2-Jan-05, to lugnet.robotics)
| | |  | | Re: RCX IR Transceiver and Sensor Port Circuits
|
| hi Mark, i have learned a lot from your RCX IR Transceiver Circuit. Things i did not know before. But please dont forget to show us that Sensor Board Circuit. As far as i know, a real introduction into designing RCX selfmade Sensors is not available (...) (22 years ago, 1-Jan-05, to lugnet.robotics)
| | |  | | New invention instructions
|
| Where can I get new inventions and their building instructions besides those given in Lego Mindstorms Robotics Invention System 2.0? (22 years ago, 1-Jan-05, to lugnet.robotics)
| | |  | | Re: 2-wheelers
|
| (...) I think another huge difference (for me at least) is that Steve's code learns where the upright position is, while most of the others need to be put down in the correct position. (That is what the piece of code does in the 50ms if()). John (22 years ago, 1-Jan-05, to lugnet.robotics)
| |