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 / 3271
3270  |  3272
Subject: 
A new editor for RCX program
Newsgroups: 
lugnet.robotics
Date: 
Wed, 27 Jan 1999 15:31:44 GMT
Original-From: 
Denis Cousineau <DECOUSIN@ihatespamINDIANA.EDU>
Viewed: 
1095 times
  
What is RCX command?

RCX command is a program editor for the Lego © RCX programmable brick.
Using RCX command, you can build programs, and download them to the RCX.
You can also send immediate command (ex. PlaySystemSound, or PBTurnOff).
You can also retrieve information from the RCX using commands such as
Poll, or MemMap. RCX commands are compatible with the Lego © SPIRIT.OCX
library. Complete documentation is available on the Lego Mindstorms web
site.

What’s more in RCX command?

RCX command has unique features: it can interact with programs located
on your computer. Now, with RCX command, your computer can shut down the
RCX, or the RCX can shut down your computer! (even without touching it,
of course) RCX command implements instructions that are intended for the
computer only. Such commands include sending information to files
(such as PollTo) and taking decisions based on the content of a file.

Examples of programs using RCX command.

With RCX command, you can control your robot from your computer (see
keyboard.rcp program). The RCX has a complete program to face most of
the situation; on the computer, based on the keyboard, you have a
program that change the variable 1 of the RCX. RCX uses this variable to
decide its action.

As another example, suppose your robot is a small vacuum programmed to
wandered by night. Your vacuum must withdraw when light is coming. If it
gets stuck, it request (through your computer) to send a email. Next
thing you know is that you receive a e-mail from your vacuum!

Finally, genetic algorithm is now a reality. Your computer can generate
new programs for your RCX based on cross-over principles between
efficient programs, and send them to the RCX for a test. After a trial
period, the computer evaluates the how good the RCX program is, and
breed together the best fitted.

Philosophy of RCX command.

RCX command is intended to be the simplest possible. There is no test
panel, there is no button to download the firmware. Everything has to be
done through program, and a program for everything. This makes easier to
send listing to other users. Further, you can user other commands to
download firmware (such as firmdl.c and save ½ kbytes) without problem.

For Downloading RCX command, go to
http://prelude.PSY.UMontreal.CA/%7Ecousined/lego/robot/rcx/rcx_command/


--

Denis Cousineau,                   ****************************
Cognitive psychology               *                          *
Indiana University                 * Niaisez pas avec le pok! *
Psychology Building                *       (latin maxime)     *
Bloomington, 47405                 ****************************

Office: (812) 856-5217             Fax:    (812) 855-1086
E-mail: decousin@indiana.edu
http://Prelude.PSY.UMontreal.CA/~cousined
--
Did you check the web site first?: http://www.crynwr.com/lego-robotics



1 Message 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