| | Re: NQC and NXT
|
|
(...) and found NQC. I never looked back. It is great that you volunteered to take over NQC, when Dave retired. The community is much better off because of your efforts on NQC and BricxCC). Thanks, Kev (19 years ago, 9-Jan-06, to lugnet.robotics.rcx.nqc)
|
|
| | Re: NQC and NXT
|
|
(...) Sounds great! So far, I was missing any positive statement concerning the compatibility of NXT and RCX. Now, with NQC, we will have certain compatibility with respect to the software. Compared to this the different hardware will be of (...) (19 years ago, 9-Jan-06, to lugnet.robotics.rcx.nqc)
|
|
| | Re: NQC and NXT
|
|
(...) Excellent! NQC has been my language of choice, largely because of such community support. Thank you John (and, originally, Dave, and others for providing me with aMac GUI, and... well, this is why I said "community") for this support. (19 years ago, 9-Jan-06, to lugnet.robotics.rcx.nqc)
|
|
| | Re: NQC and NXT
|
|
(...) created. This with NQC (thx Dave B) have enabled me to expand the possibilities of my bots. I look forward to hearing more about it! Dave (19 years ago, 9-Jan-06, to lugnet.robotics.rcx.nqc)
|
|
| | Re: NQC and NXT
|
|
(...) That's excellent John, if I had any knowledge in that area I'd offer you some help, but alas... Thanks for your great tools! (and Dave B for originally creating NQC). ROSCO (19 years ago, 9-Jan-06, to lugnet.robotics.rcx.nqc)
|
|
| | NQC and NXT
|
|
In case anyone is interested, I have been keeping up as best as I can with the news about the new LEGO brick. As soon as I get my hands on one (or sooner, if possible) I will begin the process of adding support for this new brick to NQC. The same (...) (19 years ago, 9-Jan-06, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Memory question
|
|
(...) So what your saying is I should split my program into more functions not less, so that the local ints are destroyed and available for re-use. That's a great idea, it's the complete opposite of my question but fulfills my goal perfectly :-). (...) (19 years ago, 13-Dec-05, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Memory question
|
|
(...) Most functions in NQC are in-line functions, so in a sense they probably *are* in main(). One thing I do is place all my initalization code (as much as possible) into inline functions. That way, when the compilier runs through, it can allocate (...) (19 years ago, 13-Dec-05, to lugnet.robotics.rcx.nqc)
|
|
| | Memory question
|
|
Say I had a program that has a very large block of start-up/calibration code that is run once at the top of the program. Does it make any difference if I keep it in the "Main()" task, or put it in a function? I mean from the point of stack space (...) (19 years ago, 13-Dec-05, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Help me convert this train program to use events (NQC)
|
|
(...) (URL) (...) I bought some alligator clips to use with some 24-guage wire. I'll become impure just this once, but I won't resort to willful LEGO destruction. :) (19 years ago, 1-Dec-05, to lugnet.robotics.rcx.nqc, FTX)
|
|
| | Re: Help me convert this train program to use events (NQC)
|
|
(...) If it were me, I'd destroy one small LEGO 9v wire. Cut the wire in half, and splice in a long segment of speaker wire. That would look better than a short layout, or the battery-powered train. Steve (19 years ago, 30-Nov-05, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Help me convert this train program to use events (NQC)
|
|
(...) We called LEGO and the Educational division has been shut down since the day after Thanksgiving for inventory. They won't be able to ship the cables to me in time for the Christmas party I was building this for. Grrrr. Bricklink shows some (...) (19 years ago, 30-Nov-05, to lugnet.robotics.rcx.nqc, FTX)
|
|
| | Re: Help me convert this train program to use events (NQC)
|
|
(...) Not to my knowledge. (...) Yes. The internal hardware between the 1.0, 1.5, and 2.0 bricks is identical with regards to the firmware, so any firmware will work on any RCX. (19 years ago, 29-Nov-05, to lugnet.robotics.rcx.nqc, FTX)
|
|
| | Re: Help me convert this train program to use events (NQC)
|
|
(...) I got to try my program tonight. It wouldn't compile, claiming EVENTTYPEHIGH and EVENTTYPEPRESSED were undefined. Eventually I figured out that I had to set the target flag -TRCX2. My compilation command is getting more and more complicated: (...) (19 years ago, 29-Nov-05, to lugnet.robotics.rcx.nqc, FTX)
|
|
| | Re: Help me convert this train program to use events (NQC)
|
|
(...) That would solve my current umbilical problems. At that length I'd actually be encouraged to shell out some spondulics. Steve (19 years ago, 28-Nov-05, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Help me convert this train program to use events (NQC)
|
|
(...) And I've never had a problem with low battery firmware corruption... EXCEPT at BF while running the GBC trains. How often does the firmware check the battery level (it seems to be less often than the 3ms the other sensors are polled, based on (...) (19 years ago, 28-Nov-05, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Help me convert this train program to use events (NQC)
|
|
(...) Wow! That's quite a long cable. Is this the right product? I only found it using Pitsco's search box; it's not listed in any LEGO section as far as I could tell. (URL) (...) My original setup's RCX is a 1.0 with the AC adapter. The rails are (...) (19 years ago, 28-Nov-05, to lugnet.robotics.rcx.nqc, FTX)
|
|
| | RE: Help me convert this train program to use events (NQC)
|
|
Brian Davis wrote..... ...... Worse yet, when the power runs low the RCX is likely to corrupt the firmware unless you put in code to monitor the battery level (something I'd suggest if you go this route). Standard Lego firmware is designed to detect (...) (19 years ago, 28-Nov-05, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Help me convert this train program to use events (NQC)
|
|
(...) For future, LEGO's educational division does sell 3m LEGO wires. (...) A 1.0 RCX that allows you to power the setup from an outlet is ideal for this. If it ends up being battery-based, you will have to adjust the power level as the batteries (...) (19 years ago, 28-Nov-05, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Help me convert this train program to use events (NQC)
|
|
(...) I wanted the layout to be pure LEGO, but if I run out of time building this I'll break down and use non-LEGO wire and my original setup. (...) I wasn't worried about hiding the RCX, but I have seen the batteries run down very quickly. In the (...) (19 years ago, 28-Nov-05, to lugnet.robotics.rcx.nqc, FTX)
|