|
| | 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 (...) (20 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 (...) (20 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 (...) (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: 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" (...) (20 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! (...) (20 years ago, 3-Jan-05, to lugnet.robotics.rcx.robolab, lugnet.robotics.rcx.nqc)
| | | | 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" (...) (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...
|
| (...) 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)
| | | | 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)
| | | | 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 (...) (20 years ago, 2-Jan-05, to lugnet.robotics.rcx.robolab, lugnet.robotics.rcx.nqc)
| | | | Re: using MacNQC with Spybotics via USB Tower
|
| (...) It is a capability of NQC but I was mistaken about the Mac version of NQC. It currently does not support the Spybotics target when the USB tower is used. One of the first changes I made when I took over NQC was to add the ability for NQC to (...) (20 years ago, 29-Dec-04, to lugnet.robotics.spybotics, lugnet.robotics.rcx, lugnet.robotics.rcx.nqc)
| | | | Errors while installing brickOS 0.2.6.10
|
| Hi, I am a newbie. I have encountered some errors while installing brickOS 0.2.6.10. (URL) anyone encounter the same problems before? 1. When I just start cygwin, it gives me an error message like this: This application program can not be executed (...) (20 years ago, 2-Dec-04, to lugnet.robotics, lugnet.robotics.cybermaster, lugnet.robotics.edu, lugnet.robotics.rcx, lugnet.robotics.rcx.legos, lugnet.robotics.rcx.nqc)
| | | | Re: Motor Speed Control
|
| (...) That's the case too for Swan firmware with standard parameters. (...) And yes, power consumption is much higher using on break. I measured variation of RCX current with one motor, power level 3 (50% duty cycle). Idle RCX current (35mA) is (...) (20 years ago, 1-Dec-04, to lugnet.robotics.rcx.nqc)
| | | | RE: Motor Speed Control
|
| (...) :) (...) I'm not sure how the Swan firmware does it, but I have mine set so it cycles every 8 ms. It's on for 0 to 8 ms, then off (brake) for the rest, depending on the speed. That's fast enough to produce a very smooth result. There is no (...) (20 years ago, 30-Nov-04, to lugnet.robotics.rcx.nqc)
| | | | RE: Motor Speed Control
|
| (...) Actually, it's more like standing on the brakes, letting go and then gunning the gas, stepping off the gas and standing on the brakes :-) And yes, that WILL use more gas, and more batteries. Now, if the resolutiion of timing for the brake (...) (20 years ago, 30-Nov-04, to lugnet.robotics.rcx.nqc)
| | | | RE: Motor Speed Control
|
| (...) Yes, but I think the "power" portion of the cycle will draw more, because it's always trying to go from stop to full speed. Like driving a car with the brakes on. Start with the brake totally pressed, and the more you push on the gas, the less (...) (20 years ago, 30-Nov-04, to lugnet.robotics.rcx.nqc)
| | | | RE: Motor Speed Control
|
| (...) The brake function (as far as I know) should not use more battery power as the short circuit is in the driver chip itself. The drivers are MOSFETs, so setting the H bridge to brake does not actually apply any battery power to the motor (...) (20 years ago, 30-Nov-04, to lugnet.robotics.rcx.nqc)
| | | | Re: Motor Speed Control
|
| (...) If you are not concerned with remaining pure, this interface (URL) should provide better feedback than the rotation sensor. -Rob A> (20 years ago, 30-Nov-04, to lugnet.robotics.rcx.nqc)
| | | | Re: Motor Speed Control
|
| (...) I've been using a power/brake method (instead of power/float) for quite some time in BrickOS. That was one of the first big steps in getting my Legway to work. ( (URL) ) It allows you to program a robot to make smooth turns (slow, instead of (...) (20 years ago, 30-Nov-04, to lugnet.robotics.rcx.nqc)
| |