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 / 311 (-20)
  Re: Can't open serial port in Linux
 
Hi. I just got through fixing a similar problem with my linux box (the fix involved a lot of tedious changing IRQ's in the BIOS, with a lot of tedious rebooting in between). Beyond Dave's good advice, you might want to check out the linux serial (...) (25 years ago, 30-Dec-99, to lugnet.robotics.rcx.nqc)
 
  Re: Can't open serial port in Linux
 
Check the permissions on /dev/ttyS1. I think the default is for it to be locked down to superuser only. If this is the case, then running nqc from a normal user account would cause the error you got. You'll need read/write rights to /dev/ttyS1 in (...) (25 years ago, 29-Dec-99, to lugnet.robotics.rcx.nqc)
 
  Can't open serial port in Linux
 
I'm having some troubles downloading to the RCX in Linux, I have RXC_PORT set to /dev/ttyS1, which is the correct serial port, and then I run nqc and get: [brian@magic bin]$ ./nqc -d ../test.nqc Downloading Program:error Could not open serial port (...) (25 years ago, 29-Dec-99, to lugnet.robotics.rcx.nqc)
 
  firmware upload with NQC...
 
first off, i'm using NQC with Linux. when i try to upload the firmware image from the MindStorms CD-ROM, i get the following: [kjs@localhost nqc_lnx_2_0_2]# ./nqc -firmware ../FIRM0309.LGO Downloading firmware:... Problem talking to IR device the (...) (25 years ago, 27-Dec-99, to lugnet.robotics.rcx.nqc)
 
  Re: Roboarm.nqh
 
(...) I'm glad you're enjoying the book. Not including more information about where to put include files was definitely an oversight - I'll update the book's web pages when I get a chance. Dave (25 years ago, 22-Dec-99, to lugnet.robotics.rcx.nqc)
 
  Re: Roboarm.nqh
 
I was using the RcxCC program. I put the nqh file in the RcxCC directory and everything worked fine. Thanks for the information. By the way, I am really enjoying your book. I hope everyone gets a chance to read and use it. -- Bob Fay (...) (25 years ago, 22-Dec-99, to lugnet.robotics.rcx.nqc)
 
  Re: Roboarm.nqh
 
(...) The idea behind including files is that it allows a common set of definitions and/or functions to be shared by multiple programs. NQC by default searches the current directory for any include files. It is also possible to specify a search path (...) (25 years ago, 22-Dec-99, to lugnet.robotics.rcx.nqc)
 
  Roboarm.nqh
 
I am working my way through Dave Baums' Mindstorm book and I have lost my way regarding the #include command. The roboarm1.nqc program calls for roboarm.nqh to be included. The program will not compile because it "cannot open roboarm.nqh". Some (...) (25 years ago, 22-Dec-99, to lugnet.robotics.rcx.nqc)
 
  Re: Can't compile test.nqc
 
(...) There is very little difference in the compiler itself between 1.0 mode and normal mode. Most of the changes are due to a new API file that is included (rcx_nqh.h). If something went wrong with building this file, that may cause a crash. To (...) (25 years ago, 20-Dec-99, to lugnet.robotics.rcx.nqc)
 
  Can't compile test.nqc
 
Hi, I have been trying to compile NQC (2.0.2) with the watcom compiler under QNX and succeded partialy. I can now compile the test.nqc from version 1.3 in backward compatibility mode (bin/nqc -1 testv1.nqc). But I can't compile the new test.nqc (...) (25 years ago, 20-Dec-99, to lugnet.robotics.rcx.nqc)
 
  Re: How did you made nqc?
 
I second that. Thanks for the explanation. It made a good after word for your book! (...) Joel Shafer joel@connect.net (25 years ago, 16-Dec-99, to lugnet.robotics.rcx.nqc)
 
  Re: How did you made nqc?
 
(...) Yes, a lot of work...which is why the "iteration" part was so important. Individually, none of the steps were too time consuming, and each had a lot of positive feedback associated with it...which served to motivate me for the next step. The (...) (25 years ago, 16-Dec-99, to lugnet.robotics.rcx.nqc)
 
  Re: How did you made nqc?
 
(...) Thanks for your reply, this exactly what I (and probably others) wanted to know. It seems that it took a lot of work, time and knowledge... Thanks again ! Philippe (25 years ago, 15-Dec-99, to lugnet.robotics.rcx.nqc)
 
  Re: How did you made nqc?
 
(...) I started to compose a reply, but it wandered a bit off-topic and was getting quite long. I posted the resulting text here: (URL) this the sort of thing you were looking for, or perhaps more in-depth explanation of some of the algorithms used, (...) (25 years ago, 14-Dec-99, to lugnet.robotics.rcx.nqc)
 
  How did you made nqc?
 
Hello ! Being a fervent user of NQC, (thanks mr Baum!) I'm asking myself how nqc has been made. I know it's a very complex topic, but some explication for non programming-specialists could be very interesting. And because the rcx has quite limited (...) (25 years ago, 13-Dec-99, to lugnet.robotics.rcx.nqc)
 
  RIS 1.0 Sightings
 
If anyone is wanting them, I'm still seeing RIS 1.0 systems with the 'upgrade to 1.5' sticker on them at most the local Best Buys in NE Kansas (IE Topeka and Overland Park Areas) Tom (25 years ago, 13-Dec-99, to lugnet.robotics.rcx.nqc)
 
  Re: RIS 1.0 vs 1.5: which more "desirable"?
 
(...) Sorry, should have said the command console, which does use the VB stuff, and also (of course), sending anything yourself from VB... (25 years ago, 12-Dec-99, to lugnet.robotics.rcx.nqc)
 
  Re: RIS 1.0 vs 1.5: which more "desirable"?
 
(...) That's not true. Neither NQC nor LegOS require any vbx files. (25 years ago, 12-Dec-99, to lugnet.robotics.rcx.nqc)
 
  Re: Implementing Finite State Machines
 
Dave, I like the idea of teaching how to solve certain problems both with multiple threads and with a Finite State Machine. Adding "switch" would be great! Personally I think that a plain 'C' FSM using switch can be made to look very clear if (...) (25 years ago, 12-Dec-99, to lugnet.robotics.rcx.nqc)
 
  Re: RIS 1.0 vs 1.5: which more "desirable"?
 
(...) The problem is that 1.5, does not have the vbx file to allow these to work. You have to get this from a version 1 system. (...) 1.5, adds quite a few useful pieces, but loses a few others. Having '1' upgraded, gives you the best of both (...) (25 years ago, 11-Dec-99, 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