 | | Re: recursion (was RE: Would-be hacker queries.)
|
|
Hi, Important clarification: "data stack" free recursion. This is an important significance. It's really only useful for systems with no data stack.... or alternately as an interesting conversation piece. What's usually more clever is using data (...) (28 years ago, 11-May-99, to lugnet.robotics)
|
| |
 | | Re: recursion (was RE: Would-be hacker queries.)
|
|
(...) Actually, he goes on to show that in some cases you can eliminate call stack recursion using simple transforms as well. (...) For example, JVM does this by keeping a frame stack of methods that have been executed. The interpreter main loop (...) (28 years ago, 11-May-99, to lugnet.robotics)
|
| |
 | | Re: recursion (was RE: Would-be hacker queries.)
|
|
(...) Let me say that I have not looked at the algorythm in question, yet, so forgive me if this is their solution... (...) The SmalltalkVM my last company built used much the same idea, however, one might say that it was a truely recursive (...) (28 years ago, 12-May-99, to lugnet.robotics)
|
| |
 | | Re: A recursion question/test...
|
|
(define (sum num) (if (zero? num) 0 (+ num(sum (- num 1))))) -- Richard Clemens Associate Professor Computer Science Department West Virginia Wesleyan College Buckhannon, West Virginia 26201 clemens@wvwc.edu 304.473.8421 ----- Original Message ----- (...) (28 years ago, 12-May-99, to lugnet.robotics)
|
| |
 | | Re: A recursion question/test...
|
|
(...) Well, you didn't specify if the numbers existed in a list or were iterative, and you didn't specify language so: Smalltalk: ^list sum. or ^(1..n) sum. sorry.. if you'll excuse Perl... List: foreach $num (@list) {$result += $num;} return (...) (28 years ago, 12-May-99, to lugnet.robotics)
|
| |
 | | Re: Scheme
|
|
A simple scheme interface such as (sensor <num> <type> <mode>) or (motor <letter> <direction> <speed>) could prove a valuable addition to scheme teaching functions. Students could explore functions (i.e. just small "programs") to include the ability (...) (28 years ago, 12-May-99, to lugnet.robotics)
|
| |
 | | Re: A recursion question/test... (fwd)
|
|
(...) Make that 'numbers' into 'positive integers' and it'll make more sense perhaps. (...) It's recursive, the only number you know is n. Language is really irrelevant. I asked for an algorithm. I'll give you a hint, it consists of two sentences (...) (28 years ago, 12-May-99, to lugnet.robotics)
|
| |
 | | RE: Would-be hacker queries. (fwd)
|
|
----- Forwarded message from Joel Shafer ----- Date: Tue, 11 May 1999 11:53:27 -0500 From: Joel Shafer <joel@connect.net> Subject: RE: Would-be hacker queries. It's too bad that recursion pays the price of stack usage. Recursion is almost always a (...) (28 years ago, 12-May-99, to lugnet.robotics)
|
| |
 | | Re: Scheme (fwd)
|
|
----- Forwarded message from Rich Clemens ----- From: "Rich Clemens" <clemens@wvwc.edu> Subject: Re: Scheme Date: Tue, 11 May 1999 23:26:18 -0400 A simple scheme interface such as (sensor <num> <type> <mode>) or (motor <letter> <direction> <speed>) (...) (28 years ago, 12-May-99, to lugnet.robotics)
|
| |
 | | Re: A recursion question/test... (fwd)
|
|
----- Forwarded message from Rich Clemens ----- From: "Rich Clemens" <clemens@wvwc.edu> Subject: Re: A recursion question/test... Date: Tue, 11 May 1999 23:51:21 -0400 (define (sum num) (if (zero? num) 0 (+ num(sum (- num 1))))) ----- End of (...) (28 years ago, 12-May-99, to lugnet.robotics)
|
| |
 | | RE: cursion (was RE: Would-be hacker queries.)
|
|
I hate to be pedantic, but what you're describing is functional composition. The key to recursion is that the function calls itself. e.g. int factorial(int n) // assumes n > 0 { if (n > 1) return n * factorial( n - 1); // the recursive call, this is (...) (28 years ago, 11-May-99, to lugnet.robotics)
|
| |
 | | A recursion question/test...
|
|
Hi, With all the discussion on understanding recursion and such for programmers I thought I'd share a little problem I find enlightening.... Describe as simple a recursive algorithm as possible for summing the first n numbers. ___...___ Three step (...) (28 years ago, 12-May-99, to lugnet.robotics)
|
| |
 | | Re: A recursion question/test...
|
|
(...) d'oh. my ($n)=@ARGV; my $result=$n; $result += $n while($n--); print $result."\n"; What a difference a compile makes... but it's still not very recursive. I'll be interested in seeing your answer. Aloha, JR - - - - - - - - - - JR Conlin (...) (28 years ago, 12-May-99, to lugnet.robotics)
|
| |
 | | Re: A recursion question/test...
|
|
Jim Choate poses the problem: (...) What other than sum(n) = n + sum(n-1) (with proper termination conditions, of course - sum(1) = 1). Ralph deal@kzoo.edu -- Did you check the web site first?: (URL) (28 years ago, 12-May-99, to lugnet.robotics)
|
| |
 | | You know, all this computer science talk doesn't really belong here.
|
|
Try lugnet.off-topic.geek. :) (...) (28 years ago, 12-May-99, to lugnet.robotics)
|
| |
 | | Re: Scheme (fwd)
|
|
On Tue, 11 May 1999, Jim Choate wrote: . . . (...) More details: In 1966, work began on LOGO at Bolt, Beranek, & Newman. The team was headed by Wally Fuerzeig and included Seymour Papert who later wrote the text which popularized LOGO: MindStorms. (...) (28 years ago, 12-May-99, to lugnet.robotics)
|
| |
 | | Re: Fishing for a tasty linkage/gearing/robotic building thread...
|
|
Me too !! Kipling Morris wrote in message ... (...) against (...) I (...) (28 years ago, 12-May-99, to lugnet.robotics)
|
| |
 | | Re: A recursion question/test... (correction)
|
|
Whoops! I typed the last two lines with the two aggregate operators interchanged! Obviously they should have read FUNCTION sum(n: natural): natural = SUM [0..n] FUNCTION fac(n: natural): natural = PRODUCT [1..n] Malcolm -- Did you check the web site (...) (28 years ago, 12-May-99, to lugnet.robotics)
|
| |
 | | Re: A recursion question/test...
|
|
It should be pointed out that the problem of summing the first n natural numbers is isomorphic to that of finding the factorial of n. Compare these two functions FUNCTION sum(n: natural): natural = IF n = 0 THEN 0 ELSE n + sum(n - 1) FUNCTION fac(n: (...) (28 years ago, 12-May-99, to lugnet.robotics)
|
| |
 | | mindstorms - motors and stuff
|
|
Just wondering - I've seen people hook up 2 motors to a port - how many is it safe to use? How much current can this thing supply? Can it drive the old-style 9V motors? (28 years ago, 12-May-99, to lugnet.robotics)
|
| |
 | | Re: Would-be hacker queries. (fwd)
|
|
(...) That is a rather limited version of recursion, which does not, in general, require f(n-1) to evaluate f(n). What you have described is actually (a subset of) partial recursion, which is provably incomplete (i.e. cannot implement some (...) (28 years ago, 12-May-99, to lugnet.robotics)
|
| |
 | | Re: A recursion question/test...
|
|
(...) int sum(int n) { return n*(n-1)/2; } A degenerate recursive algorithm, of course. 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 (...) (28 years ago, 12-May-99, to lugnet.robotics)
|
| |
 | | Re: A recursion question/test...
|
|
It should be pointed out that the problem of summing the first n natural numbers is isomorphic to that of finding the factorial of n. Compare these two functions FUNCTION sum(n: natural): natural = IF n = 0 THEN 0 ELSE n + sum(n - 1) FUNCTION fac(n: (...) (28 years ago, 12-May-99, to lugnet.robotics)
|
| |
 | | Re: Scheme (fwd)
|
|
----- Forwarded message from Ralph M. Deal ----- Date: Wed, 12 May 1999 01:52:41 -0400 (EDT) From: "Ralph M. Deal" <deal@kzoo.edu> Subject: Re: Scheme (fwd) (...) Can you furnish a source for MSWLogo? On what platforms does it run? ----- End of (...) (28 years ago, 12-May-99, to lugnet.robotics)
|
| |
 | | Re: Fishing for a tasty linkage/gearing/robotic building thread...
|
|
(...) I totally agree about needing a new building thread. It seems like there is a lot of effort for software in a box with only three inputs and three outputs. Whatever turns you on I suppose. We all get enjoyment from this product in different (...) (28 years ago, 12-May-99, to lugnet.robotics)
|
| |
 | | Re: Fishing for a tasty linkage/gearing/robotic building thread...
|
|
(...) I am working on a LEGO color copier machine. I've been fooling with it for a couple of months now (not so much due to difficulty as to lack of free time). Physically, my copier is basically an XY plotter with four interchangable colored pens. (...) (28 years ago, 12-May-99, to lugnet.robotics)
|
| |
 | | Re: Fishing for a tasty linkage/gearing/robotic building thread...
|
|
Michael, If you only need to make right angle changes of direction how about a design where the robot does not turn. You could have one set of axles for forward/backward with 1 motor driving both sides so you go straight. Then to change direction a (...) (28 years ago, 12-May-99, to lugnet.robotics)
|
| |
 | | Re: Fishing for a tasty linkage/gearing/robotic building thread...
|
|
I would try using one motor to drive and a ratchet on one of the wheels. Then when you go in reverse, you turn. Time the motor power setting and turn rate until you get a good 90 degree turn. The other way would be to use some kind of line (...) (28 years ago, 12-May-99, to lugnet.robotics)
|
| |
 | | Re: Fishing for a tasty linkage/gearing/robotic building thread...
|
|
(...) I was toying around with something like this. A foot like thing would come down, lift the whole vehicle up off the ground, then turn it right or left 90 degrees (maybe even a variable angle), and set it back down. It does look like a three (...) (28 years ago, 12-May-99, to lugnet.robotics)
|
| |
 | | Light sensor help??Newbie!!!
|
|
Hi All! I have a problem with the light sensor using the included software. (Don't groan all you advanced programmers, please ;-> ) But anyway, the manual states and I quote" trigger the stack when the FIRST of TWO consecutive readings falls outside (...) (28 years ago, 12-May-99, to lugnet.robotics)
|
| |
 | | Re: Fishing for a tasty linkage/gearing/robotic building thread...
|
|
(...) You could use a synchro-drive type of platform. This has been mentioned on here a few times before with varying levels of complexity. Since you only need 90 degree angles then you could probably get away with synchronizing the wheel direction (...) (28 years ago, 12-May-99, to lugnet.robotics)
|
| |
 | | Re: Fishing for a tasty linkage/gearing/robotic building thread...
|
|
(...) This is very close to what I was thinking. if you lowered a plate, lifted the bot and then rotated it and then rised the plate lowering the bot. With some clever mechanics you mifgt get the lifting and rotating done with one motor. I would (...) (28 years ago, 12-May-99, to lugnet.robotics)
|
| |
 | | Re: Fishing for a tasty linkage/gearing/robotic building thread...
|
|
(...) I probably need the 3rd motor to power the program reading part of the vehicle. (28 years ago, 12-May-99, to lugnet.robotics)
|
| |
 | | Re: Fishing for a tasty linkage/gearing/robotic building thread...
|
|
Hi Michael and everybody, I'm working on a robot (for my book) that uses a single motor to go forward and turn in place. I'm using a directional transmission, based on Michael Powell's original design: (URL) use the outputs of the directional (...) (28 years ago, 12-May-99, to lugnet.robotics)
|
| |
 | | Re: Right angle turns with parts in the box
|
|
(...) [snip] (...) make (...) Normally I would use the cat-tracks for this, but it wouldn't be a perfect turn there. For a pivot turn, I would use two of the "monster" wheels geared down as they can really rip if you don't! Put skids on the front (...) (28 years ago, 12-May-99, to lugnet.robotics)
|
| |
 | | Re: A recursion question/test...
|
|
I've been meaning to ask: Do you believe technology exists? It would seem hard to maintain a postition of a Techno-Atheist, given that you're using a computer to post. Just ribbing ya, sorry ;-) (...) -- Did you check the web site first?: (URL) (28 years ago, 12-May-99, to lugnet.robotics)
|
| |
 | | Robotics Book
|
|
Any idea on when that book is coming out? I can barely wait. -Nick Jonathan Knudsen wrote in message <3.0.5.32.1999051210...et.com>... (...) (28 years ago, 12-May-99, to lugnet.robotics)
|
| |
 | | Re: Robotics Book
|
|
Hi Nick, We're shooting to release it in time for the Christmas 1999 season. This means I have to finish in August, which means I have to write a chapter every two weeks or so. So far it's going well. I can barely wait myself. Again, this is (...) (28 years ago, 12-May-99, to lugnet.robotics)
|
| |
 | | Re: recursion (was RE: Would-be hacker queries.)
|
|
John A. Tamplin skrev i meddelandet ... (...) Are you sure? I have faint memories from University of a function called 'The Ackermann Function' which was 'recursive in all directions', and couldn't be expressed iteratively. Of course, my memory is (...) (28 years ago, 12-May-99, to lugnet.robotics)
|
| |
 | | Re: Fishing for a tasty linkage/gearing/robotic building thread...
|
|
Michael Gasperi skrev i meddelandet ... (...) Hey, that's almost our (me and my kids) current project! We have Cybermaster, not RIS, but in this case I think the CM is better, as it have the built-in tachometers for the two permanent motors. We (...) (28 years ago, 12-May-99, to lugnet.robotics)
|
| |
 | | Re: recursion (was RE: Would-be hacker queries.)
|
|
(...) I am not familiar with that function, but I believe I recall a proof in a graduate CS theory class that any recursive algorithm could be transformed into an iterative one. Do you have a reference for this function? For practical purposes, (...) (28 years ago, 12-May-99, to lugnet.robotics)
|
| |
 | | Re: A recursion question/test...
|
|
(...) If you're not going to make it recursive, why not: $result = $n * ($n + 1) / 2; That is effectively the sum of all numbers from 0 to n. -Kekoa (28 years ago, 12-May-99, to lugnet.robotics)
|
| |
 | | Re: You know, all this computer science talk doesn't really belong here.
|
|
But is it OK to post newby queries specifically requesting explanations for computer science terms mentioned in posts on topics which are clearly related to Lego's RIS? (with the expectation that I might get a simple definition or short explanation (...) (28 years ago, 13-May-99, to lugnet.robotics)
|
| |
 | | 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: 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: 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)
|
| |
 | | Re: Fishing for a tasty linkage/gearing/robotic building thread...
|
|
(...) ... (...) Agree. I didn't think of synchro drive and if you or any other suggested this arrangement to solve this problem I missed that message. It's a very good solution provided that you limit the rotation to 90 degrees with phisical bounds (...) (28 years ago, 13-May-99, to lugnet.robotics)
|
| |
 | | Re: Fishing for a tasty linkage/gearing/robotic building thread...
|
|
(...) True. The main complication I always had was somehow rotating the assembly around the drive train. As far as I know there are only three ways to do this.... (...) The three ways that I have found are the turntables(really simple), the (...) (28 years ago, 13-May-99, to lugnet.robotics)
|
| |
 | | Re: Fishing for a tasty linkage/gearing/robotic building thread...
|
|
(...) I haven't opened the box yet (anticipation is part of the fun), but it looks like there is one in my 8480 Space Shuttle kit. Not that that is really an inexpensive alternative. (28 years ago, 13-May-99, to lugnet.robotics)
|
| |
 | | Re: Fishing for a tasty linkage/gearing/robotic building thread...
|
|
(...) Oh yes, forgot about the Space Shuttle. But it's been discontinued, otherwise I might well have bought one. Stuart -- Did you check the web site first?: (URL) (28 years ago, 13-May-99, to lugnet.robotics)
|
| |
 | | Re: recursion (was RE: Would-be hacker queries.)
|
|
(...) How so? -- Richard Clemens Associate Professor Computer Science Department West Virginia Wesleyan College Buckhannon, West Virginia 26201 clemens@wvwc.edu 304.473.8421 ----- Original Message ----- From: Ben Laurie <ben@algroup.co.uk> To: John (...) (28 years ago, 13-May-99, to lugnet.robotics)
|
| |
 | | Re: Fishing for a tasty linkage/gearing/robotic building thread...
|
|
8443 has one, and isn't terribly expensive. It has nice pneumatics as well. I bought one on sale from S@H a year or so ago (back when they had good weekly sales on Technic stuff...those days seem to be over). alex ----- Original Message ----- From: (...) (28 years ago, 13-May-99, to lugnet.robotics)
|
| |
 | | Re: Fishing for a tasty linkage/gearing/robotic building thread...
|
|
(...) The Space Shuttle is still on the shelves here in Italy (but VERY expensive). Other sources for the turntable are the 8460 Pneumatic Crane Truck (off catalog but still easy to find here) and the 8443 Pneumatic Log Loader (on catolg and widely (...) (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... (fwd) Date: Thu, 13 May 1999 13:26:17 GMT Jim, a nice suggestion. I love the (...) (28 years ago, 13-May-99, to lugnet.robotics)
|
| |
 | | Re: Fishing for a tasty linkage/gearing/robotic building thread... (fwd)
|
|
(...) Yes, this is the point. You "need a single swithc to notify the computer it was in the start/stop position", and another one to read to value of your "program code" at that moment. Mario (28 years ago, 13-May-99, to lugnet.robotics)
|
| |
 | | Lego "pegging" disks
|
|
In lugnet.robotics, lego-robotics@crynwr.com (Jim Choate) writes: [snip] (...) [snip] They came close with the SW Y-wing fighter. The disks that make up the engine pods have an axle '+' in the center and a selection of button holes throughout the (...) (28 years ago, 13-May-99, to lugnet.robotics)
|
| |
 | | RE: recursion (was RE: Would-be hacker queries.)
|
|
(...) (From (URL) searching for "The Ackermann Function") The url to a description of Ackermann's function: (URL) excerpt from that page: Ackermann's function, while Turing computable, grows faster than any primitive recursive function. This means (...) (28 years ago, 13-May-99, to lugnet.robotics)
|
| |
 | | Re: recursion (was RE: Would-be hacker queries.)
|
|
(...) What do you mean? The algorithm a CPU uses (at least, any I'm familiar with) to execute code is an iterative algorithm (i.e. fetch instructions, decode, execute, go round again). Cheers, Ben. -- (URL) grandfather once told me that there are (...) (28 years ago, 13-May-99, to lugnet.robotics)
|
| |
 | | RE: recursion (was RE: Would-be hacker queries.) (fwd)
|
|
----- Forwarded message from Blake Winton ----- From: Blake Winton <Blake.Winton@pcdocs.com> Subject: RE: recursion (was RE: Would-be hacker queries.) Date: Thu, 13 May 1999 11:40:10 -0400 (From (URL) searching for "The Ackermann Function") The url (...) (28 years ago, 13-May-99, to lugnet.robotics)
|
| |
 | | Re: Fishing for a tasty linkage/gearing/robotic building thread...
|
|
(...) I have a fully functional version that doesn't use either - or any special parts. I wish I had a digital camera to take some decent pictures. I have one photo taken with a Polaroid. I'll put it on my web site tonight. In the mean time, I'll (...) (28 years ago, 13-May-99, to lugnet.robotics)
|
| |
 | | RE: Lego "pegging" disks
|
|
(...) But they DID, way, way back. I still have a set (2 Yellow 3 blue and 2 red) of the old BIG tooth gears. The yellow set is about the size of an 8x8 plate nad has a 5x5 grid of holes. The set has the old white Technic axles and red bushings. (...) (28 years ago, 13-May-99, to lugnet.robotics, lugnet.build)
|
| |
 | | Re: recursion (was RE: Would-be hacker queries.)
|
|
Is that a function of the CPU or the OS? -- Richard Clemens Associate Professor Computer Science Department West Virginia Wesleyan College Buckhannon, West Virginia 26201 clemens@wvwc.edu 304.473.8421 ----- Original Message ----- From: Ben Laurie (...) (28 years ago, 13-May-99, to lugnet.robotics)
|
| |
 | | Re: Lego "pegging" disks
|
|
(...) I have a co-woker who has an half-complete set of these in the original box -- I don't know the number -- but wow, they're cool. Is there any way I could find out what the market value of a complete set would be? Cheers, - jsproat (28 years ago, 13-May-99, to lugnet.robotics, lugnet.build)
|
| |
 | | Re: recursion (was RE: Would-be hacker queries.) (fwd)
|
|
(...) How would it jump back to the original tape? -Paul (pspeed@progeeks.com) -- Did you check the web site first?: (URL) (28 years ago, 13-May-99, to lugnet.robotics)
|
| |
 | | Re: recursion (was RE: Would-be hacker queries.)
|
|
(...) Is this a windup? The CPU, of course! (...) ^^^...^^^ of what? (...) 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 group; (...) (28 years ago, 13-May-99, to lugnet.robotics)
|
| |
 | | Re: recursion (was RE: Would-be hacker queries.)
|
|
Ackermann's Function ---...--- Function ack(n, m: integer): integer; Begin If m = 0 Then ack = n + 1 Else If n = 0 Then ack = ack(m-1, 1) Else ack = ack(m-1, ack(m, n-1)) End; Funny what sticks in your mind! As far as I know, the only significance (...) (28 years ago, 13-May-99, to lugnet.robotics)
|
| |
 | | Re: You know, all this computer science talk doesn't really belong here.
|
|
(...) another group to disuade people (...) iteration versus recursion (...) which is actually supposed (...) At the risk of taking another thread down, I would caution you about taking this attitude. I am one of the first to admit that the (...) (28 years ago, 13-May-99, to lugnet.robotics)
|
| |
 | | Re: recursion (was RE: Would-be hacker queries.) (fwd)
|
|
----- Forwarded message from Paul Speed ----- Date: Thu, 13 May 1999 12:50:37 -0400 From: Paul Speed <pspeed@augustschell.com> Subject: Re: recursion (was RE: Would-be hacker queries.) (fwd) (...) How would it jump back to the original tape? ----- (...) (28 years ago, 13-May-99, to lugnet.robotics)
|
| |
 | | Re: Lego "pegging" disks
|
|
(...) Now that you mention them I remember I have some too! Pre-Technic Lego gears. They are HUGE. I guess I got mine in the first half of the seventies. There was a very nice black chain too with two studs on each piece, ideal to join any standard (...) (28 years ago, 13-May-99, to lugnet.robotics, lugnet.build)
|
| |
 | | Re: recursion (was RE: Would-be hacker queries.) (fwd)
|
|
(...) Yep, my question was merely meant to provoke discussion on if the original point could actually be used to prove or disprove all recursion being able to be implemented as iteration. Ugh, what a sentence. Essentially it still just boils down to (...) (28 years ago, 13-May-99, to lugnet.robotics)
|
| |
 | | Re: recursion (was RE: Would-be hacker queries.)
|
|
If the CPU then the hardware (datapath) or the microcode? -- Richard Clemens Associate Professor Computer Science Department West Virginia Wesleyan College Buckhannon, West Virginia 26201 clemens@wvwc.edu 304.473.8421 ----- Original Message ----- (...) (28 years ago, 13-May-99, to lugnet.robotics)
|
| |
 | | Re: You know, all this computer science talk doesn't really belong here.
|
|
(...) Yeah, thats a problem with recursion. If you're not careful, the stack . . BOOOOM!!!...!!! 1202 alarm What was I talking about? (Sorry, I just couldn't resist) Jeff Jackowski (URL) you check the web site first?: (URL) (28 years ago, 13-May-99, to lugnet.robotics)
|
| |
 | | Re: Lego "pegging" disks
|
|
Dunno, but I have several of these gears, no box or anything else, that I would trade away. If anyone is interested, I'll dig them all out and get a list of which ones I have. (...) -- | Tom Stangl, Technical Support Netscape Communications Corp | | (...) (28 years ago, 13-May-99, to lugnet.robotics, lugnet.build)
|
| |
 | | Re: Lego "pegging" disks
|
|
(...) Am I absolutely dreaming, or was there an earlier set of gears which were all grey? I seem to remember having Lego gears, but definitely don't remember multi-color ones. Such a set would have been from the early 70s (or possibly earlier if we (...) (28 years ago, 13-May-99, to lugnet.robotics, lugnet.build)
|
| |
 | | Re: Lego "pegging" disks
|
|
(...) I still have a lot of my Lego parts from 60s and 70s (some pictures of them at my site), but I'm pretty sure the first gears were the ones mentioned by Ralph. The largest was yellow, the medium one blue and the smaller red. Axles were white (...) (28 years ago, 13-May-99, to lugnet.robotics, lugnet.build)
|
| |
 | | Re: Fishing for a tasty linkage/gearing/robotic building thread...
|
|
(...) Here it is as promised: (URL) finally got around to creating a Mindstorms site. Now if I can just work out the details of paying for a digital camera..... -Wes (28 years ago, 13-May-99, to lugnet.robotics)
|
| |
 | | Re: recursion (was RE: Would-be hacker queries.)
|
|
In article <373AA2D3.2A4E812B@a...up.co.uk>, Ben Laurie <ben@algroup.co.uk> writes (...) Is this the same Mr Ackerman who invented Ackerman steering? (28 years ago, 13-May-99, to lugnet.robotics)
|
| |
 | | robotic movement / Re: Fishing for a tasty linkage/gearing/robotic building thread...
|
|
(...) SNIP (...) What are adaptive transmission, syncro drive and tri-wheelers? SNIP (...) What's AT-AT mean? (...) I'm also fascinated by walking cycles and limbs. I mean, wheels are fine in designed micro-environments but I expect that more (...) (28 years ago, 13-May-99, to lugnet.robotics)
|
| |
 | | If only I could afford a ... webcam? / Re: Fishing for a tasty linkage/gearing/robotic building thread...
|
|
Wes: If you did have a digital camera, would you mount it on a 'bot to create a dirigible webcam? And if Wes did have such a webcam, what kind of programming would it take to give me the ability to direct it in real time from my desktop, over the (...) (28 years ago, 14-May-99, to lugnet.robotics)
|
| |
 | | Re: Fishing for a tasty linkage/gearing/robotic building thread...
|
|
All I can say is that I hope Kipling Morris is happy now and thanks for all the help with my vehicle project. (28 years ago, 13-May-99, to lugnet.robotics)
|
| |
 | | Re: If only I could afford a ... webcam? / Re: Fishing for a tasty linkage/gearing/robotic building thread...
|
|
(...) The real challenge would be transmitting the images back to the computer. Using cables puts the cambot on a leash. I wonder if anyone has a camera that uses IR to transfer the images to a PC? (...) This problem has already been solved - the (...) (28 years ago, 14-May-99, to lugnet.robotics)
|
| |
 | | Re: Lego "pegging" disks
|
|
(...) These gears are used in Marcus' Kinetoscope and Wind Mill at: (URL) they can certainly be used with Mindstorms too. Play well! Franz-Michael S. Mellbin --- Franz-Michael S. Mellbin (URL) fmm@fischer-mellbin.com (28 years ago, 14-May-99, to lugnet.robotics, lugnet.build)
|
| |
 | | RE: Lego "pegging" disks
|
|
Ah yes, I still have quite a few of these pieces, especially the wheels with metal axles and the bricks that accept them. The belt Mario mentioned is great and can be used to turn rotation into linear motion, but it works with the old gears only and (...) (28 years ago, 14-May-99, to lugnet.robotics)
|
| |
 | | RE: Lego "pegging" disks
|
|
(...) Do people _really_ want to discuss / look at pictures of these rather old bits? I could scan and post some pictures out of the 1973 and 1975 (or thereabouts) catalogues if that would jog memories? Stuart -- Did you check the web site first?: (...) (28 years ago, 14-May-99, to lugnet.robotics)
|
| |
 | | FW: If only I could afford a ... webcam? / Re: Fishing for a tast y linkage/gearing/robotic building thread...
|
|
(...) VB gives you the posibility to use the winsock ocx to control a cambot over the web. i have a program running successfully that pans and tilts a webcam over the Internet.... the program consists of two parts, a client, and a server, I am (...) (28 years ago, 14-May-99, to lugnet.robotics)
|
| |
 | | Re: If only I could afford a ... webcam? / Re: Fishing for a tasty linkage/gearing/robotic building thread...
|
|
From: Wes Matchett <wes@augustschell.com> (...) a dirigible webcam? (...) Using cables puts the cambot (...) images to a PC? Unless you have an infinite source of power you are going to need to be tethered anyway. If you just wanted to put something (...) (28 years ago, 14-May-99, to lugnet.robotics)
|
| |
 | | RE: robotic movement / Re: Fishing for a tasty linkage/gearing/robotic building thread...
|
|
(...) I have no idea what adaptive transmission is. Can anyone fill me in on it? The synchro drive is a basically wheels that turn beneath the platform of the robot. Check out (URL) pictures. It allows you to make 90 degree turns, while the robot (...) (28 years ago, 14-May-99, to lugnet.robotics)
|
| |
 | | Re: FW: If only I could afford a ... webcam? / Re: Fishing for a tast y linkage/gearing/robotic building thread...
|
|
Awesome, thanks. Keep us posted. (...) -- Did you check the web site first?: (URL) (28 years ago, 14-May-99, to lugnet.robotics)
|
| |
 | | new sensors available at Lego Worldshop
|
|
I saw both the rotation sensor (9756) and the temperature sensor (9755) at www.legoworldshop.com last week. I ordered the rotation sensor and it arrived yesterday. Naturally before I ordered I called S@H first, trying to avoid the shipping/handling (...) (28 years ago, 14-May-99, to lugnet.robotics)
|
| |
 | | Sources for large wheels
|
|
I'm finding I really like using the large diameter spoked wheels that come in the RIS. Does anyone where more can be purchased? I can't find them in S@H or Dacta. -Wes (28 years ago, 14-May-99, to lugnet.build, lugnet.robotics)
|