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 / 9906
9905  |  9907
Subject: 
Re: How advanced can RCX programming be?
Newsgroups: 
lugnet.robotics.rcx, lugnet.robotics
Date: 
Mon, 10 Jan 2000 19:16:19 GMT
Viewed: 
93 times
  
Hi Tobias,

If you're a computer programmer, I'd definitly suggest using something other
than the RCX Code method of writing programs for the RCX. NQC is a nice
environment if you know C. If you know a language that supports ActiveX, you
can program the RCX using the Spirit ActiveX control. This is a bit harder than
using NQC, but lets you go the object-oriented route, distrubute binaries
rather than source, and links you to every other ActiveX control in existance.
I don't think NQC can do any of those things (Dave Baum, the creator of NQC, is
on this list, so I'm sure he'll correct me if I'm wrong about that.)

The real limits to what you can do come from the limited amount of resources
you have available on the RCX. There's only 6k of memory and 32 variables
available for your programs.

Multitasking lets you have two pieces of code running at the same time. I'm
using it in the software I'm writing, but the more I use it, the more I have
questions about whether it's an advantage or a disadvantage. It definitly means
you have to do a bit more work, either in the design, the code, or both, to
make sure your different pieces of code don't step on each other. The O'Riley
Mindstorms book says you need multitasking to implement whats called a
Subsumption Architecture. I'm using a Subsumption Architecture, and it's
multitasking, but I really don't think it needs to be.

For me, the joy of programming the RCX comes from the interaction between my
code and the hardware. My code may say to spin a motor, but what happens when
that motor spins depends entirely on how I build my robot. The body of the
robot is literally an extension of its mind. It contains instructions just as
surely as the code does. Coming up with ways to exploit that relationship is
something totally new to me. This area is where you'll make up for the
limitations of the RCX. Small amounts of code can produce a lot of action in
the real world if you hook up the right hardware.

David Leeper (thinks the body is an extension of the brain)

In lugnet.robotics.rcx, Tobias Möller writes:
I got my RIS a couple of weeks ago, and I have been building simple robots
and programmed them using the program on the RIS cd.

I´ve heard that you can program the RCX in very advanced ways, multitasking
and so on.
How advanced can it be?
How do you use the advanced progamming features?
And what does the multitasking do?

--Tobias



Message has 1 Reply:
  Re: How advanced can RCX programming be?
 
(...) Even if you don't know C, NQC is pretty easy to learn. (25 years ago, 10-Jan-00, to lugnet.robotics.rcx, lugnet.robotics)

Message is in Reply To:
  How advanced can RCX programming be?
 
I got my RIS a couple of weeks ago, and I have been building simple robots and programmed them using the program on the RIS cd. I´ve heard that you can program the RCX in very advanced ways, multitasking and so on. How advanced can it be? How do you (...) (25 years ago, 10-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

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