| | Re: communication Linux - NQC - Cybermaster
|
|
(...) Thanks for your suggestions. Say, just what is variable 0? The first variable assigned? I should probably try to read some more about the internals of the RCX/Cybermaster, I suppose. Fredrik (26 years ago, 4-May-99, to lugnet.robotics.rcx.nqc)
|
|
| | Re: communication Linux - NQC - Cybermaster
|
|
(...) You can probably do anything you want with the [minimally documented] -raw option for nqc. You can use it to send arbitrary packets to the RCX or Cybermaster. For example, to query variable 0, you could do this: nqc -c -raw 120000 Of course, (...) (26 years ago, 2-May-99, to lugnet.robotics.rcx.nqc)
|
|
| | communication Linux - NQC - Cybermaster
|
|
I'm running NQC on a Linux system. Is there any way to communicate between the computer and the Cybermaster mobile unit using this software? Or are there any other types of software I might consider to do this? Fredrik (26 years ago, 2-May-99, to lugnet.robotics.rcx.nqc)
|
|
| | Re: JAVA and Cybermaster ?
|
|
(...) Question: Why do you want to use JAVA with the CyberMaster? JAVA is similar to C++, which is was developed from C and which is the base language of NQC. What are you expecting to do with JAVA that can not be made with NQC? And if you are in a (...) (26 years ago, 2-May-99, to lugnet.robotics.rcx.nqc)
|
|
| | JAVA and Cybermaster ?
|
|
I saw some Java stuff for the RCX. Is there soemthing for the Cybermaster? Stefan -- ***...*** Stefan Prescher prescher@hermes.fho-emden.de (26 years ago, 2-May-99, to lugnet.robotics.rcx.nqc)
|
|
| | two task and while true
|
|
Hi I made a small programm task main if IN_3 ==1 start wb else stop wb task sb while (true) if () fwd(Out_a,7); I found out that the prgramms goes into the while loop but it never started the motor if I copied it into the main part it runs fine Is (...) (26 years ago, 2-May-99, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Compiling NQC
|
|
(...) Of course, I did not mean to imply she is off course. (...) > > (...) (26 years ago, 29-Apr-99, to lugnet.robotics, lugnet.robotics.rcx.nqc)
|
|
| | Re: Compiling NQC
|
|
Well what do you know...I install gcc 2.8.0 and still no luck. But a clue lurks in the docs....and since I had none (clues that is) I read on. To compile c++ you must install libstdc 2.8.0. I find it and compile into gcc. Just for luck I grab the (...) (26 years ago, 29-Apr-99, to lugnet.robotics.rcx.nqc)
|
|
| | NQC 1.3 has been released
|
|
I just posted NQC 1.3 to the main web site: (URL) an excerpt from the readme... version 1.3 ---...--- Calls to inline function may now be made before their definition. abs() and sign() operators added. SetWatch() added to rcx.nqh. Toggle() added to (...) (26 years ago, 28-Apr-99, to lugnet.robotics.rcx.nqc, lugnet.robotics)
|
|
| | RE: Compiling NQC
|
|
I will pull gcc down tonight and try a fresh install...the gcc installation that came with openlinux is what I installed, and I am seeing make problems elsewhere now. Rich Thompson rich_thompson@cmcsmart.com (URL) -----Original Message----- (...) (26 years ago, 28-Apr-99, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Compiling NQC
|
|
Rich Thompson <richone@midsouth.rr.com> wrote in message news:FAvu5G.4Hw@lugnet.com... (...) This sounds like gcc isn't installed properly. cc1plus is the first stage of the compiler. Can you compile anything properly? alex (26 years ago, 28-Apr-99, to lugnet.robotics.rcx.nqc)
|
|
| | Compiling NQC
|
|
I am delving into the world of Linux (I have abandoned BSD and Windows but keeping my Mac) and I am having trouble compiling NQC in Caldera's OpenLinux 2.2 for i386. A basic output of the errors I am seeing: gcc -c -O6 -pipe -m486 -Iplatform (...) (26 years ago, 28-Apr-99, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Typo
|
|
(...) NQC 1.3 is pretty minor... inline functions can be used before they are defined. I added abs() and sign() support. Technically they are not functions, but are operators with a function syntax (like sizeof in C). A couple new functions (...) (26 years ago, 28-Apr-99, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Typo
|
|
Can you give us a "press release" about what's new in 1.3? (...) Joel Shafer joel@connect.net (26 years ago, 28-Apr-99, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Typo
|
|
Thanks - I had already noticed that and fixed it in the upcoming 1.3 release, which has been "ready to go" for about 3 weeks now. I just have to take the time to do all of the platform builds, update the web site, etc. Dave (...) (26 years ago, 28-Apr-99, to lugnet.robotics.rcx.nqc)
|
|
| | Typo
|
|
In browsing the rcx.nqh file, I found that the SMODE_CELSIUS input mode constant is misspelled with a 'c' instead of an 's'. Jonathan (26 years ago, 27-Apr-99, to lugnet.robotics.rcx.nqc)
|
|
| | Re: RcxCC Help!
|
|
William: Do you have the official Mindstorms software loaded that came with the RCX? Most of the 3rd party programs need the main program loaded inorder for their program to run properly. Hope this helps... Best Regards, Patrick McLean William Ng (...) (26 years ago, 26-Apr-99, to lugnet.robotics.rcx.nqc)
|
|
| | Re: RcxCC Help!
|
|
OH! i forgot i need to install the mindstorm software before i use RcxCC!! now it works, sorry guys. (...) (26 years ago, 26-Apr-99, to lugnet.robotics.rcx.nqc)
|
|
| | RcxCC Help!
|
|
i downloaded the RcxCC version 2.2 and extracted it with winzip. when i try to run the RcxCC.EXE, my system say "Exception EOleSysError in module RcxCC.EXE at 00053AF9. Class not registered" does anyone know what it is and what can i do?? thanks in (...) (26 years ago, 26-Apr-99, to lugnet.robotics.rcx.nqc)
|
|
| | Re: NQC tutorial available
|
|
(...) "if (Random(100) == 0)" used to be a compiler error, but version 1.2 of NQC is smart enough to generate a temporary variable to hold the random number. A trickier problem is Sleep(). Sleep(Random(100)) parses just fine. Since Sleep() is just a (...) (26 years ago, 31-Mar-99, to lugnet.robotics.rcx.nqc, lugnet.robotics)
|