| | Re: NQC on Linux dilema...
|
|
(...) Can you send me the output from nqc -v? A lot depends on exactly what is being sent and received. As for PSerial_unix.cpp, you would only have that if you were building nqc from sources. If you've downloaded a binary rpm or some other (...) (25 years ago, 1-Apr-00, to lugnet.robotics.rcx.nqc)
|
|
| | Re: NQC on Linux dilema...
|
|
(...) Ok, here it is: It just sits there, after sending about 5 lines of hex code to the RCX with that -v option. it will not send any more code after that, no matter how long you wait. I have not such thing as a PSerial_unix.cpp file does not (...) (25 years ago, 1-Apr-00, to lugnet.robotics.rcx.nqc)
|
|
| | Re: NQC on Linux dilema...
|
|
(...) Does the program just hang, or does it eventually (several seconds later) give up and print an error message? Try 'verbose' mode and post the results: nqc -v -d test.nqc One possibility is that somehow the port is configured for hardware (...) (25 years ago, 1-Apr-00, to lugnet.robotics.rcx.nqc)
|
|
| | NQC on Linux dilema...
|
|
Hey, I have a little dilema when running nqc on RedHat 6.1 distribution of Linux on a Toshiba Satellite 2615DVD Laptop Computer. I have a 'winmodem' that workes on some port, and the IR transmitter on 'COM1' equivalent. It will not load the programs (...) (25 years ago, 1-Apr-00, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Modulo operator in NQC
|
|
(...) The limitation is more historical than anything else. Originally expressions were all evaluated at compile time, which is why I have a bunch of operators (%, >>, <<) that have no corresponding bytecodes in the firmware. Over the last few (...) (25 years ago, 31-Mar-00, to lugnet.robotics.rcx.nqc)
|
|
| | Modulo operator in NQC
|
|
I'm trying to use the modulo operator in NQC, but I get an error that it expects constants. I checked the docs and that indeed seems to be the case. While I'm sure there must be instances where one would use constants on both sides of the operator, (...) (25 years ago, 30-Mar-00, to lugnet.robotics.rcx.nqc)
|
|
| | Re: NQC 2.1 r2 released
|
|
Oh yeah -- Dave, my packages contain a slightly updated version of the man page (version numbers in the examples have been updated). (25 years ago, 27-Mar-00, to lugnet.robotics.rcx.nqc)
|
|
| | Re: NQC 2.1 r2 released
|
|
(...) Ok, Linux packages/binaries for 2.1 r2 are now available at (URL). I'm really busy at work right now, so this was done kinda in a hurry :) I'm pretty sure that there's no problems, but please let me know if I missed something. Thanks! (25 years ago, 27-Mar-00, to lugnet.robotics.rcx.nqc)
|
|
| | Re: NQC 2.1 r2 released
|
|
(...) (25 years ago, 26-Mar-00, to lugnet.robotics.rcx.nqc)
|
|
| | NQC 2.1 r2 released
|
|
A few very minor bug fixes, no new features...probably not worth the download unless you're having problems. (URL) Baum (25 years ago, 25-Mar-00, to lugnet.robotics.rcx.nqc) !
|
|
| | My first NQC
|
|
I just have to share - I know it's very basic, but it's my first program with NQC! and it's even cooler, since I can now use my 486 to program the RCX, and don't need to steal computer time from my wife's Windows :P I just wrote a little prog to run (...) (25 years ago, 24-Mar-00, to lugnet.robotics.rcx.nqc)
|
|
| | Re: infrared remote control of LEGO trains using NQC and RCX
|
|
(...) Maybe. I doubt it, though. :-) US locos need their tenders attached and I think loco's we've seen posted already may have size issues, for instance Dan's Big Boy. were someone to build an Erie Triplex, that would be even bigger. On the other (...) (25 years ago, 22-Mar-00, to lugnet.robotics.rcx.nqc, lugnet.trains)
|
|
| | Re: infrared remote control of LEGO trains using NQC and RCX
|
|
(...) I'm in hope of getting more realistic stuff too. But I have no idea, what Lego will bring out in future. And my fear is: as known by bar code truck, cybermaster and mindstorms nothing fill fit together again.... (Maybe starting a complete new (...) (25 years ago, 22-Mar-00, to lugnet.robotics.rcx.nqc, lugnet.trains)
|
|
| | Re: infrared remote control of LEGO trains using NQC and RCX
|
|
(...) I'm don't agree with this, because you can use it also in buildings to switch lights in /out, controlling windmills, bridges as well, and this all over the same wires, witch are in this case the track ! Of coarce, the used 'modules 'are (...) (25 years ago, 22-Mar-00, to lugnet.robotics.rcx.nqc, lugnet.trains)
|
|
| | Re: infrared remote control of LEGO trains using NCQ and RCX
|
|
(...) <...SNIP...> I won't go into the code detail as other members have already corrected it. I just wanted to say that if your interested in my RCX Train code, it's almost ready. (Phase 1 anyway) It has a few modes of use. MS Remote control. (...) (25 years ago, 22-Mar-00, to lugnet.robotics.rcx.nqc, lugnet.trains)
|
|
| | Re: infrared remote control of LEGO trains using NQC and RCX
|
|
First, let me apologize for mistyping NQC as NCQ. Hey Ben! Hope those rumors are true. So if they are going to do something with remote switches and such, will it be similar to DCC or radio/infrared control? I'm guessing some form of remote control. (...) (25 years ago, 22-Mar-00, to lugnet.robotics.rcx.nqc, lugnet.trains)
|
|
| | Re: infrared remote control of LEGO trains using NCQ and RCX
|
|
Hi Ben F.! Maybe all your work is a little needless, since there are rumors going around here in Germany, saying Lego is going to invent new more realistic trains next year, or even late this year around X-mas...... I've heared about it from a (...) (25 years ago, 22-Mar-00, to lugnet.robotics.rcx.nqc, lugnet.trains)
|
|
| | Re: infrared remote control of LEGO trains using NCQ and RCX
|
|
Thanks Dan. Actually, I just came up with this myself but I added a float line as follows to stop it a little more gracefully. if (__speed == 0) {Float(OUT_A);} I'm pretty pleased with the results now. Hopefully I'll be able to avoid those train (...) (25 years ago, 22-Mar-00, to lugnet.robotics.rcx.nqc, lugnet.trains)
|
|
| | Re: infrared remote control of LEGO trains using NCQ and RCX
|
|
(...) you never check if your speed is 0 in this task - IMO, you need to add: if (__speed == 0) {Off(OUT_A)}; (I'm guessing here, since I haven't really done any NCQ myself yet. :/ Dan (25 years ago, 22-Mar-00, to lugnet.robotics.rcx.nqc, lugnet.trains)
|
|
| | infrared remote control of LEGO trains using NCQ and RCX
|
|
When I first bought my RCX some time ago, I dreamed of using the remote control to drive the train. Well I think I finally have it working. The following code works but has a problem which perhaps somebody can help me with. The program looks for (...) (25 years ago, 22-Mar-00, to lugnet.robotics.rcx.nqc, lugnet.trains)
|