 | | Re: Light sensor help??Newbie!!!
|
|
(...) This is how the Sensor Watcher works. The stack of code that hangs below a Sensor Watcher is only executed once when the reading becomes true. As long as the condition stays true it won't do anything which is probably not what you want. What (...) (28 years ago, 13-May-99, to lugnet.robotics)
|
| |
 | | Re: You know, all this computer science talk doesn't really belong here.
|
|
Coilín: So far as I am concerned, your "newby queries" are most welcome here. I hope that we don't lose sight of the fact that the RXC brick _is_ a computer, and that it needs to be programmed. You might find that the following two news groups are a (...) (28 years ago, 13-May-99, to lugnet.robotics)
|
| |
 | | Re: Fishing for a tasty linkage/gearing/robotic building thread...
|
|
Anders Isaksson <isaksson.etuna@REMO...tninet.se> wrote in message news:FBMxI9.GuC@lugnet.com... (...) the (...) sensors (...) on/off, (...) I realy like the program reading mechanism. Let me know when you have photos. However I probably need more (...) (28 years ago, 13-May-99, to lugnet.robotics)
|
| |
 | | RE: Multitasker test script
|
|
John, I tried to put this part of the code into my test script without the ping word and it worked fine. Yes, I uncommented the line that does not work for you. I'm going to have a closer look at ping...I wonder if it's running out of stack or doing (...) (28 years ago, 13-May-99, to lugnet.robotics.rcx.pbforth)
|
| |
 | | FORTH documentation on line
|
|
No, it's not documentation for pbFORTH - yet. I have found a decent book on line, it is Tim Hendtlass's Real-Time FORTH book. It is really geared for FPC, a dialect that is available for the PC, but the sections on numbers, stack manipulation, (...) (28 years ago, 13-May-99, to lugnet.robotics.rcx.pbforth)
|
| |
 | | RE: Multitasker test script
|
|
John, I've been looking at your ping routine and note the following... Even if FF EMIT did not block, the wait makes things irrelevant. At 2400 baud, the FF is out the port within 4 msec. In fact, if EMIT did not block, you could probably wait jsut (...) (28 years ago, 13-May-99, to lugnet.robotics.rcx.pbforth)
|
| |
 | | Re: Rom sensor read routine
|
|
Hi Kekoa, (...) I am fixing this right now. (...) The current legOS sensor read cycle is this (i=illuminate, c=A/D conversion) S1: iii iii iii ccc S2: ccc iii iii iii S3: iii ccc iii iii S4: iii iii ccc iii If you find your sensor 2 readings to be (...) (28 years ago, 2-May-99, to lugnet.robotics.rcx.legos)
|
| |
 | | MC34064
|
|
Can anybody tell me the pins config in the MC34064, because I am using the MC34064 as a susbtitute of the DS1233. Thanks Daniel ---...--- " `BETTER´ IS THE ENEMY OF `GOOD ENOUGH´" ---...--- (28 years ago, 13-May-99, to lugnet.robotics.handyboard)
|
| |
 | | Re: A recursion question/test...
|
|
Actually, it came from a conversation I was having about how "religious" some people are about technology. My stance was that there is no supreme hardware or software, they all suck in their own unique way. "So what you're saying is that you are a (...) (28 years ago, 13-May-99, to lugnet.robotics)
|
| |
 | | Re: Multitasker test script
|
|
(...) It was this line that trashed the task chain when the power button was pressed, I thought I'd checked it a few times but perhaps it was something else. (...) Yes. What I really want is an equivalent of SendMessage in NQC (which maps to opcode (...) (28 years ago, 13-May-99, to lugnet.robotics.rcx.pbforth)
|
| |
 | | Re: Multitasker test script
|
|
Perhaps I should not have stripped all the comments for speed :) \ The rationale for the delay above and the delay after the IR flash is \ that the message is 77 bits of 417 microseconds each, a total \ transmission time of 32 milliseconds, the (...) (28 years ago, 13-May-99, to lugnet.robotics.rcx.pbforth)
|
| |
 | | Re: You know, all this computer science talk doesn't really belong here.
|
|
(...) Of course it's okay. Actually, it was because of a concern I had for newbies that I suggested the computer science talk be moved to a more relevant group, or at least off of this one. Most of the computer threads here have digressed from Lego (...) (28 years ago, 13-May-99, to lugnet.robotics)
|
| |
 | | Re: recursion (was RE: Would-be hacker queries.)
|
|
(...) I seem to remember the point of the Ackermann function is that the amount of computation required to evaluate it explodes very rapidly with small changes in parameter values, and it is recursive and rather simple. I also seem to remember "so (...) (28 years ago, 13-May-99, to lugnet.robotics)
|
| |
 | | Re: recursion (was RE: Would-be hacker queries.)
|
|
(...) And, BTW, isn't this intuitively obvious, since CPUs are, in fact, iterative? Cheers, Ben. -- (URL) grandfather once told me that there are two kinds of people: those who work and those who take the credit. He told me to try to be in the first (...) (28 years ago, 13-May-99, to lugnet.robotics)
|
| |
 | | Re: Fishing for a tasty linkage/gearing/robotic building thread...
|
|
Michael Gasperi skrev i meddelandet ... (...) An idea we have (but no implementation ideas yet), is to drive the program in discrete 'steps', sampling the sensors during the step, and decide the action. This would make exact turns possible. The main (...) (28 years ago, 13-May-99, to lugnet.robotics)
|
| |
 | | Re: Fishing for a tasty linkage/gearing/robotic building thread...
|
|
(...) I like a lot your idea of a "phisical" program stored on a 2 x n plate. You could use one sensor eg on the left side as a sort of "clock" mechanism which marks your steps. Doing so you very precisely know when to read the right sensor which is (...) (28 years ago, 13-May-99, to lugnet.robotics)
|
| |
 | | Re: Fishing for a tasty linkage/gearing/robotic building thread... (fwd)
|
|
----- Forwarded message from Mario Ferrari ----- From: "Mario Ferrari" <mario.ferrari@edis.it> Subject: Re: Fishing for a tasty linkage/gearing/robotic building thread... Date: Thu, 13 May 1999 12:39:53 GMT I like a lot your idea of a "phisical" (...) (28 years ago, 13-May-99, to lugnet.robotics)
|
| |
 | | Re: Fishing for a tasty linkage/gearing/robotic building thread...
|
|
(...) Or third, a synchro drive constrained to a ninety degree throw. This is simpler than the independent wheels since it doesn't require an extra motor or complicated mechanism for raising and lowering. It is also easier than the rotation sensor (...) (28 years ago, 13-May-99, to lugnet.robotics)
|
| |
 | | Re: Fishing for a tasty linkage/gearing/robotic building thread... (fwd)
|
|
(...) Jim, a nice suggestion. I love the escapement mechanism. But can't see how this would make us to save a sensor: we still need to know WHEN it's time to read the code sensor, I mean when the escapement is in one of its two terminal positions. (...) (28 years ago, 13-May-99, to lugnet.robotics)
|
| |
 | | Re: Fishing for a tasty linkage/gearing/robotic building thread...
|
|
(...) <snip> (...) Surely the only reason there's usually complication is that the assembly needs to be able to rotate any amount in either direction. If 0-90 degrees is the total range, then there are lots of really simple solutions. [This next bit (...) (28 years ago, 13-May-99, to lugnet.robotics)
|