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 / 230
229  |  231
Subject: 
Re: Communication with PC using NQC
Newsgroups: 
lugnet.robotics.rcx, lugnet.robotics.rcx.nqc
Date: 
Mon, 8 Nov 1999 10:37:31 GMT
Viewed: 
198 times
  
As for libraries, I'm not sure what qualifies as "cute", but within NQC,
all of the RCX communication is containd within its own set of classes
(which I call rcxlib).  Compile and link against these classes to add RCX
functionality to your own C++ programs.  The access is robust, but not
"high level".  For example, there isn't a method to turn on a motor.

Dave Baum

Thanks for the explanation. So, it's back to the basics! ;-)

I did not explain my question very well, I think. What I would like to do is to
steer the RCX from the PC, by querying its state and send it high-level
commands (for example to make another maze-walker-thingie). It can be done wirh
SendMessage, but it would be much nicer to be able to send more than a byte at
a time...

I decided to try to solve this with the original firmware first, before going
to legOS or pbForth (with which I could probably have all the software on the
RCX, and not need any communication except maybe for progress reports or such)

Thanks again
/Vlad



Message has 1 Reply:
  Re: Communication with PC using NQC
 
(...) Could you be more specific on "querying its state" and "high-level commands"? If you're willing to write custom C++ code, you can pretty much do whatever you want on top of the rcxlib stuff from the NQC source base. Its pretty easy to send (...) (25 years ago, 9-Nov-99, to lugnet.robotics.rcx, lugnet.robotics.rcx.nqc)

Message is in Reply To:
  Re: Communication with PC using NQC
 
(...) You can use the -raw option for nqc to send raw commands (including the poll command) to the RCX. Not pretty, but it works in a pinch. As for libraries, I'm not sure what qualifies as "cute", but within NQC, all of the RCX communication is (...) (25 years ago, 6-Nov-99, to lugnet.robotics.rcx, lugnet.robotics.rcx.nqc)

7 Messages in This Thread:

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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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