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 / 988
987  |  989
Subject: 
Re: X Windows front-end for NQC?
Newsgroups: 
lugnet.robotics.rcx.nqc
Date: 
Thu, 22 Feb 2001 17:57:16 GMT
Viewed: 
2082 times
  
In lugnet.robotics.rcx.nqc, Dave Baum writes:
In article <G94Bpo.2op@lugnet.com>, "Richard Sutherland"
<richard@webbox.com> wrote:

Ultimately, I would like to see a FLTK front end for NQC that I could run
on
either my desktop box or the Agenda.  Is anyone currently working on
porting
NQC to the Agenda (Linux VR) or an X based front end?  If not, I could
start
on it and I do not suspect it will be difficult to get the command line
version running with the tower dangling off the Agenda.  We will have to
wait for some of the IR driver code to make NQC use the internal IR, but
starting the porting process now seems like a fair idea.


I'm not familiar with the Agenda, but if you have a gcc compiler for it,
several hundred K of heap space, and basic file I/O, then the port of
NQC itself generally comes down to one thing:  serial interface class
(platform/PSerial_xxx.cpp).

For that, if it is a basic Unix style interface, then the existing
serial class should work fine (perhaps just tweak the Makefile to point
at the correct default device name).  Otherwise, you'll need to write
your own implementation of the PSerial class.  This is almost trivial if
you already know the OS calls for serial access...you just have to
supply the appropriate wrapper functions for open,close,read,write,etc.

Dave

Thats great!  I have a working GCC cross compiler for the Agenda (A Linux
Based PDA http://agendacomputing.com ).  The little box uses standard
/dev/ttySx so I suspect the porting will go well.  This means I will have
the tower hanging off the PDA, but I really hope one day to use the Internal
IR. Since you have nicely isolated the serial interface, if the IR can
eventually support it, the re-writing should not be to difficult.

To reduce clutter on the list (this is a bit less than general interest :-),
if anyone is interested in this project send me an email and I will let you
know how it goes.  I am still interested in an RCXCC like X Windows
front-end to NQC if anyone knows of such a project...

Thanks,

Rich

rich at brickbots dot com



Message is in Reply To:
  Re: X Windows front-end for NQC?
 
(...) I'm not familiar with the Agenda, but if you have a gcc compiler for it, several hundred K of heap space, and basic file I/O, then the port of NQC itself generally comes down to one thing: serial interface class (platform/PSerial_xxx.cpp). For (...) (24 years ago, 22-Feb-01, to lugnet.robotics.rcx.nqc)

3 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