| | NQC troubles
|
|
Hi, I am pretty new to the lego robotics thing (but I have been a lego maniac since birth), and have had a lot of fun tinkering with the mindstorms set that I got for Christmas. I have recently downloaded Nqc and RCX command center. While working on (...) (25 years ago, 29-Feb-00, to lugnet.robotics.rcx.nqc)
|
|
| | J.Knudsen's 2nd NQC article online
|
|
havn't seen this mentioned yet, so here ya' go (hope nobody minds): (URL) MindStorms: Programming with NQC by Jonathan Knudsen 02/25/2000 In the second column in his series on Lego MindStorms robots, O'Reilly & Associates author Jonathan Knudsen (...) (25 years ago, 29-Feb-00, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Having trouble with -D option
|
|
It works fine in 2.1, as promised. Thanks Dave! -- Mark Haye, haye (at) us (dot) ibm (dot) com IBM TSM Server Development, Tucson, AZ Dave Baum <dbaum@spambgoneenteract.com> wrote in message news:dbaum-1DBD80.21...net.com... (...) ... (25 years ago, 24-Feb-00, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Can't download
|
|
(...) What operating system are you using? Another user mentioned a problem using NQC under IRIX, and the fix was to change the open() call in PSerial_unix::Open() (file platform/PSerial_unix.cpp): from if ((fTerm = open(name, O_RDWR)) < 0) { to if (...) (25 years ago, 23-Feb-00, to lugnet.robotics.rcx.nqc)
|
|
| | Can't download
|
|
Hello I've downloaded 2.1r1 src and rpm and 2.0.2 src. No matter which version I use, the results are the same: # nqc -d melody.ncq Downloading Program: Nothing else happens. I've tried specifying the port, but the result is the same. I've also (...) (25 years ago, 22-Feb-00, to lugnet.robotics.rcx.nqc)
|
|
| | Re: NQC RCXLib bug & wish
|
|
(...) I didn't realize that kRCX_Message packets wouldn't survive toggling the duplicate reduction bit. I'll fix this in the source. Actually, I think rather than hard-coding the decision with kRCX_Message, I'll make it dependent on whether retries (...) (25 years ago, 22-Feb-00, to lugnet.robotics.rcx.nqc)
|
|
| | Re: datalog viewer in RcxCC
|
|
(...) Typo - I meant that RcxCC uses different code than NQC, so a bug in RcxCC wouldn't necessarily indicate a bug in NQC for datalog listing. (...) From the thread I noticed you're using WinCE - sorry can't help you much there. Dave (25 years ago, 22-Feb-00, to lugnet.robotics.rcx.nqc)
|
|
| | Re: datalog viewer in RcxCC
|
|
(...) Huh. It must be some silliness with Wince. I'm not familiar enough with the platform to help you beyond here.... :( (25 years ago, 21-Feb-00, to lugnet.robotics.rcx.nqc)
|
|
| | NQC RCXLib bug & wish
|
|
Hi! (especially Dave) While trying to get a working communication channel between the PC and the RCX with the original firmware, I discovered a bug in RCXLib: in RCX_Link, BuildTxData, the 3rd bit in the command code is toggled when sending the same (...) (25 years ago, 21-Feb-00, to lugnet.robotics.rcx.nqc)
|
|
| | Re: datalog viewer in RcxCC
|
|
Matthew Miller wrote in message ... (...) Here's what I got: \windows>echo "blah" > test.txt "blah" > test.txt \windows>type test.txt Can't open the file \windows> Looks like it worked - but the file wasn't created (I couldn't find it using Explorer (...) (25 years ago, 21-Feb-00, to lugnet.robotics.rcx.nqc)
|
|
| | NQC examples?
|
|
I'm thinking of putting together a package (RPM, tar.gz) containing sample NQC code. It'd probably be designed to be released under either the GPL or MPL. I know there's some stuff on Dave's website already; would the authors of that code like to (...) (25 years ago, 21-Feb-00, to lugnet.robotics.rcx.nqc, lugnet.robotics)
|
|
| | Re: datalog viewer in RcxCC
|
|
(...) Not really. It should just go. Does this: echo "blah" > test.txt work? (25 years ago, 21-Feb-00, to lugnet.robotics.rcx.nqc)
|
|
| | Re: datalog viewer in RcxCC
|
|
Matthew Miller wrote in message ... (...) room). (...) in (...) Is there a DOS switch or something I should be looking for to enable file writing? Iain -- tokama (URL) UIN 5362826 AIM Linjerflyg h e n d r y j r AT o x f o r d DOT n e t (25 years ago, 21-Feb-00, to lugnet.robotics.rcx.nqc)
|
|
| | Re: datalog viewer in RcxCC
|
|
(...) That's pretty cool. I didn't know there was a Wince port. In any case, if you're doing > redirection and getting an error about the file you're redirecting to, the issue isn't with NQC but rather something in your shell. Probably access (...) (25 years ago, 21-Feb-00, to lugnet.robotics.rcx.nqc)
|
|
| | Re: datalog viewer in RcxCC
|
|
Matthew Miller wrote in message ... (...) No idea. I'm using a shell program running under WindowsCE on my HP 320LX. (VERY handy being able to write code while siting on the floor in my room). Iain (25 years ago, 21-Feb-00, to lugnet.robotics.rcx.nqc)
|
|
| | Re: datalog viewer in RcxCC
|
|
(...) Do you have write permission to the directory you're in? (25 years ago, 20-Feb-00, to lugnet.robotics.rcx.nqc)
|
|
| | Re: datalog viewer in RcxCC
|
|
Dave Baum wrote in message ... (...) Probably? Didn't you make NQC? (^: I tried the above. I got an error: Error: Couldn't open file log.txt. Any ideas? Iain -- tokama (URL) UIN 5362826 AIM Linjerflyg h e n d r y j r AT o x f o r d DOT n e t (25 years ago, 20-Feb-00, to lugnet.robotics.rcx.nqc)
|
|
| | Re: NQC 2.1 released
|
|
(...) I take that back. It's fixed now. (25 years ago, 20-Feb-00, to lugnet.robotics.rcx.nqc)
|
|
| | Re: NQC 2.1 released
|
|
(...) Linux binaries now at (URL), in .tar.gz and binary RPM format. (I've got to fix some stuff in the spec file, and then I'll post the SRPM too -- gimme a couple of days.) (25 years ago, 20-Feb-00, to lugnet.robotics.rcx.nqc)
|
|
| | Re: datalog viewer in RcxCC
|
|
(...) You can probably use NQC to read the values into a text file. Try: nqc -datalog >log.txt The -datalog option will grab the datalog as raw valus, -datalog_full will add the 'sources' into the listing. I'm not sure why RcxCC lists the wrong (...) (25 years ago, 20-Feb-00, to lugnet.robotics.rcx.nqc)
|