| | Re: Error Message
|
|
The only thing I could think of is if NQC thinks you are generating code for some other device (e.g. CyberMaster). Try adding -Trcx2 to the command line to force NQC to target RCX2. If that doesn't fix it, email me the program and I'll take a look. (...) (23 years ago, 7-Apr-02, to lugnet.robotics.rcx.nqc)
|
|
| | Robot Controller 1.5
|
|
I have released a new (beta) version of Robot Controller, the ideal companion to NQC for Mac OS X. This version adds support for serial IR towers (provided you have a working serial port) and makes several other minor improvements. Download it now (...) (23 years ago, 7-Apr-02, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Need help with NQC
|
|
"Russell Newman" <victoreden@netzero.net> wrote in message news:GtLuCA.38p@lugnet.com... (...) RCX (...) In what way is it misbehaving? When backing up, it only backs up for 3/4 of a second. Is that enough? When turning, it only turns for a maximum (...) (23 years ago, 4-Apr-02, to lugnet.robotics.rcx.nqc)
|
|
| | Error Message
|
|
Hi. Can anyone help me with a problem I'm having. I'm writing a fairly simple program in NQC and when I compile I get an error saying "undefined variable SENSOR_LIGHT" The line that generates this error is simply: SetSensor(SENSOR_1, SENSOR_LIGHT); (...) (23 years ago, 4-Apr-02, to lugnet.robotics.rcx.nqc)
|
|
| | Re: lego turing machine
|
|
(...) I got to thinking, maybe this isn't so impossible after all. Imagine if you used 2x2 blocks with 2x2 tiles on top. Now you have something the RCX can lift. Run two pieces of train track parallel to each other, with four spots' width separating (...) (23 years ago, 29-Mar-02, to lugnet.off-topic.geek, lugnet.robotics, lugnet.robotics.rcx.nqc)
|
|
| | Re: lego turing machine
|
|
Hi JDF, Thanks for the feedback. I know it's not a Turing machine in the true sense, but let me tell you what I'm trying to do. At the moment I realize that I have built a sort of binary adder. But what I am currently implementing is a change in (...) (23 years ago, 29-Mar-02, to lugnet.off-topic.geek, lugnet.robotics, lugnet.robotics.rcx.nqc)
|
|
| | Re: lego turing machine
|
|
(...) An interesting idea, but the pedant and geek in me has to note that this isn't a Turing machine. Even ignoring Turing's original idea that the tape is infinite, the problem is that the Turing machine placed its output back on the tape. It (...) (23 years ago, 29-Mar-02, to lugnet.off-topic.geek, lugnet.robotics, lugnet.robotics.rcx.nqc)
|
|
| | Re: lego turing machine
|
|
murphy's law at its best: due to bandwith problems, my server has cut off my page. it now 1:30 am., and i've finally got a mirror up on an old yahoo account. it should do fine. looks like 0catch.com had a very big catch. www.geocities.com/aatishb/ (...) (23 years ago, 28-Mar-02, to lugnet.off-topic.geek, lugnet.robotics, lugnet.robotics.rcx.nqc)
|
|
| | Re: lego turing machine
|
|
I umm.. forgot to post the site along with the message. sorry. (smiling sheepishly) (URL) Bhatia" <aatish@mac.com> wrote in message news:Gtp1qJ.801@lugnet.com... (...) pics (...) technically (...) and (...) code (...) minimalistic, (...) (23 years ago, 28-Mar-02, to lugnet.off-topic.geek, lugnet.robotics, lugnet.robotics.rcx.nqc)
|
|
| | turing machine follow up
|
|
I umm.. forgot to post the site along with the message. sorry. (smiling sheepishly) (URL) (23 years ago, 28-Mar-02, to lugnet.off-topic.geek, lugnet.robotics, lugnet.robotics.rcx.nqc)
|
|
| | lego turing machine
|
|
I have developed and tested extensively a lego turing machine. Info and pics are up on my site if you're interested. Please note that this is technically not a turing machine as I have used a read only mechanism. I've spent the last hour or so (...) (23 years ago, 28-Mar-02, to lugnet.off-topic.geek, lugnet.robotics, lugnet.robotics.rcx.nqc)
|
|
| | Re: error undefined variable "SENSOR_1"
|
|
(...) The only way I've seen this occur is if you turn on NQC 1.x compatibility mode in the Preferences dialog. In fact, I'm sure this is the problem (having just tested it with that option turned on). It may be possible that that option is getting (...) (23 years ago, 28-Mar-02, to lugnet.robotics.rcx.nqc)
|
|
| | Re: error undefined variable "SENSOR_1"
|
|
make sure you chose RCX on the searching for brick screen when brickcc starts. "Russell Newman" <victoreden@netzero.net> wrote in message news:Gtnnyy.GJo@lugnet.com... (...) it (...) 3.3.4.4 (23 years ago, 28-Mar-02, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Scout programming
|
|
(...) There's a lot of overlap between Scout and RCX, but they aren't identical. Most of the stuff that NQC has to generate (math, control structures, etc) is common. The system calls tend to be very different, but this is all defined in an API file (...) (23 years ago, 28-Mar-02, to lugnet.robotics.rcx.nqc)
|
|
| | error undefined variable "SENSOR_1"
|
|
When I use the command SetSensor(SENSOR_1,S...OR_TOUCH); it says that SENSOR_1 and SENSOR_TOUCH are undefined variable. I have try to reinstall it but that did not work. I tryed to run some of the programs in the Examples file and those do not work (...) (23 years ago, 27-Mar-02, to lugnet.robotics.rcx.nqc)
|
|
| | Re: problems using arrays in NQC
|
|
wow, I tried what you said and it worked flawlessly. I feel kinda stupid for not having thought of that for so long. thanks. aatish aatish@mac.com "Alexander Cech" <alexander.cech@chel..._this_.at> wrote in message news:GtMKMo.H79@lugnet.com... (...) (23 years ago, 27-Mar-02, to lugnet.robotics.rcx.nqc)
|
|
| | Re: problems using arrays in NQC
|
|
Hi, you have to tell BricxCC/NQC that you are compiling for the RIS 2.0 firmware. To do this, select "RCX2" in the "Searching for the brick" window that appears at startup (you can also make this the default value in Preferences>Startup). (...) (23 years ago, 27-Mar-02, to lugnet.robotics.rcx.nqc)
|
|
| | problems using arrays in NQC
|
|
hi I'm building a lego turing machine and in the code certain data values need to be taken into an integer array. (sepcifically, inputing a binary no. using light sensor and a stack of yellow and black bricks). However, the program didn't compile (...) (23 years ago, 27-Mar-02, to lugnet.robotics.rcx.nqc)
|
|
| | Need help with NQC
|
|
I just wrote a program and I can't get it to work. I download it to the RCX and it just runs its motors. I look at the display and push on the bumper and it has those little triagles. So it is not hardware because the RCX reads that the bumper in (...) (23 years ago, 26-Mar-02, to lugnet.robotics.rcx.nqc)
|
|
| | Scout programming
|
|
I used BricXCC and the USB tower to program the Scout. I was wondering how the programming was done by NQC. Are the Scout and RCX command sets compatible? How so? Or does NQC translate and assemble differently depending on target brick? There are (...) (23 years ago, 26-Mar-02, to lugnet.robotics.rcx.nqc)
|