 | | 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)
|
| |
 | | Re: RF Connection To RCX
|
|
Eric, this was the approach I was thinking of. This way all the 'regular' functions, software, RcxCC etc would continue to work. Limitations: Speed is the same.. Other approaches would require deep hacking, I believe. I envisioned two devices: 1. (...) (26 years ago, 7-Jan-00, to lugnet.robotics.rcx)
|
| |
 | | Re: RF Connection To RCX
|
|
Hi! I also try to use RF to replace IR communication. My idea, to create a RF/IR two way adapter and to make an RF tower connected with PC. The adapter taped with RCX can receive RF signals from PC and pass to RCX by using IR emitter. And if RCX (...) (26 years ago, 7-Jan-00, to lugnet.robotics.rcx)
|
| |
 | | Re: RF Connection To RCX
|
|
(...) (26 years ago, 7-Jan-00, to lugnet.robotics.rcx)
|
| |
 | | RF Connection To RCX
|
|
Hi I have found the IR in RCX limiting, especially because of its line of sight problem. I'm interested in developing an RF interface to RCX. Anybody has any experience, knowledge, suggestions, tips in this area? Any pointers would be greatly (...) (26 years ago, 7-Jan-00, to lugnet.robotics.rcx)
|
| |
 | | Re: RCX onboard timer and motor pulsing
|
|
(...) For fun, with a second sensor you can make a gouvenor, which takes it speed from the track, and with a third motor you can change the gouvenor setting :-). It works reasonably with the ligth sensor as well. Then it is analog. But I found the (...) (26 years ago, 6-Jan-00, to lugnet.robotics.rcx, lugnet.trains)
|
| |
 | | Re: RCX onboard timer and motor pulsing
|
|
A few (Hah!) years ago we used to get that realistic slow train speed by running our Lionel "O" gauge and American Flyer engines on DC. We used an AC Gilbert rectifier that was a full-wave selenium unit. By adding a switch we made it be only (...) (26 years ago, 6-Jan-00, to lugnet.robotics.rcx, lugnet.trains)
|
| |
 | | Re: RCX onboard timer and motor pulsing
|
|
(...) PWM stands for "pulse width modulation". The LEGO speed control changes voltage as you turn the knob. An RCX turns the motor on and off really fast but always supplies full voltage. So half speed is a 50% duty cycle of full power, rather than (...) (26 years ago, 6-Jan-00, to lugnet.robotics.rcx, lugnet.trains)
|
| |
 | | Re: RCX onboard timer and motor pulsing
|
|
Hi Ben, I think I missed something here. What is "PWM mode"? What language are you programing in? And what is the "internals page"? Thanks so much for pursueing this! I did pick up the Unofficial Guideo to LEGO MS Robots by Jon Knudsen but only (...) (26 years ago, 6-Jan-00, to lugnet.robotics.rcx, lugnet.trains)
|
| |
 | | Re: Problems with RCX Robolab and PowerMacs 6400/200 and 5500/225
|
|
Thanks for the reply, I really enjoyed your book. My son (age 13) also enjoyed it. He's starting out using ROBOLAB, but your book has sparked an interest in C (like) programming. I look forward to a sequel. (...) (26 years ago, 6-Jan-00, to lugnet.robotics, lugnet.robotics.edu, lugnet.robotics.rcx.robolab, lugnet.edu, lugnet.robotics.rcx)
|
| |
 | | Re: RCX onboard timer and motor pulsing
|
|
(...) I was just experimenting with this a few days ago. An RCX using PWM does a far better job of driving the LEGO train motors than the simple variable voltage from the LEGO train control. You can make a train creep around just above stall speed (...) (26 years ago, 6-Jan-00, to lugnet.robotics.rcx, lugnet.trains)
|