| | problem building bugbot3.nqc in cybermaster
|
|
When I try to compila bugbot3.nqc (the code of the Dave's wonderfull book) using my cybermaster as target, the compiler return twice the following error: SENSOR_TOUCH not defined I used the command line nqc -TCM bugbot3.nqc with NQC 2.3 thanks in (...) (25 years ago, 3-Apr-00, to lugnet.robotics.rcx.nqc)
|
|
| | Re: sending output to LCD possible?
|
|
(...) Not possible with the existing RCX firmware. However the RCX 2.0 firmware (currently in early-alpha) does support displaying a variable (and almost anything else) on the LCD. These operations will be available in NQC...but only when targetting (...) (25 years ago, 3-Apr-00, to lugnet.robotics.rcx.nqc)
|
|
| | sending output to LCD possible?
|
|
I skimmed through the NQC docs but I didn't see anything about sending messages to the display on the RCX. Is it possible? More specifically, sending the value of a variable to the display? I have a little robot that I plan to use to count things, I (...) (25 years ago, 3-Apr-00, to lugnet.robotics.rcx.nqc)
|
|
| | Re: NQC and RIS2.0 Firmware
|
|
(...) I found the problem... When verifying the checksum, the ROM scans [8000, cc00). Since it zeros out this area initially, this would indeed reflect the checksum of the firmware, provided it is less than 4400 bytes long (in hex). NQC sums the (...) (25 years ago, 2-Apr-00, to lugnet.robotics.rcx.nqc)
|
|
| | Re: NQC and RIS2.0 Firmware
|
|
(...) I've been looking at that for most of today. The 2489 is basically the last packet to go to the RCX, and the error is a "checksum error" coming back from the RCX. As far as I can tell, nqc breaks with any firmware file bigger than 20K (...) (25 years ago, 2-Apr-00, to lugnet.robotics.rcx.nqc)
|
|
| | Re: NQC on Linux dilema...
|
|
(...) This is very strange. Communication looks perfectly normal. I can't think of any reason for a hang. Is it possible for you to build nqc from source? If so, we can instrument any calls to the serial driver and determine if the driver is hanging (...) (25 years ago, 2-Apr-00, to lugnet.robotics.rcx.nqc)
|
|
| | NQC and RIS2.0 Firmware
|
|
I've tried using the Download firmware option of NQC for downloading the new firmware. Unfortunately it downloads to about 2489 and then errors out. Will Dave Baum be supporting this 'first release' of the firmware or will he be waiting for the (...) (25 years ago, 2-Apr-00, to lugnet.robotics.rcx.nqc)
|
|
| | Windows and ncq
|
|
Me again, just a follow up on the one I just posted, I downloaded the windows version of ncq for the family computer, it works fine. (25 years ago, 1-Apr-00, to lugnet.robotics.rcx.nqc)
|
|
| | Re: NQC on Linux dilema...
|
|
(...) OK, here it goes: (I am in root) Output_Start: Downloading program: Tx: 55 ff 00 10 ef 10 ef Rx: 55 ff 00 10 ef 10 10 ef 55 Tx: 55 ff 00 10 ef 10 ef Rx: ff 00 ef 10 ef 10 ff ae ed 00 10 ef 10 ef 55 ff 00 ef 10 ef 10 Tx: 55 ff 00 50 af 50 af (...) (25 years ago, 1-Apr-00, to lugnet.robotics.rcx.nqc)
|
|
| | 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)
|