To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcxOpen lugnet.robotics.rcx in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / *2655 (-100)
  Re: GA in RCX
 
(...) I like the multiple robot idea. If each robot used a simulated annealing algorithm instead of a GA this would require less computation since it would be working on one chromosome instead of a population. Each robot could advertise its fitness (...) (24 years ago, 25-May-00, to lugnet.robotics.rcx.legos)
 
  Re: NQC and rcx2
 
(...) No doc yet. It probably won't happen for a while. There are still features that need to be implemented! Dave (24 years ago, 25-May-00, to lugnet.robotics.rcx.nqc)
 
  Re: NQC and rcx2
 
(...) Documentation is always the last thing to get done.... Until I get it completed, your best bet is to read the lego documentation - especially the opcodes monel,monex,monal, and monax. The monitor/catch works like this: monitor(events) { // (...) (24 years ago, 25-May-00, to lugnet.robotics.rcx.nqc)
 
  LCD_NUMBER, made it work.
 
(...) I got it finally after re-reading the doc a few times. My arguements were in the wrong order. (24 years ago, 24-May-00, to lugnet.robotics.rcx.pbforth)
 
  LCD_NUMBER, Can't make it work.
 
The following has no effect: HEX 3002 301F 22 LCD_NUMBER LCD_REFRESH The following do as expected: LCD_4TH LCD_REFRESH LCD_CLEAR LCD_REFRESH Am I missing something? I've tried a few other things with LCD_NUMBER. Once I got 9999 on the display (that (...) (24 years ago, 24-May-00, to lugnet.robotics.rcx.pbforth)
 
  Re: grasshopper learns new tricks
 
(...) Considering that it has been almost 20 years from my first attempt you should rather say "about time." CREATE DOES> is important to me because it is sort of a minimalist object creator in the sense that it allows the creation of classes of (...) (24 years ago, 24-May-00, to lugnet.robotics.rcx.pbforth)
 
  RE: grasshopper learns new tricks
 
(...) Phew, it pushes most people over the edge of sanity.... (...) But the dew is still fresh on the grass, young apprentice, and the hot sun may yet inflict harm to you in unexpected ways... Cheers, Ralph Hempel - P.Eng ---...--- Check out pbFORTH (...) (24 years ago, 24-May-00, to lugnet.robotics.rcx.pbforth)
 
  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 (...) (24 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 (...) (24 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 (24 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. (24 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 (...) (24 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 (...) (24 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 (...) (24 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 (...) (24 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? (24 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 (...) (24 years ago, 23-May-00, to lugnet.robotics.rcx.pbforth)
 
  Re: GA in RCX
 
(...) I like that spirit :) (24 years ago, 23-May-00, to lugnet.robotics.rcx.legos)
 
  Re: GA in RCX
 
(...) You will be. You will be... :) Tobias (24 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 (...) (24 years ago, 23-May-00, to lugnet.robotics.rcx.legos)
 
  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 (...) (24 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 (24 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 (...) (24 years ago, 23-May-00, to lugnet.robotics.rcx.legos)
 
  RE: RTC
 
(...) You can use RCX.pm, but that's really for sending native byte streams to the RCX. You can just use standard IO calls to write to the serial port on your Linux Box. Cheers, Ralph Hempel - P.Eng ---...--- Check out pbFORTH for LEGO Mindstorms (...) (24 years ago, 23-May-00, to lugnet.robotics.rcx.pbforth)
 
  Re: GA in RCX
 
(...) We're just working on it :). Tobias (24 years ago, 23-May-00, to lugnet.robotics.rcx.legos)
 
  GA in RCX
 
- Anybody out there got any experience with Genetic Algorithms in LegOS, anybody willing to give me a little help in getting a handle on it, I'm considering a final year CSSE project using the RCX, and would be interested to here from anyone who's (...) (24 years ago, 23-May-00, to lugnet.robotics.rcx.legos)
 
  Re: RTC
 
NOTE: This is a continuation of a conversation with Mr. Hempel via email. >> Can I send this text to the robot from a pc at an arbritrary time? How long >> will it take each instruction to download? >Yes you can. I've written a Tcl (...) (24 years ago, 23-May-00, to lugnet.robotics.rcx.pbforth)
 
  RE: RTC
 
(...) No- I should have been more clear: PC->tower->robot automatically turns on the tower and is therefore pretty robust (whereas the robot has no way to turn on the tower once it has gone off.) There is no way to use laptop IR to talk to the (...) (24 years ago, 23-May-00, to lugnet.robotics.rcx.legos)
 
  RE: RTC
 
(...) Glad to hear it. Unfortunately, I'm also a student, the sysadmin, a programmer, and just general (computer) handyman, so I don't get to play with the robots all the time. (...) I see. So I can use regular laptop/PC IR to comm with the robot (...) (24 years ago, 23-May-00, to lugnet.robotics.rcx.legos)
 
  Re: How do I delete firmware from firmware?
 
(...) M_CODE(3,``"BYE"'',BYE,_FLINK) MOV.B #1:8, rAl MOV.B rAl,@0xCC:8 MOV.W @0:16,rA ; Reset vector JSR @rA M_NEXT() (24 years ago, 23-May-00, to lugnet.robotics.rcx.pbforth)
 
  RE: RTC
 
(...) Once upon a time, I was paid briefly to do it to. Certainly the best summer job I will ever have. (...) FYI, The main limitation with the IR, assuming that your room is reasonably IR reflective, is that the tower turns itself off and so it can (...) (24 years ago, 23-May-00, to lugnet.robotics.rcx.legos)
 
  Re: RTC
 
(...) Right. (...) Yes. User moves mouse -> applet sends signal to server -> server sends signal to robot. (...) Great! This is just what I wanted. (...) I'll do that. (...) I was also looking for this. Thanks :) Thanks much for your help, Nils (24 years ago, 23-May-00, to lugnet.robotics.rcx.legos)
 
  RE: How do I delete firmware from firmware?
 
(...) Actually, BYE is in the h8hforth.asm source now, but it's a no-op. Could you email it to me, Ernst, and then I'll put it into the basic distribution... Cheers, Ralph Hempel - P.Eng ---...--- Check out pbFORTH for LEGO Mindstorms at: (URL) (...) (24 years ago, 23-May-00, to lugnet.robotics.rcx.pbforth)
 
  RE: RTC
 
(...) It is really fun ... some of the time ;) (...) Yeah, I kind of thought that IR may not be so good, but I'm sure that I can find some ways around that. (...) That's an idea, although the data acquisition system primarily measures stress, (...) (24 years ago, 23-May-00, to lugnet.robotics.rcx.legos)
 
  Re: RTC
 
(...) Quick note about legOS: it is a replacement firmware for the Mindstorms, designed to allow you to write programs in C that run /on/ the robot itself. Not sure exactly what you mean by real-time, but I'm guessing that you mean something like (...) (24 years ago, 23-May-00, to lugnet.robotics.rcx.legos)
 
  Re: How do I delete firmware from firmware?
 
(...) [...snip...] (...) I defined the BYE word in h8hforth.asm according to Kekoa's comments and it works like a charm. The RCX is reset but doesn't turn off, so new firmware can be uploaded immediately. Ernst (24 years ago, 23-May-00, to lugnet.robotics.rcx.pbforth)
 
  RTC
 
Hello, I have a few questions about legOS, but I know absolutely nothing about it or about the Lego Mindstorms. I am involved in a project at my company to provide real time control of a robot (with one of our data aquisition systemes mounted on it) (...) (24 years ago, 23-May-00, to lugnet.robotics.rcx.legos)
 
  RE: How do I delete firmware from firmware?
 
(...) Here's a copy of what Kekoa replied with... This sounds correct. In C, this is how I do it: /* Delete the firmware */ *(char *)0xffcc = 1; (*(void (**)(void))0)(); Indeed, *(void (**)(void))0) is the reset vector, whose value is 0x03ae. 0xffcc (...) (24 years ago, 23-May-00, to lugnet.robotics.rcx.pbforth)
 
  Re: How do I delete firmware from firmware?
 
(...) Looking at forth code it looks like "HEX 3ae EXECUTE" might end up doing what we are talking about. I tried this with out getting what I expected. I will fiddle more but does the approach seems right? M_CODE(7,``"EXECUTE"...TE,_FLINK) MOV.W (...) (24 years ago, 23-May-00, to lugnet.robotics.rcx.pbforth)
 
  Re: Help with Terminal Emulator
 
(...) Ralph, The firmware and script uploads work great. I've gotten a good download each time. Thanks. I haven't yet tried the xmodem/save-system yet, but I'm just getting started. --Jerry (24 years ago, 23-May-00, to lugnet.robotics.rcx.pbforth)
 
  Re: Bug in HEX handling?
 
(...) Thanks. That helps. Case sensitivity is good but requiring upper case for hex is annoying. I suppose this is forth standard. That is one thing that I find annoying about forth, that most builtin words are upper case. It reveals the age of (...) (24 years ago, 23-May-00, to lugnet.robotics.rcx.pbforth)
 
  RE: Bug in HEX handling?
 
(...) If you use U. (unsigned dot) you will get FFFF. The "." is for signed numbers. (...) Yes it is, but pbForth is case sensitive. Cheers, Ralph Hempel - P.Eng ---...--- Check out pbFORTH for LEGO Mindstorms at: (URL) ---...--- Reply to: rhempel (...) (24 years ago, 23-May-00, to lugnet.robotics.rcx.pbforth)
 
  Bug in HEX handling?
 
HEX is not working the way I think it should in 1.1.1. Is this wrong or do I not understand something. This is 1.1.1 pbmax.srec. ok DECIMAL ok 65536 DUP . -1 ok HEX . -1 Why isn't this ffff? ok 300b 300b ? undefined word Isn't 300b a legal hex (...) (24 years ago, 23-May-00, to lugnet.robotics.rcx.pbforth)
 
  Re: random
 
What version are you using? I believe random/srandom are broken in all non-CVS versions of legOS. To get the CVS version, head to (URL) and follow the instructions on that page. Should work fine- I just tested the new random() two hours ago and it (...) (24 years ago, 22-May-00, to lugnet.robotics.rcx.legos)
 
  Re: NCQ and LegOS
 
(...) LegOS, yes. NQC, not as you'd probably like -- although you do get access to 32 register variables, and of course you can use the datalog. (...) With LegOS yes. With NQC and the original firmware, no. With the upcoming release of the new (...) (24 years ago, 22-May-00, to lugnet.robotics.rcx)
 
  random
 
Hi! Back again with more problems. I want to use random() in my programs and looking in stdlib.h it looks like it is implemented. It says: extern long int random(void); extern void srandom(unsigned int seed); When I didn't have stdlib.h included, I (...) (24 years ago, 22-May-00, to lugnet.robotics.rcx.legos)
 
  Re: NQC and rcx2
 
All the things I've tried work fine. The only thing I find confusing is the events and control of global objects. Could you try to explain how to set-up and use these features? James Dave Baum <dbaum@spambgoneenteract.com> wrote in message (...) (24 years ago, 22-May-00, to lugnet.robotics.rcx.nqc)
 
  NCQ and LegOS
 
I am a newcomer to the mindstorms world, and I have not progressed from programming in the programming environment supplied with the product. Before I start to think about NQC and LegOS, I would like to know a bit more about the added advantages. Do (...) (24 years ago, 22-May-00, to lugnet.robotics.rcx)
 
  RE: DJGPP/DOS legOS Howto
 
Long term, though, I'd like to put everything (or at least links to everything) in one place on sourceforge- it'll make it much easier for newbies. Of course, I suppose the HOWTO has to be the first step to that :( Luis (...) ---...--- "Going to (...) (24 years ago, 22-May-00, to lugnet.robotics.rcx.legos)
 
  Re: Robocup with Mindstorm/ legOS
 
(...) I recently held a Mindstorms competition and determined that battling robots was too difficult a task for the novice Mindstormer. I ended up doing a maze navigation competition. You can check out the results as well as rules format here: (URL) (...) (24 years ago, 22-May-00, to lugnet.robotics.rcx.legos)
 
  FW: pbForth Feedback
 
-----Original Message----- From: ian@dolphin.pst.cfmu...control.be [mailto:ian@dolphin....ontrol.be] On Behalf Of Ian Wild Sent: Monday, May 22, 2000 3:18 AM To: Ralph Hempel Subject: Re: pbForth Feedback (...) Indeed it did not. I've patched four (...) (24 years ago, 22-May-00, to lugnet.robotics.rcx.pbforth)
 
  Re: DJGPP/DOS legOS Howto
 
Sweet. Sorry about not figuring out the upload permission sooner. I'll try to figure things out tonight... Luis (...) ---...--- "Going to California with an aching in my heart. Someone told me there's a girl out there with love in her eyes and (...) (24 years ago, 22-May-00, to lugnet.robotics.rcx.legos)
 
  Re: Finally able to add asm forth words (long)
 
(...) Yep. But if I have two choices I will always steal from working code over documentation. I will always write code in C first and see what assembler the compiler creates, especialy on a new machine. Trust what already works. -- (...) (24 years ago, 22-May-00, to lugnet.robotics.rcx.pbforth)
 
  DJGPP/DOS legOS Howto
 
I've posted the howto for using the DJGPP port of GNU tools on a Windows system. It can be found here: (URL) (24 years ago, 22-May-00, to lugnet.robotics.rcx.legos)
 
  Taking the plunge
 
OK I'm about to nervously take the plunge. My code assembles and I'm about to push it off the cliff and see if it flies. If any one feels bored please feel free to review the following and make comments. Finding bugs by inspection is always easier. (...) (24 years ago, 22-May-00, to lugnet.robotics.rcx.pbforth)
 
  RE: Finally able to add asm forth words (long)
 
(...) Steve, You ARE using Kekoa's Internals document, right? Here's the part that describes the interrupt vector redirection. In fact, that's what I do for grabbing the OC1B interrupt for the servo control words... remember intercepting the (...) (24 years ago, 22-May-00, to lugnet.robotics.rcx.pbforth)
 
  Re: Finally able to add asm forth words.
 
(...) It puzzled me for quite a while until I realized that the output was in pbforth.s. Once I saw the results it was much easier. (...) I agree. I have no interest in supporting a varient. I'll hack until it seems to work and then pass it to you (...) (24 years ago, 22-May-00, to lugnet.robotics.rcx.pbforth)
 
  Re: Robocup with Mindstorm/ legOS
 
Hello Thorsten, (...) you can get some inspiration for example at: (13 URLs) (ROBOLAB Curriculum) (4 URLs) We wonder if there is a possibility to do (some kind of) robocup with (...) Last summer at IJCAI in Stockholm, there was a special category at (...) (24 years ago, 22-May-00, to lugnet.robotics.rcx.legos, lugnet.robotics.edu)
 
  Robocup with Mindstorm/ legOS
 
Hi all, I am working at the university of Bonn, Germany, and we're currently thinking about using MINDSTORM and legOS to teach younger students about robotics. We wonder if there is a possibility to do (some kind of) robocup with MINDSTORM. Has (...) (24 years ago, 22-May-00, to lugnet.robotics.rcx.legos)
 
  Re: NQC and rcx2
 
(...) I've been holding off using it until the features were final. Is there a doc with the new commands in place yet? Thanks for all your hard effort though. Dean -- Coin-Op's For Sale!: (URL) Lego Workshop: (URL) Lego Club: (URL) (24 years ago, 22-May-00, to lugnet.robotics.rcx.nqc)
 
  Re: NQC and rcx2
 
(...) I don't know about Lego's plan. As for NQC, there's been hardly any feedback (either positive or negative) on the alpha NQC release. That, plus the fact that I've been quite busy with other projects, has made NQC a fairly low priority since (...) (24 years ago, 22-May-00, to lugnet.robotics.rcx.nqc)
 
  RE: Finally able to add asm forth words.
 
(...) As they say (with a striaght face in the original C library) "Use the fork, Luke" I hope you didn't find the M4 stuff too much of a brain-bender. I'd be hard pressed to tell you how it works anymore... (...) Ummm, because the original hForth (...) (24 years ago, 22-May-00, to lugnet.robotics.rcx.pbforth)
 
  Finally able to add asm forth words.
 
Yeah!! After lots of reading and study and experimentation and suggestions from Ralph I finally added a new word to the .asm files. It was a simple word. I just cloned DUP under a different name. But it works. Now I am truely turned to the dark (...) (24 years ago, 22-May-00, to lugnet.robotics.rcx.pbforth)
 
  two compiler questions
 
Hey, Markus and everyone else- sorry to be cluttering all of your inboxes like I have today. I have two questions about the compilers: 1) How important is the interrupt patch? What functionality would I be losing if I don't have that patch? 2) What (...) (24 years ago, 21-May-00, to lugnet.robotics.rcx.legos)
 
  RE: pbForth gui
 
(...) Hmmm...this is a good alternative, the dialog would then point the user in the right direction, which is the rcxoption.tcl file. I like it. I could even do it when the com port could not be opened... (...) This is wierd. It works just fine on (...) (24 years ago, 21-May-00, to lugnet.robotics.rcx.pbforth)
 
  one quick thing
 
having been forced to look at the homepage for the first time in ages, I note that there are now "drivers for all RCX subsystems." I can't find anything with the temperature sensors, though. Am I correct in this? Or am I not doing a thorough enough (...) (24 years ago, 21-May-00, to lugnet.robotics.rcx.legos)
 
  Re: Very strange problems
 
(...) Ah, that's all right, happens to the best of us. :) I'll go back to my happy little preemptive world. -- "Our doubts are traitors, and make us lose the good we oft might win by fearing to attempt." - William Shakespeare Mike Ash - (URL), (...) (24 years ago, 21-May-00, to lugnet.robotics.rcx.legos)
 
  Re: Very strange problems
 
(...) I have not done large-scale "production" work with 0.2.x, really, so I may be vastly incorrect. Ah-hah. The legOS homepage (at least) indicates that you are correct. My fault for scaring people... sorry. Luis ---...--- "Going to California (...) (24 years ago, 21-May-00, to lugnet.robotics.rcx.legos)
 
  Re: Very strange problems
 
(...) Ack! I knew that it was cooperative in the 0.1.x series, but I had thought it was preemptive in 0.2.x. Drat. Well, I don't think it's a major problem for me, since I call msleep() religiously, but it's something to look into. Thanks. -- "Our (...) (24 years ago, 21-May-00, to lugnet.robotics.rcx.legos)
 
  Re: Very strange problems
 
(...) Just that it is not pre-emptive. If you don't msleep() at the appropriate places in your code, you'll never go back to the scheduler or the other threads. This can come as a surprise, since you'll only notice it when one thread never executes. (...) (24 years ago, 21-May-00, to lugnet.robotics.rcx.legos)
 
  Re: Very strange problems
 
(...) That seems very likely. (...) Great :). The complete rules for the tournament can be found on the course web page, which is linked from our page. Tobias (24 years ago, 21-May-00, to lugnet.robotics.rcx.legos)
 
  Re: Very strange problems
 
(...) Neural nets do similar things. Our class had some very interesting cheaters. I actually thought the students learned as much from watching their robots cheat as they did from any other single component, since figuring out the "cheating" forced (...) (24 years ago, 21-May-00, to lugnet.robotics.rcx.legos)
 
  NQC and rcx2
 
How are thing going on this Dave? and does anybody know when Lego plan to release the full version. (24 years ago, 21-May-00, to lugnet.robotics.rcx.nqc)
 
  Re: Very strange problems
 
(...) Probably movement since it is easier. Our fitness function may have to change once we see the result though. GA tends to give you individuals that cheat every chance they get :). (...) It will be found at (URL) Right now we have our (...) (24 years ago, 21-May-00, to lugnet.robotics.rcx.legos)
 
  Re: Very strange problems
 
(...) What sort of "issues" are these? Are you referring to the normal issues of multithreading (synchronization, deadlock, etc.), or specific legOS-related problems with it? I have a program that uses a decent amount of multithreading, and I'd hate (...) (24 years ago, 21-May-00, to lugnet.robotics.rcx.legos)
 
  Re: Very strange problems
 
(...) Redundancy is good :) (...) Good. It's generally solid, but can cause some issues from time to time. <snip lots of monkey talk :) > (...) Distance of movement or consistency (i.e. always forward) or both for fitness? Sounds really cool. Good (...) (24 years ago, 21-May-00, to lugnet.robotics.rcx.legos)
 
  Re: Very strange problems
 
(...) We have not done anything to ensure that whatever is transmitted is received correctly (i.e. without errors). What we have done is a build a system which will work even if one (or several) of the RCXs are temporarily blocked for some reason. (...) (24 years ago, 21-May-00, to lugnet.robotics.rcx.legos)
 
  Re: Very strange problems
 
(...) Argh. I was getting emulegos (which I was pretty familiar with) and legosim (which I though was C, not Java) confused. I'm afraid neither of them would be too easy to port to 0.2.x :( (...) Please make sure to share this with us! IR continues (...) (24 years ago, 21-May-00, to lugnet.robotics.rcx.legos)
 
  Re: Very strange problems
 
(...) I was afraid so. (...) We haven't reached the GA part yet. Right now the idea is to work out a communication protocol and then send a information back and fourth. And since the RCXs locked up we thought that there must be something wrong in (...) (24 years ago, 21-May-00, to lugnet.robotics.rcx.legos)
 
  Re: Very strange problems
 
(...) IIRC, it is 0.1.7, which used a completely different setup for the IR communication. (...) Unfortunately, no. (...) You mean, unmodified? No, I don't think. I've seen lots of code that worked, and then got "simplified" and then stopped (...) (24 years ago, 21-May-00, to lugnet.robotics.rcx.legos)
 
  Re: Very strange problems
 
(...) It seems that emulegos should be able to handle IR. However, it does not use the lnp-functions that I use, so I presume it is designed to work with an earlier version of legOS. Were earlier versions of legOS (I use version 0.2.3) less likely (...) (24 years ago, 21-May-00, to lugnet.robotics.rcx.legos)
 
  Re: Very strange problems
 
(...) I will hopefully clean up and release some of it by Wednesday. (...) I'm not sure- I don't think so, though. Someone else here may be able to answer that much better than I can. Luis ---...--- "Going to California with an aching in my heart. (...) (24 years ago, 21-May-00, to lugnet.robotics.rcx.legos)
 
  Re: Very strange problems
 
(...) Is this neural network code made public? I have emulegos, but I havn't much more than started it up. Do you know if it can handle IR-communication between several RCXs? Tobias (24 years ago, 21-May-00, to lugnet.robotics.rcx.legos)
 
  Re: Very strange problems
 
(...) Yes. We ran into similar problems when writing neural network code. Persist- you can write really cool stuff on legOS- we did. Also, emulegos (which is still around somewhere, though I'm not sure if anyone has ported it to 0.2.x) would (...) (24 years ago, 21-May-00, to lugnet.robotics.rcx.legos)
 
  Re: Very strange problems
 
(...) That is really bad news. Since we are writing a genetic programming system with six RCXs involved that communicate with each other, the programs tend to get pretty long. Often things fail. Right now I have the problem that if I save a program (...) (24 years ago, 21-May-00, to lugnet.robotics.rcx.legos)
 
  Re: Very strange problems
 
(...) As far as I can tell, legOS has some really strange bugs. I've learned to take it for granted that some programs (without warning) will just crash and lock up the machine. This is unfortunate, but I've never found a pattern to them so there is (...) (24 years ago, 21-May-00, to lugnet.robotics.rcx.legos)
 
  Re: lnp communication question
 
(...) lnp does a checksum and throws away bad data. I think it is a 1 byte checksum so 1 out of 256 errors gets through anyway. There is no retry so timeout and retry has to be handled by some higher level code. (24 years ago, 21-May-00, to lugnet.robotics.rcx.legos)
 
  Very strange problems
 
Hi! I am experiencing some very strange problems when programming my RCX. Sometimes (too often) the RCX just locks up when I run my program and I have to remove the batteries and reload the firmware. I have now found that very small changes in my (...) (24 years ago, 21-May-00, to lugnet.robotics.rcx.legos)
 
  RE: Help with Terminal Emulator
 
(...) I have run into this too, Jerry. A few especially bothersome noise sources include video cameras, security systems, and remote controls. You might consider covering the RCX and tower with a box or towel... I'm glad the terminal emulator works (...) (24 years ago, 21-May-00, to lugnet.robotics.rcx.pbforth)
 
  Re: Help with Terminal Emulator
 
I think my problem is bounce back noise. I doubled checked the port settings, started with a fresh set of batteries, made sure I had a clear buffer, but what made the difference is where I am doing my programming. I'm working off of a laptop, and (...) (24 years ago, 20-May-00, to lugnet.robotics.rcx.pbforth)
 
  arbitrary motor code
 
Did anyone ever write the wrapper to allow motor_dir(motor_label x, MotorDirection dir) or some such? There was a variant of it way, way back (0.1.5?) but I don't see anything like it in the current CVS code. Anyone? Anyone? -Luis ---...--- "Going (...) (24 years ago, 20-May-00, to lugnet.robotics.rcx.legos)
 
  Re: lnp communication question
 
(...) Ok, this brings up more questions :). I have never had any problems with errors when sending messages. Sometimes the message is not recieved but when it is, I have never seen any errors in the transmission. Am I missing your point? Second, (...) (24 years ago, 20-May-00, to lugnet.robotics.rcx.legos)
 
  Re: IR communication PC <-> brick with NQC
 
(...) The RCX uses a special packet protocol which involes a lot of binary (non-ASCII) bytes, so controlling it with Hyperterminal won't work very well. Your best bet is to either write your own code to send the packets of the serial port or just (...) (24 years ago, 20-May-00, to lugnet.robotics.rcx.nqc)
 
  Re: Is there a compatible h8 assembler for forth words?
 
(...) A good rule. I just know I'm going to need fast so I am planning ahead. Somehow I'm usually at the bleeding edge of trying to squeeze everything possible out of limited hardware. I originally learned my Forth on a 68000 (Mac Forth on the (...) (24 years ago, 20-May-00, to lugnet.robotics.rcx.pbforth)
 
  RE: Is there a compatible h8 assembler for forth words?
 
(...) No there is not. That being said, it's pretty easy to write one...if you have the time. I fiddled around with it a bit and then gave up since the GNU tools worked pretty quick. It was strictly a time/value exchange. From bitter experience, (...) (24 years ago, 19-May-00, to lugnet.robotics.rcx.pbforth)
 
  Re: Is there a compatible h8 assembler for forth words?
 
(...) I don't think this is clear. I ment an assembler written in pbforth that can create assembler defined words in the RCX (24 years ago, 19-May-00, to lugnet.robotics.rcx.pbforth)
 
  Is there a compatible h8 assembler for forth words?
 
I asked this once before but in the middle of an unrelated email so the question got lost. (24 years ago, 19-May-00, to lugnet.robotics.rcx.pbforth)
 
  DJGPP GNU cross compiler tools
 
It looks like my ISP has changed their policy about anonymous ftp and now allow it. I've placed the DJGPP port of the GNU tools on my website here: (URL) It's a 5 meg download. Please let me know if you have any problems downloading this file. I (...) (24 years ago, 19-May-00, to lugnet.robotics.rcx.legos)
 
  RE: hforth register usage
 
(...) Right. If you look at the beginning of h8hforth.asm, I've abstracted the actual register names so I could move them around....here's the snippet from the file... ; The H8/300 Forth machine register usage has to be closely intertwined with ; (...) (24 years ago, 19-May-00, to lugnet.robotics.rcx.pbforth)
 
  Re: We need a FULL install of everything!
 
On Thu, 18 May 2000 18:00:11 GMT, "Matt McDevitt" <maktos@maktos.com> wrote: <snip> I aggree fully with your statement Matt. I've tried to install LegOS several times and i always failed because of lack of time (and of course lack of knowledge <s>). (...) (24 years ago, 19-May-00, to lugnet.robotics.rcx.legos)


Next Page:  5 more | 10 more | 20 more | 100 more

Redisplay Messages:  All | Compact

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR