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 / 81 (-20)
  Re: problem with control speed using NQC
 
The Mindstorms RCX Code software does the exact same thing as the code you listed, the only caveat is I think RCX Code uses power settings from 1 to 8 while NQC uses 0 to 7. Both result in the same bytecodes for the RCX to interpret. // turn A on (...) (25 years ago, 23-Jul-99, to lugnet.robotics.rcx.nqc)
 
  Re: NQC emulator?
 
The idea has cropped up from time to time, but nobody has written one yet. You probably don't want to simulate NQC code, but rather interpret the bytecodes emitted by the NQC compiler. These are just the bytecodes of the standard Lego firmware. (...) (25 years ago, 23-Jul-99, to lugnet.robotics.rcx.nqc)
 
  NQC emulator?
 
Hello, it seems that the LegOS people have an emulator so that one can test programs "virtually", i.e. on your PC rather than the real RCX. Is there something similar available on the NQC side? (I need to kill the time until the Mindstorm kit (...) (25 years ago, 22-Jul-99, to lugnet.robotics.rcx.nqc)
 
  Re: problem with control speed using NQC
 
But how does the original mindstorms software do it. With the Mindstorms software you can set the speed of each motor and it is obviously different. I must be missing something. I did a search on lugnet and found some NQC code to drive the motors (...) (25 years ago, 22-Jul-99, to lugnet.robotics.rcx.nqc)
 
  Re: problem with control speed using NQC
 
The RCX uses pulse-width modulation to control power to the motor. The pulses are between 1ms and 8ms of power during an 8ms interval. In theory, this would result in different power being provided to the motor. The problem is that the motor has an (...) (25 years ago, 22-Jul-99, to lugnet.robotics.rcx.nqc)
 
  Re: problem with control speed using NQC
 
I think that output power effects the modulation of the motor power. The motor power cycles on and off with the off time being longer at lower power settings. As David stated, this results in the same speed of the motor when it is unloaded for all (...) (25 years ago, 21-Jul-99, to lugnet.robotics.rcx.nqc)
 
  Re: problem with control speed using NQC
 
I've had the same result. It seems an **unloaded** motor always runs at full speed. To explain it to myself, I've theorized that the 'p' (power) in Fwd() and OutputPower() is more akin to force and does not directly control velocity. Waiting for (...) (25 years ago, 21-Jul-99, to lugnet.robotics.rcx.nqc)
 
  problem with control speed using NQC
 
Okay, need some more help. I have the following code running. My expectation is that the speed of the motor would increase but the integer value in the 'Fwd' command doesn't seem to make any difference. The motor always runs at full speed. (...) (25 years ago, 21-Jul-99, to lugnet.robotics.rcx.nqc)
 
  Re: NQC 1.3 released - Command Center?
 
(...) simple (...) has been released, check out his home page at: (URL) d/l it directly at: (URL) ya go. m. (25 years ago, 12-Jul-99, to lugnet.robotics.rcx.nqc)
 
  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 (...) (25 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 (...) (25 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 (...) (25 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 (25 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 (...) (25 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 (25 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 (...) (25 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 (25 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 (25 years ago, 4-May-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