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 / 986 (-20)
  equiv. to SetRandomSeed() for firm0309?
 
Is there a way to do the equivalent to SetRandomSeed() with 1.x firmware (3.09) which--if I understand correctly--is only available for RCX2 (3.28)? Maybe some kind of low level code to set the appropriate memory address? Thanks, Rik. (24 years ago, 22-Feb-01, to lugnet.robotics.rcx.nqc)
 
  X Windows front-end for NQC?
 
Hi Folks, I have used the RCXCC under windows for quite a while, but now I am quite taken with my shiny new Linux install on my desktop and my Agenda linux PDA. I searched through the archives and found Joel asking about a GUI for NQC, but there (...) (24 years ago, 21-Feb-01, to lugnet.robotics.rcx.nqc)
 
  NQCEdit
 
A new program for NCQ with color coding and much more. Download and test the program and let us know what you think about it. (URL) Eriksson (24 years ago, 21-Feb-01, to lugnet.robotics.rcx.nqc)
 
  Re: How to read variables from RCX
 
(...) The latest version of the Programmer's Guide (uploaded last night) has an extra section in the back that explains some of the technical details like direct access of data sources, etc. Dave (24 years ago, 17-Feb-01, to lugnet.robotics.rcx.nqc)
 
  Re: How to read variables from RCX
 
(...) Dave, First of all thank you very much, using #pragma reserve 10 works great for me. I would let you know though that although in your programming guide you tell how to reserve a storage location you do not tell how to access the reserved (...) (24 years ago, 16-Feb-01, to lugnet.robotics.rcx.nqc)
 
  Re: Strange problem with RcxCC ??
 
"Dave Baum" <dbaum@spambgoneenteract.com> wrote> (...) Yes, RcxCC needs spirit.ocx and must be registered to your system. Locate or copy the spirit.ocx file to you hard disk and use the Run command in the windows Start menu to execute the following: (...) (24 years ago, 14-Feb-01, to lugnet.robotics.rcx.nqc)
 
  Re: How to read variables from RCX
 
(...) In general, you don't have control over where the variables get placed. If necessary you can take advantage of the fact that globals are allocated consecutively starting at location 0, so in the above example, A refers to location 0. However, (...) (24 years ago, 14-Feb-01, to lugnet.robotics.rcx.nqc)
 
  Re: Strange problem with RcxCC ??
 
(...) I think RcxCC needs spirit.ocx in order to function. Spirit.ocx gets installed along with the regular mindstorms software, but there's probably a way to install it directly as well. Dave (24 years ago, 14-Feb-01, to lugnet.robotics.rcx.nqc)
 
  How to read variables from RCX
 
It is my understanding that the RCX has 32 "spaces" for variables, I am trying to set variable A or 10 to the value of 100 and then evaluate it in an IF statement. However I am not sure how to read that variable "space" correctly. Here is what I am (...) (24 years ago, 14-Feb-01, to lugnet.robotics.rcx.nqc)
 
  Strange problem with RcxCC ??
 
I have used RcxCC on several Win95 and WIN98 and WIN Me machines. Great. But now I need to run it on 6 machines in a library for a class. I have installed the same latest version on 3 of these machines, and they all seem to install OK, but executing (...) (24 years ago, 14-Feb-01, to lugnet.robotics.rcx.nqc)
 
  NQC 2.3 b1 in beta test
 
Just a few minor bug fixes and tweaks from 2.3 a1. At this point the 2.3 release is looking pretty stable. (URL) Baum (24 years ago, 10-Feb-01, to lugnet.robotics.rcx.nqc)
 
  Re: nqc download firmware linux
 
(...) The only thing I could think of that would cause a difference between firmware downloading and program downloading is if the serial driver for some reason introduces delays during long serial transmissions. The firmware download generally uses (...) (24 years ago, 9-Feb-01, to lugnet.robotics.rcx.nqc)
 
  Re: Q: Multitasking, and reacting to sensors
 
(...) I agree with you here ! no question. Rainer (24 years ago, 7-Feb-01, to lugnet.robotics.rcx.nqc)
 
  Re: Q: Multitasking, and reacting to sensors
 
(...) Jag redan såg den, jag läser lugnet.loc.se :-) (...) No, not if you do everything in sequence. I'd try this first, because it is simpler. (...) Then it is always multitasking, one task on each RCX. (...) You can make one task for each motor of (...) (24 years ago, 6-Feb-01, to lugnet.robotics.rcx.nqc)
 
  Re: Q: Multitasking, and reacting to sensors
 
(...) Ok, I have to admit that I was wrong. But I think most of the time it is the easiest solution to start all the tasks at the beginning and have them run in parallel. And if you want to perform some single action within a task use a (...) (24 years ago, 6-Feb-01, to lugnet.robotics.rcx.nqc)
 
  Re: Q: Multitasking, and reacting to sensors
 
Thanks for the replies, and for the sample programs. I'll try them out soon. I'm building a robotic arm (that's why I chose to reply to this message, not the other, later ones) that I plan to program in NQC. It does not need multitasking to work, or (...) (24 years ago, 6-Feb-01, to lugnet.robotics.rcx.nqc)
 
  Re: Q: Multitasking, and reacting to sensors
 
(...) Sorry Juergen, but that's not quite right. You can start and stop tasks as often as you wish to do. like this int do_s_s = 0; int condition = 0; task main() { while (1) { if (condition && !do_s_s) { start do_something_special; do_s_s = 1; } if (...) (24 years ago, 6-Feb-01, to lugnet.robotics.rcx.nqc)
 
  Re: Q: Multitasking, and reacting to sensors
 
Hej Tobias! (...) No, rather you need a While or Until loop. Normal programming languages are different from the RCX code. In RCX code the watchers are running all the time, in NQC you need to program the repetition yourself. A program for simple (...) (24 years ago, 6-Feb-01, to lugnet.robotics.rcx.nqc)
 
  Re: advice for game of tag?
 
(...) The firmware knows what (and when) it has just sent, so it can distinguish between incoming and outcoming messages. (...) That's not exactly true. Infrared light travels at the speed of light (300000 km/s), so you can safely ignore delays. (...) (24 years ago, 5-Feb-01, to lugnet.robotics.rcx.nqc)
 
  Re: Q: Multitasking, and reacting to sensors
 
Tobias, 'multi-tasking' means that several tasks run simultaneously. For example, a robot arm could grab, lift and swivel, one after the other, as functions, or simultaneously, as tasks. Or, the RCX could play a tune and a walker could walk, one (...) (24 years ago, 5-Feb-01, 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