| | 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)
|
|
| | Re: NQC tutorial available
|
|
(...) I think Mark is waiting for me to release NQC 1.3 - which is where SetWatch() gets added. In the meantime, you can define it yourself within your source code... #define SetWatch(h, m) asm { 0x22, (h), (m) } Dave (26 years ago, 31-Mar-99, to lugnet.robotics.rcx.nqc, lugnet.robotics)
|
|
| | Re: NQC tutorial available
|
|
Mark, In the section on "Display", you mention "Setwatch()" is available in V2.3. Any guess when this will be available? Thanks, -Phil (...) (26 years ago, 30-Mar-99, to lugnet.robotics.rcx.nqc, lugnet.robotics)
|
|
| | Re: NQC tutorial available
|
|
I have gone through most of the tutorial that posted by Mark Overmars which is extremely helpful. What a good job. Thanks Mark. There is one doubt and two question that I would like to get Mark or other people's attention. When I run the example (...) (26 years ago, 30-Mar-99, to lugnet.robotics.rcx.nqc, lugnet.robotics)
|
|
| | Re: NQC tutorial available
|
|
(...) Thanks Mark. I've been somewhat negligent on documentation myself. I've been very impressed with the dedication of the NQC user community. Originally, NQC was just a hack I threw together for my own use. At first I resisted releasing it (...) (26 years ago, 30-Mar-99, to lugnet.robotics.rcx.nqc, lugnet.robotics)
|
|
| | Re: NQC tutorial available
|
|
Excellent Job Mark. Thanks for all of your hard work. -Phil (...) (26 years ago, 29-Mar-99, to lugnet.robotics.rcx.nqc, lugnet.robotics)
|