To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.nqcOpen lugnet.robotics.rcx.nqc in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / NQC / *502 (-20)
  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)
 
  MindStorms Bop It
 
Hello fellow LEGO maniacs. My latest MindStorms "robot" is rather unusual. It has only ONE wheel, NO motors, two touch sensors, one light sensors, and a bunch of rubberbands. What is that?! It's a MindStorms version of the popular Parker Brothers (...) (25 years ago, 18-Mar-00, to lugnet.robotics, lugnet.robotics.rcx, lugnet.robotics.rcx.nqc)
 
  updated nqc-doc rpms
 
I've updated the nqc-doc rpms at(URL) to include the PDF versions of the documentation. Also, this rpm now places its docs alongside that from the main nqc package, in /usr/doc/nqc-[version]. I've also GnuPG signed all the rpms I'm distributing. (...) (25 years ago, 18-Mar-00, to lugnet.robotics.rcx.nqc, lugnet.robotics)
 
  NQC/RcxCC
 
Thanks to everyone who suggested that I use NQC for programming, I now have a copy of RcxCC installed, and programming in it is easier than in the lego graphic interface (as long as you remember the ;'s) The coal unloader program is done (it took (...) (25 years ago, 18-Mar-00, to lugnet.robotics.rcx.nqc)
 
  Re: RcxCC version 3.1 availble
 
(...) Dean (25 years ago, 6-Mar-00, to lugnet.robotics.rcx.nqc)
 
  RcxCC version 3.1 availble
 
I just put version 3.1 of RcxCC on my web page. The only change is that it uses NQC version 2.1r1. Mark Overmars (URL) (25 years ago, 6-Mar-00, to lugnet.robotics.rcx.nqc)
 
  Re: asm in NQC.
 
(...) You don't really need asm to do this. Due to a side-effect of how the bytecodes are implemented, you can set the slope value simply by adding it to the 'mode' parameter... // use a slope of 10 for light sensor on port 1 SetSensorType(SENSOR_1, (...) (25 years ago, 2-Mar-00, to lugnet.robotics.rcx.nqc)
 
  asm in NQC.
 
All, I have tried various ways to put asembly in my NQC programs. I have copied stuff from the header files but it does not work. I would like to use the slope parameter of the SetSensorMode opcode, but NCQ does not support this. That is why I need (...) (25 years ago, 1-Mar-00, to lugnet.robotics.rcx.nqc)
 
  Re: NQC troubles
 
Rob, You could set up a seperate task to watch the switch and turn off the moter. This task will run seperatly from the main task. John C. Quillan (...) (25 years ago, 1-Mar-00, to lugnet.robotics.rcx.nqc)
 
  Re: NQC troubles
 
Thanks for your help. I was also wondering if there is a way to have the motor turn off at any time in the program when the touch sensor is pushed, rather than having to re type the until statements a bunch of times. would I have to use a task for (...) (25 years ago, 1-Mar-00, to lugnet.robotics.rcx.nqc)
 
  Re: NQC troubles
 
(...) Hi. The problem is that the if statement doesn't wait -- it just checks once, and if it fails, goes right past. So, if you have the switch pushed down right at the beginning, it'll work. Try this: OnFwd(OUT_A); until (SENSOR_1 ==1); (...) (25 years ago, 29-Feb-00, to lugnet.robotics.rcx.nqc)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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