 | | 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 (...) (26 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! :^)) (26 years ago, 11-Jan-00, to lugnet.robotics.rcx, lugnet.robotics)
|
| |
 | | Re: OO programing in RCX
|
|
Hi Dave, On the RCX side, I wouldn't want true objects. I wouldn't want to fill up the RCX variables with vtables and the program memory with the code to use the vtables. But on the PC side of things I'm beginning to think objects can be very (...) (26 years ago, 11-Jan-00, to lugnet.robotics.rcx)
|
| |
 | | 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 (...) (26 years ago, 11-Jan-00, to lugnet.robotics.rcx, lugnet.robotics)
|
| |
 | | Re: OO programing in RCX
|
|
(...) I toyed with a couple of ideas for this, but most of the really useful things can't be done using the standard bytecodes. About the only thing I came up with was a way to wrap the standard API calls up into some classes. However, implementing (...) (26 years ago, 11-Jan-00, to lugnet.robotics.rcx)
|
| |
 | | 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 (...) (26 years ago, 11-Jan-00, to lugnet.robotics.rcx, lugnet.robotics)
|
| |
 | | Re: OO programing in RCX
|
|
What I mean is to think the RCX in OO. For example, I can add a sensor object in my programming code when I plug a sensor into my RCX. I can make the sensor object to interface with the RCX object in the OO manner. Is that possible? I learned some (...) (26 years ago, 11-Jan-00, to lugnet.robotics.rcx)
|
| |
 | | 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 (26 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. (26 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 (...) (26 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 (...) (26 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, (...) (26 years ago, 10-Jan-00, to lugnet.robotics.rcx, lugnet.robotics)
|
| |
 | | 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 (...) (26 years ago, 10-Jan-00, to lugnet.robotics.rcx, lugnet.robotics)
|
| |
 | | Re: OO programing in RCX
|
|
Hi Mathew, There are no objects on the RCX, in the sense that there are no vtables on the RCX. I made no changes to spirit.ocx. But I definitely think of the RCX code in terms of objects now. There are "brain" objects, "map" objects, "identity" (...) (26 years ago, 10-Jan-00, to lugnet.robotics.rcx)
|
| |
 | | Re: OO programing in RCX
|
|
(...) I'm curious -- are you making it so you can think about your RCX program in OO terms, or just the VB program that sends opcodes? (26 years ago, 10-Jan-00, to lugnet.robotics.rcx)
|
| |
 | | Re: OO programing in RCX
|
|
Hi Eric, There always Visual Basic. I'm currently building a few ActiveX controls which sit on top of Spirit. So far its working nicely and is a big improvement over the non-class method of VB coding I used in my original prototype. David Leeper (...) (26 years ago, 10-Jan-00, to lugnet.robotics.rcx)
|
| |
 | | Re: OO programing in RCX
|
|
Hi Eric, there's a patch in the works to give legOS support for most of C++ - virtual functions and the lot. Markus. (26 years ago, 10-Jan-00, to lugnet.robotics.rcx)
|
| |
 | | OO programing in RCX
|
|
Hi folks, I am an OO guy. Is there any any OO programming tools in RCX. I know there are LegOS, NQC, and so on. I have been addictted to OO and Java for couple of years. Some guys are working in developing JVM for RCX. I am looking forward any good (...) (26 years ago, 10-Jan-00, to lugnet.robotics.rcx)
|
| |
 | | Re: RF Connection To RCX
|
|
(...) Yep! I am going to make the RF/IR adapter plug in front of the RCX. And make my RF tower to replace the IR tower. I know the IR carries on 38.5KHz. Does it mean both transmt/receive signals working in the same 38.5KHz? If so, how can I solve (...) (26 years ago, 10-Jan-00, to lugnet.robotics.rcx)
|
| |
 | | Re: RF Connection To RCX
|
|
(...) If you take an COTS rf module, such as those from Siemens or Montorolo, or for example the bluetooth sample module, (though I used one from a cheap radio shack wireless phone) you'll find that the di and do have very similar voltages and (...) (26 years ago, 7-Jan-00, to lugnet.robotics.rcx)
|