 | | Re: Trains, DCC, and pbForth
|
|
(...) So if I understand this correctly, my idea of inserting some kind of optoisolator or other power driver between the RCX and the track would interfere with LDCC receiving the ACK signal. Or could the sensor 1 input still be (safely) connected (...) (22 years ago, 21-Nov-03, to lugnet.trains, lugnet.robotics.rcx.pbforth)
|
|
 | | Re: Trains, DCC, and pbForth
|
|
(...) The basic DCC ack is defined as an increase of load on the track of at least 60ma for 6ms +/- 1ms. Normally this happens on a quiet track where all you have powered is the decoder being programmed at the time. However, if you have a bunch or (...) (22 years ago, 21-Nov-03, to lugnet.trains, lugnet.robotics.rcx.pbforth)
|
|
 | | Re: Trains, DCC, and pbForth
|
|
(...) Cool. I think that this is the key to getting DCC into wider use. After all, there are only so many trains that will fit onto a layout unless it is truly massive. But there are a lot of potentially motorized items on a layout that could be (...) (22 years ago, 21-Nov-03, to lugnet.trains, lugnet.robotics.rcx.pbforth, FTX)
|
|
 | | Re: Trains, DCC, and pbForth
|
|
In lugnet.trains, Chris Phillips wrote: snip (...) I'm just going thru my mind (which is always a bad idea), and this would be, as stated, very easy-- My DCC chip has motor out, and 2 light wires out. Connect 'em to a electric plate and we're good (...) (22 years ago, 21-Nov-03, to lugnet.trains, lugnet.robotics.rcx.pbforth, FTX)
|
|
 | | Re: Trains, DCC, and pbForth
|
|
In lugnet.trains, Chris Phillips wrote: snip (...) snip (...) I know that I was one of those 30, Chris--sorry about not getting back to you. I d/led it but never actually used it yet :( So busy just getting a layout up and running--making buildings, (...) (22 years ago, 21-Nov-03, to lugnet.trains, lugnet.robotics.rcx.pbforth, FTX)
|
|
 | | Re: Trains, DCC, and pbForth
|
|
(...) I have been working on a different project toward the same end-- improved train layout automation, and I have had similar questions as to whether it is worth the effort for the small number of people who might actually benefit from it. Since (...) (22 years ago, 21-Nov-03, to lugnet.trains, lugnet.robotics.rcx.pbforth, FTX)
|
|
 | | RE: Trains, DCC, and pbForth
|
|
(...) Dave, don't take ALL the fun out of driving your trains :-) How about being able to focus on just one train that you control, but automate things so the OTHER trains don't hit yours? Your description was great, except that it involves MANY (...) (22 years ago, 21-Nov-03, to lugnet.trains, lugnet.robotics.rcx.pbforth)
|
|
 | | Re: Are there GOTO statements in NQC?
|
|
(...) Actually, this is a common misconception. In Java, there is no guarantee that memory is _ever_ reclaimed. It is perfectly permissible by the specification (and quite common in embedded applications) that garbage collection is _never_ done. At (...) (22 years ago, 21-Nov-03, to lugnet.robotics)
|
|
 | | Re: Trains, DCC, and pbForth
|
|
In lugnet.trains, Ralph Hempel wrote: <snip> (...) Now here's a thought--a truly automated layout, such as the following-- The RCX has sensors (either light or magnetic/light (as Jeff Elliot made up) to detect the trains as they pass) connected to (...) (22 years ago, 21-Nov-03, to lugnet.trains, lugnet.robotics.rcx.pbforth)
|
|
 | | Robotex2003 Winner: Lego
|
|
Hi all! I am not in to lego robotics myself, but I want to share this: At the Robotex 2003 ((URL) ) competion, the winner was the Lego robot. I did not follow the show that much, but I did notice how efficient the Lego robot was, how fast it found (...) (22 years ago, 21-Nov-03, to lugnet.robotics, lugnet.general, lugnet.mediawatch)
|
|
 | | Trains, DCC, and pbForth
|
|
All, As I've mentioned before, I have a version of pbForth firmware for the RCX that allows you to control trains modified with DCC controllers. The benefit of pbForth is that you can write, test, and debug your application interactively using (...) (22 years ago, 21-Nov-03, to lugnet.trains, lugnet.robotics.rcx.pbforth)
|
|
 | | Re: Ultrasonic proximity sensor
|
|
(...) Right. The word ultrasonic means "higher than sonic" or above the 40KHz top end of the audible range. These are sonic proximity sensors, FWIW. - Chris. (22 years ago, 21-Nov-03, to lugnet.robotics, FTX)
|
|
 | | Re: Ultrasonic proximity sensor
|
|
(...) Many different ones, ranging from clearly audible to much more than 40kHz. Depends on what they're doing. -- -- Open Forge, LLC 24/365 Onsite Support for PCs, Networks, & Game Consoles 512-695-4126 (Austin, Tx.) help@open-forge.com (...) (22 years ago, 21-Nov-03, to lugnet.robotics)
|
|
 | | Re: Ultrasonic proximity sensor
|
|
(...) Indeed. 24khz for audio is too low. It should be at least 40khz if it's using sound. (btw, what frequencies do bats use?) >> Mark (22 years ago, 21-Nov-03, to lugnet.robotics)
|
|
 | | Re: Are there GOTO statements in NQC?
|
|
(...) The purpose of garbage collection is to remove resources from use when they are not going to be used anymore. It covers a variety of issues, some you've each touched on. I suggest as a start, Garbage Collection: Algorithms for automatic (...) (22 years ago, 21-Nov-03, to lugnet.robotics)
|
|
 | | Re: Are there GOTO statements in NQC?
|
|
(...) Um, not exactly. Structured programming is about taking a high level problem, breaking it down into logically related modules (using as much reuse as possible) and then breaking those modules down as well, and so on. It's about being cognizent (...) (22 years ago, 21-Nov-03, to lugnet.robotics)
|
|
 | | Re: Are there GOTO statements in NQC?
|
|
Don't know about C/C++, but IIRC in Java the garbage collector destroys objects not when they are out of scope, nor when their creator function exits. It destroys them when the object is no longer referenced by any threads. That is to say, if (...) (22 years ago, 21-Nov-03, to lugnet.robotics)
|
|
 | | Re: Are there GOTO statements in NQC?
|
|
(...) I've been coding since about '81, too. Big deal. (...) Well, yes, by transforming it into a while loop with a state variable representing what would otherwise be the execution counter. While this is a provable transformation, it doesn't (...) (22 years ago, 21-Nov-03, to lugnet.robotics)
|
|
 | | Re: Are there GOTO statements in NQC?
|
|
As a computer science software engineer i work since 1984. My university studies before (Hamburg, Germany) taught me, that science had proved: any program using a goto statement can easily be transformed into a structured program. Remember, that (...) (22 years ago, 21-Nov-03, to lugnet.robotics)
|
|
 | | Re: Are there GOTO statements in NQC?
|
|
(...) *snicker* I'm surprised you used C as one of your example languages, then. Anyway, not all of us are so lucky as to be able to choose a language where you can hide all your cleanup code like that. As a personal issue, I find such cleanup (...) (22 years ago, 21-Nov-03, to lugnet.robotics)
|