| | Joystick Buttons
|
|
Has anyone figured out a way to utilize the buttons on the joystick? like maybe control another motor on top of the bot to turn an arm or something like that? -- Clay Aucoin (25 years ago, 7-Jul-99, to lugnet.robotics.rcx.nqc)
|
|
| | RCX Command Center Version 2.3
|
|
I am happy to announce the availability of version 2.3 of RCX Command Center. RCX Command Center is a Windows (95, 98, NT) program that assist you in programming the Lego MindStorms and Cybermaster Robots. It provides a higher level interface to the (...) (25 years ago, 19-May-99, to lugnet.robotics.rcx.nqc, lugnet.robotics)
|
|
| | Re: Does NQC support arrays?
|
|
Depending on what the value in the array needs to be you could use a bitmap (e.g. if you want to store true/false to denote the presence of something)... you could then represent the decimal value of the "array" of ones and zeros ... so, for (...) (26 years ago, 18-May-99, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Does NQC support arrays?
|
|
Hari Wiguna <hari@mindvision.com> wrote in message news:FBx2nH.B42@lugnet.com... (...) Nope, it doesn't. This is due to a limitation in the RCX environment. If it did support arrays you could have a max of 32 elements (assuming you didn't have any (...) (26 years ago, 18-May-99, to lugnet.robotics.rcx.nqc)
|
|
| | Does NQC support arrays?
|
|
I'm building a BrickCode Reader. Basically it reads a stack of 2x2 bricks of various colors like a barcode. I've managed to hack together a prototype BrickCode Reader. I can feed it a stack of bricks and it beeps different tones based on which color (...) (26 years ago, 18-May-99, to lugnet.robotics.rcx.nqc)
|
|
| | Re: NQC 1.3 released - Command Center?
|
|
(...) [snip] (...) DOH! Yup. I've gotten quite fond of the RCXCC/NQC combination. It handles just about anything that I have thought up so far! DLC (26 years ago, 14-May-99, to lugnet.robotics.rcx.nqc)
|
|
| | Re: NQC 1.3 released - Command Center?
|
|
(...) I assume you meant "RcxCC". Last I heard from Mark, it will be "soon". I'm pretty sure you can just replace nqc.exe and rcx.nqh in RcxCC with the 1.3 versions. There won't be templates/hilighting for any new commands, but at least you will be (...) (26 years ago, 12-May-99, to lugnet.robotics.rcx.nqc)
|
|
| | Re: NQC 1.3 released - Command Center?
|
|
(...) Say, when will NQCCC 1.3 be released? I'm completely hooked on the simple environment. DLC (26 years ago, 11-May-99, to lugnet.robotics.rcx.nqc)
|
|
| | Re: two task and while true
|
|
(...) Hmm: - I believe that, after main starts, unless you press IN_3 *very* quickly, that IN_3 will not be 1, hence stop wb will be chosen. Perhaps you want something like this? : task main { while (true) { wait(IN_3 == 1); // start motor wait(IN_3 (...) (26 years ago, 7-May-99, to lugnet.robotics.rcx.nqc)
|
|
| | Re: communication Linux - NQC - Cybermaster
|
|
(...) Yep, NQC assigns from 0 up. The listing (use -L) will print out the variable cross reference for an NQC program. Dave (26 years ago, 5-May-99, to lugnet.robotics.rcx.nqc)
|
|
| | 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)
|