 | | Sharing variables and using expressions (was Re: NQC 2.0 and some math questions
|
|
I have discovered a somewhat non-intuitive feature of NQC (in my version, at least, which is pre-2.0) The statement: var = (20 * var) / 21; gets compiled into the following: MUL var, 20 ; var = var * 20 DIV var, 21 ; var = var / 21 rather than the (...) (26 years ago, 19-Oct-99, to lugnet.robotics.rcx.nqc)
|
|
 | | Re: Wot no RCX power connector?
|
|
I'm certainly glad I picked up two when I did. Without the AC adapter, there's no way I could have setup the webcam at (URL) thing is on 24 hours a day. Oh, and it also has no batteries in it whatsoever, and I haven't had a problem with turning it (...) (26 years ago, 19-Oct-99, to lugnet.robotics)
|
|
 | | RE: new pieces (was Re: Wot no RCX power connector?)
|
|
(...) I've uploaded all 4 pages (each around 150 KB): (URL) for the new bricks - well they are in the upgrade kit ;-) - but my best guess is that they might be in some sort of service pack too for next year - the differential is - but the new ones (...) (26 years ago, 19-Oct-99, to lugnet.robotics)
|
|
 | | RE: new pieces (was Re: Wot no RCX power connector?)
|
|
These connectors are also available in kits like #8252 Beach Blaster, where they are used to "plug and play" different suspension/wheel configurations. Reasonably stiff for what they are, and I think they would make good attachments for light (as in (...) (26 years ago, 19-Oct-99, to lugnet.robotics)
|
|
 | | pbforth questions
|
|
My 15 year old son is into legos big time. He has asked for the Lego robot package. I developed in Forth many years ago and I am just getting back into it with Forth Inc.'s SwiftForth for Windows. I have enjoyed messing about with it but what I am (...) (26 years ago, 19-Oct-99, to lugnet.robotics.rcx.pbforth)
|
|
 | | RCX-enhanced egcs
|
|
Hello, I just posted the final RCX interrupt handling patch for egcs. There is no need for wrappers anymore. Interrupt handlers can be declared like this now: void handler() __attribute__((rcx_interrupt)); void handler() { // do stuff } For a leaf (...) (26 years ago, 19-Oct-99, to lugnet.robotics.rcx.legos)
|
|
 | | 0.2.0a patch
|
|
Hello, apparently I introduced a glitch when adding last-minute support for non-patched standard egcs. This and a broken symlink in the archive prevented dllback from compiling on the host. A patched version of legOS is available on (URL) for the (...) (26 years ago, 19-Oct-99, to lugnet.robotics.rcx.legos)
|
|
 | | Re: Wot no RCX power connector?
|
|
(...) Hah. Mine has a power connector. It's sitting on my desk, light as a feather, with no batteries whatsoever. Now, if I could stop tripping over the DC cord... (26 years ago, 19-Oct-99, to lugnet.robotics)
|
|
 | | RILYBOT 4 (was Re: show-me training
|
|
I now have a robot working using the intuitive training principles I described about 6 weeks ago in this thread. This robot will be at Mindfest. Here are the web pages describing what I've done so far: (URL) here is the current NQC program: (URL) (...) (26 years ago, 19-Oct-99, to lugnet.robotics)
|
|
 | | Re: new pieces (was Re: Wot no RCX power connector?)
|
|
(...) Yeah, but until LEGO releases a soldier minifig and a leatherman minifig, I'll never be able to model the Village People! Come on, TLG, where are your priorities? (oops, sorry -- only slightly way off-topic.) - Robert Munafo (URL) LEGO: (...) (26 years ago, 19-Oct-99, to lugnet.robotics)
|
|
 | | serial input?
|
|
Is the handyboard capable of serial input (other than for downloading)? How can I do this? Thanks, Keith@spidersoft.org (26 years ago, 19-Oct-99, to lugnet.robotics.handyboard)
|
|
 | | additional pbforth questions
|
|
Does pbforth run under dos or windows on the PC? Does it use blocks or dos/windows file system on the PC? Does it use blocks in RAM on the RCX? If I program directly on the RCX can I upload the programs to the PC for further development? In using (...) (26 years ago, 19-Oct-99, to lugnet.robotics.rcx.pbforth)
|
|
 | | RE: additional pbforth questions
|
|
Hmm, this is the kind of message I should use for FAQ fodder... (...) You can run it either way. The original intent was to use the dumbest tool possible to interact with the RCX. For DOS this is Procomm Plus or some such tool, for Windows its (...) (26 years ago, 19-Oct-99, to lugnet.robotics.rcx.pbforth)
|
|
 | | FW: RCX Firmware and SP
|
|
-----Original Message----- From: Sergey Udovenko [mailto:udovenko@bluewin.ch] Sent: Tuesday, October 19, 1999 5:56 PM To: Ralph Hempel Subject: Re: RCX Firmware and SP Hi Ralph, I'm just yet another hobbyist, so nothing is special about my plans. (...) (26 years ago, 19-Oct-99, to lugnet.robotics.rcx.pbforth)
|
|
 | | PSU robot contest Sat Dec 4, 1999
|
|
Hi All, Penn State Abington will host the second annual Robo-TrailBlazers autonomous robot contest on Sat Dec 4, 1999 at 3pm. The contest is open to all students (and even a few non-student types) as participants. (The contest is HandyBoard and (...) (26 years ago, 19-Oct-99, to lugnet.robotics.handyboard)
|
|
 | | Please I need help!
|
|
Hi!, I just asked this question but did not get any help. I need help interfacing two Polaroid 6500's to one HB w/ Expansion Board. This is a project for school and needs to be finished soon that's why I need help. I would really appreciate any help (...) (26 years ago, 19-Oct-99, to lugnet.robotics.handyboard)
|
|
 | | Re: Please I need help!
|
|
Pete, It seems to me that a simple double pole double throw relay could be used to select one or the other module. That way you wouldn't need to tie up any other IC/OC pins. You fire one unit, get the return, then switch the relay and fire the other (...) (26 years ago, 19-Oct-99, to lugnet.robotics.handyboard)
|
|
 | | Re: Wot no RCX power connector?
|
|
(...) Another guess - again pure speculation - is tha having an external adapter option made certification more difficult in one of the non-U.S. markets. I believe 1.5, aside from being an update for U.S., is also going to become the (...) (26 years ago, 20-Oct-99, to lugnet.robotics)
|
|
 | | Re: Wot no RCX power connector?
|
|
Yes, they left it alone... The 1.5 RCX ROM has the same version number as the 1.0 RCX ROM. The firmware file shipped on the 1.5 CD is identical to the 1.0 firmware. Dave Baum (...) (26 years ago, 20-Oct-99, to lugnet.robotics)
|
|
 | | Re: Sharing variables and using expressions (was Re: NQC 2.0 and some math questions
|
|
The optimization was intentional (and quite a lot of work, actually). I know it breaks with multiple tasks, but I was more concerned with keeping the variable pool from being cluttered with temporaries. With only 32 vars to use, its quite easy to (...) (26 years ago, 20-Oct-99, to lugnet.robotics.rcx.nqc)
|