To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 11991
11990  |  11992
Subject: 
Human brain to RCX...
Newsgroups: 
lugnet.robotics
Date: 
Fri, 4 Aug 2000 16:38:48 GMT
Original-From: 
Rama Hoetzlein <{rch8@cornell.edu}saynotospam{}>
Viewed: 
637 times
  
Dear friends,

Considering what I sense is an increasing interest in the software
aspects, and potential programming possibilites of the RCX, I thought
that this might be useful to someone who is actually trying to program
their RCX...

Attached is a file called Lego.cpp that I created. This program, which
runs in C++ with no additional/seperate libraries (like Spirit.Ocx),
will control the lego RCX via the RCX Tower and the com port directly.
Thanks to Kekoa Proudfoot for discovering the RCX opcodes, and to Lego
Mindstorm Internals at http://www.crynwr.com/lego-robotics/ for
everything else. This is about as low-level as you can get to
programming
the RCX (short of the hardware itself).

Take a look at the main() function to see what is possible. With this,
you should
be able to explore the full potential of the RCX software possibilities.

You're welcome to use this program to your hearts content, just please
leave the
header intact in your program somewhere. Thanks.

I am currently using it, along with an Intel QuickCam to feed a live
video image
and direct RCX control into a C++ program. With both accessible from
C++, and by
mounting the camera in the ceiling, I have been able to do precise
positioning
of an RCX mobile robot using the camera as an absolute reference, and
giving
commands to the RCX direct from the Tower... I've also thought about
mounting
the camera to the robot itself. The Lego robot sees?

Keep building...

Rama


--
MIME ATTACHMENTS DISCARDED:

1.  Content-Type: text/plain; charset=us-ascii;
     name="lego.cpp"
    Content-Transfer-Encoding: 7bit
    Content-Disposition: inline;
     filename="lego.cpp"
    Content-Length: 9785



Message has 2 Replies:
  Re: Human brain to RCX...
 
Wow this is great! Full controll of an RCX with your computer. I am definately going to do something with this. Think of the possibilities. Your web cam idea sounds fun too. I have a wireles camera that I hve mounted on my rcx, transmites to channel (...) (24 years ago, 8-Aug-00, to lugnet.robotics)
  Re: Human brain to RCX...
 
(...) I've captured my USB camera based in this post: (URL) MSDN for these functions and you'll find other examples there. Laurentino Martins [ mailto:lau@netcabo.pt ] [ (URL) ] (24 years ago, 9-Aug-00, to lugnet.robotics)

4 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