To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcxOpen lugnet.robotics.rcx in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / 386
385  |  387
Subject: 
Re: How advanced can RCX programming be?
Newsgroups: 
lugnet.robotics.rcx, lugnet.robotics
Date: 
Tue, 11 Jan 2000 16:24:17 GMT
Viewed: 
1765 times
  
In lugnet.robotics.rcx, Tobias Möller writes:
In lugnet.robotics.rcx, David Leeper writes:

I´m no computer programmer, but I´ve downloaded NQC but haven´t installed it
yet.

If I´ve understood this multi-tasking right, then it means that you can have
one program running for the motors of a robot, and another for the sensors, • but
at the same time.
More than that.
You can (for instance) have a 'command' thread, which looks at a variable, and
decides according to the values on this whether to turn left/right or issue
some other response, and does this by changeing other values. You can then
have a seperate program for each motor that keeps each motor at a specific
speed, by monitoring the revolution counters, and also watches the
instructions from the command thread, telling it which way to go. This type of
writing allows you to keep the 'housekeeping' tasks seperate from the
'thought' processes. You can do the same using the standard software, but with
RCX, you can (for instance) elect to start a different process to handle
reversing, to the one for forward (often useful given the differences in the
steering responses), whereas the normal software does not allow this control -
the Dacta RoboLab software does, though with only a small number of variables
(5 I think), against the 32 available in NQC.

Best Wishes



Message is in Reply To:
  Re: How advanced can RCX programming be?
 
In lugnet.robotics.rcx, David Leeper writes: I´m no computer programmer, but I´ve downloaded NQC but haven´t installed it yet. If I´ve understood this multi-tasking right, then it means that you can have one program running for the motors of a (...) (24 years ago, 11-Jan-00, to lugnet.robotics.rcx, lugnet.robotics)

11 Messages in This Thread:





Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR