To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcxOpen lugnet.robotics.rcx in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / 373
  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 (...) (24 years ago, 10-Jan-00, to lugnet.robotics.rcx, lugnet.robotics)
 
  Re: How advanced can RCX programming be?
 
(...) Depends how hard you want to work. With LegOS or pbForth, which replace the official firmware, you can program the hardware at the machine level, so you can do very advanced stuff. With NQC (or RoboLab) you're still limited by Lego's firmware, (...) (24 years ago, 10-Jan-00, to lugnet.robotics.rcx, lugnet.robotics)
 
  Re: How advanced can RCX programming be?
 
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 (...) (24 years ago, 10-Jan-00, to lugnet.robotics.rcx, lugnet.robotics)
 
  Re: How advanced can RCX programming be?
 
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 (...) (24 years ago, 10-Jan-00, to lugnet.robotics.rcx, lugnet.robotics)
 
  Re: How advanced can RCX programming be?
 
(...) Even if you don't know C, NQC is pretty easy to learn. (24 years ago, 10-Jan-00, to lugnet.robotics.rcx, lugnet.robotics)
 
  Re: How advanced can RCX programming be?
 
(...) You are right, Matthew. It also supports the Mac and Unix, which RCX Code and the Spirit ActiveX control don't. David Leeper (24 years ago, 10-Jan-00, to lugnet.robotics.rcx, lugnet.robotics)
 
  Re: How advanced can RCX programming be?
 
(...) IMHO, spirit.ocx doesn't provide OO capability - it does serve as an enabler, though. What it provides is the ability to write a VB program that writes an RCX program. This VB program can be as OO as you want it, but the calls to spirit.ocx (...) (24 years ago, 11-Jan-00, to lugnet.robotics.rcx, lugnet.robotics)
 
  Re: How advanced can RCX programming be?
 
In lugnet.robotics.rcx, David Leeper writes: I´m no computer programmer, but I´ve downloaded NQC but haven´t installed it yet. If I´ve understood this multi-tasking right, then it means that you can have one program running for the motors of a (...) (24 years ago, 11-Jan-00, to lugnet.robotics.rcx, lugnet.robotics)
 
  Re: How advanced can RCX programming be?
 
(...) That wasn't me! David Leeper (has been a computer programmer for 17 years! :^)) (24 years ago, 11-Jan-00, to lugnet.robotics.rcx, lugnet.robotics)
 
  Re: How advanced can RCX programming be?
 
"TM" == Tobias Möller <tobias.moller@telia.com> writes: TM> If I´ve understood this multi-tasking right, then it means that TM> you can have one program running for the motors of a robot, and TM> another for the sensors, but at the same time. It (...) (24 years ago, 11-Jan-00, to lugnet.robotics.rcx, lugnet.robotics)
 
  Re: How advanced can RCX programming be?
 
(...) but (...) More than that. You can (for instance) have a 'command' thread, which looks at a variable, and decides according to the values on this whether to turn left/right or issue some other response, and does this by changeing other values. (...) (24 years ago, 11-Jan-00, to lugnet.robotics.rcx, lugnet.robotics)

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