 | | New Article
|
|
Hello, I have a new article at the O'Reilly Network: The Straight and Narrow (URL) about moving a robot in a straight line and includes discussion of the differential, rotation sensors, and dead reckoning in general. Regards, Jonathan (26 years ago, 24-May-00, to lugnet.robotics)
|
| |
 | | grasshopper learns new tricks
|
|
CREATE DOES>, VALUE and EVALUATE. Thank's guys. These will all enhance my code. I knew about CREATE DOES> but never really understood it. Your description pushed me finally over the edge of basic comprehension. EVALUATE is really cool and VALUE is (...) (26 years ago, 24-May-00, to lugnet.robotics.rcx.pbforth)
|
| |
 | | CONSTANTS and VALUES in pbForth
|
|
(...) There are a couple of things in this note. One is an introduction to CREATE DOES> and the other is a solution to your actual problem. Basically, what CREATE DOES> does is separate the run-time and compile time semantics of a word. This is (...) (26 years ago, 24-May-00, to lugnet.robotics.rcx.pbforth)
|
| |
 | | Re: Forth question
|
|
(...) You might want to try : zzz S" CONSTANT ONE" EVALUATE ; 1 zzz (...) I think VALUE can be used for that. Ernst (26 years ago, 24-May-00, to lugnet.robotics.rcx.pbforth)
|
| |
 | | Re: How do I delete firmware from firmware?
|
|
(...) Great. Thanks. This is a real lifesaver since I am deleting and reloading firmware at a rapid rate and my RCX is inside a construction which makes it awkward to get at the batteries. Now the delete/reload can be done entirely at the GUI. (26 years ago, 24-May-00, to lugnet.robotics.rcx.pbforth)
|
| |
 | | Re: Forth question
|
|
(...) Actually the various reasons are simple so I might as well state them. The serial port is not available at the time I want to create a constant because the serial port will be broken and therefor can't be used as the forth input stream. I am (...) (26 years ago, 24-May-00, to lugnet.robotics.rcx.pbforth)
|
| |
 | | Re: Forth question
|
|
(...) I still want to create a constant from within a definition. I have an initializing word that will calculate the value of the constant. For various reasons I can't do this calculation except within the runtime behavior of the word. This is not (...) (26 years ago, 24-May-00, to lugnet.robotics.rcx.pbforth)
|
| |
 | | Re: GA in RCX
|
|
(...) Yes. Therefore you might want to use the truncation selection, which allows you to have only 1 copy of the population at a time to save memory. It worked for us, we have a small GA running inside of the RCX. We evolved a program with simple (...) (26 years ago, 24-May-00, to lugnet.robotics.rcx.legos)
|
| |
 | | RE: Forth question
|
|
(...) 1 CONSTANT ONE Recall that CONSTANT is a *defining* word, just like the ":" It makes a name in the dictionary, in this case "ONE" and then links to a special bit of code that is executed every time ONE is interpreted. It grabs the value out of (...) (26 years ago, 24-May-00, to lugnet.robotics.rcx.pbforth)
|
| |
 | | Forth question
|
|
I'm trying to define a constant in a compiled word. : zzz 1 CONSTANT ONE ; I know its not right. It tries to compile "ONE" which is not what is wanted. What is the right way to say this? (26 years ago, 24-May-00, to lugnet.robotics.rcx.pbforth)
|
| |
 | | Re: RTC
|
|
(...) Yes. The IR just becomes a dumb serial port whith an annoying builtin echo, almost like you had a serial port cable attached to the RCX. Open the port on the host system using whatever language you want and proceed to send commands to it. Of (...) (26 years ago, 23-May-00, to lugnet.robotics.rcx.pbforth)
|
| |
 | | servos again
|
|
I'm still at my servo question :) the 3 servo routines so far use "normal" digital outputs. There are, according to the FAQ, 4 extra outputs I could use (SPI J6). Does this mean that I could write my own routines to drive 4 extra servos using these (...) (26 years ago, 23-May-00, to lugnet.robotics.handyboard)
|
| |
 | | Re: RCX Commincations
|
|
Colin- You may want to look through the past fews days worth of discussions in lugnet.robotics.rcx.legos. There has been quite a bit of back and forth about a few summer projects that people will be working on, including one with six robots and (...) (26 years ago, 23-May-00, to lugnet.robotics)
|
| |
 | | Re: GA in RCX
|
|
(...) I like that spirit :) (26 years ago, 23-May-00, to lugnet.robotics.rcx.legos)
|
| |
 | | Re: GA in RCX
|
|
(...) You will be. You will be... :) Tobias (26 years ago, 23-May-00, to lugnet.robotics.rcx.legos)
|
| |
 | | Re: GA in RCX
|
|
(...) I've pondered it, though not actually done anything. The things to remember are that GAs need to do fitness testing, and the larger the population that you can do fitness tests on the better. On a big old PC, it's easy to do lots and lots of (...) (26 years ago, 23-May-00, to lugnet.robotics.rcx.legos)
|
| |
 | | RCX Commincations
|
|
Hi All I'm currently experimenting with and getting to know legOS. I want to build a collaborative application with a few robots, the idea being that they work together in a co-operative fashion towards some objective, hence they must communicate (...) (26 years ago, 23-May-00, to lugnet.robotics)
|
| |
 | | RE: RTC
|
|
(...) There used to be such an option, but I can't seem to find it at the moment. Anyone else game? (...) Unfortunately, only if you have an older version of the mindstorms (version 1.0.) In version 1.5, Lego in it's infinite wisdom removed the (...) (26 years ago, 23-May-00, to lugnet.robotics.rcx.legos)
|
| |
 | | Re: GA in RCX
|
|
(...) Anything specific? MY Supervisor is interested in me using Cartesian GP... - Ciaran (26 years ago, 23-May-00, to lugnet.robotics.rcx.legos)
|
| |
 | | RE: RTC
|
|
(...) Crap :) Our setup would have been a hot item at trade shows :) Can anyone give me some info on power conservation with legOS? Will legOS shut itself down after a certain period of time? Does a power adapter exist for the robot so I can plug it (...) (26 years ago, 23-May-00, to lugnet.robotics.rcx.legos)
|