To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / *739 (-40)
  Re: legOS documentation
 
(...) Not many, I just begun to think about it. My first idea is to have a site where people could get in and write notes, comments or ideas aboiut each API or module. And have a small team that will gather all the information and write it down in a (...) (25 years ago, 28-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: legOS documentation
 
(...) Hello Vlad, maybe i could help a little, do you have any ideas about the actual format and how we could organize things ? BTW, is seems to be impossible to email you directly -- is that intentionally ? --Martin (25 years ago, 28-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: legOS documentation
 
Vlad (...) Yes I am interested in there being some documentation. Unfortunately I am just starting out with legOS so will not be able to help at present. Hopefully in the next few months I will be up to speed and would be more than happy to help (...) (25 years ago, 28-Jan-00, to lugnet.robotics.rcx.legos)
 
  legOS documentation
 
Hi! Just my 2-pence thoughts about the topic... I suppose nobody will argue with me that legOS isn't well documented, as it is now. Considering that legOS is still rather user-unfriendly, documentation is very important. someone said Markus is (...) (25 years ago, 28-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: legOS timers
 
Why don't you use the system timer (sys_time)? With one timer is enough. Use relative times instead of absolute timers... Toni Vlad Dumitrescu <vladdu@NOSPAM.hotmail.com> wrote in message news:Fp1BJI.E4M@lugnet.com... (...) timers? (...) handlers (...) (25 years ago, 28-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: legOS timers
 
(...) Mmm, yes. I was thinking about things like SetTimer and GetTimer, so that wakeup handlers can be used... as things are now (if I am not wrong) one has to directly work with the ROM... /Vlad (25 years ago, 28-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: legOS timers
 
(...) You nicer than msleep() and sleep()? --Ben (25 years ago, 28-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: LegOS does not work on 1.5 RCX
 
Before anyone replies to my previous message, found the problem. I have a light over my desk and this was interfering with the IR transmission. Turned the light off and moved the RCX a little closer to the tower and hey presto, all OK. Does legOS (...) (25 years ago, 27-Jan-00, to lugnet.robotics.rcx.legos)
 
  LegOS does not work on 1.5 RCX
 
Hi I installed the win version of legOS and downloaded the firmware legOS.srec to both my RCX's. The older RCX from a 1.0 set seems to accept .lx files OK the first time after the firmware is downloaded. The new version will not accept any .lx (...) (25 years ago, 27-Jan-00, to lugnet.robotics.rcx.legos)
 
  more on the rotation sensor
 
I did some more experiments last night. My conclusion is that the majority of apparent 2-state transitions never actually occur (that is: the sensor does not actually travel through 2 states between two consecutive sensor readings). The order of the (...) (25 years ago, 27-Jan-00, to lugnet.robotics.rcx.legos)
 
  legOS timers
 
Hi! Did anyone write any 'nicer' wrapper functions for handling the RCX timers? Or am I blind and can't find them? 8^) /Vlad (25 years ago, 27-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: Light sensors
 
(...) more light and is working.... Erm... it isn't really working - it exhibits the same 'inverted' behaviour, looking for a white line on a black background... /Vlad (25 years ago, 27-Jan-00, to lugnet.robotics.rcx.legos)
 
  Light sensors
 
Hi! Maybe this is obvious for all experienced legOS users - I am displaying the values read from the light sensor on the LCD, and I get values of ~30 for light and ~520 for darkness... This seems very strange - is it the display wrong, or are these (...) (25 years ago, 27-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: Firmware startup bug?
 
I have replaced my batteries without erasing the firware several times. The trick is replacing the batteries one at a time with the brick turned off. You have then several (10 or so) seconds between each replace. If you leave the brick switched on (...) (25 years ago, 27-Jan-00, to lugnet.robotics.rcx.legos)
 
  Firmware startup bug?
 
Probably related to the garbage on the lcd that you get when turning off the RCX with a sensor active: if there is a light or rotation sensor or a pressed touch sensor connected to the RCX when you download firmware legOS will crash immediately (...) (25 years ago, 27-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: rotation sensor mystery solved?
 
(...) That's one of the reasons I got mine. I was trying to make a simple balancer when I built the pendulum I described (with 4.5 degree accuracy). There were a lot of problems with my mechanism, but the overriding problem was that the 0 point (...) (25 years ago, 26-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: rotation sensor mystery solved?
 
(...) which (...) I added code to assume that 2 step transitions were 2 steps in the last known direction of travel. The results were MUCH worse than just ignoring those steps, as the current code does. This seems to suggest that the 2-step (...) (25 years ago, 26-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: rotation sensor mystery solved?
 
(...) I got a letter two days ago indicating that the two rotation sensors I ordered the first week in January are nicely on backorder and will ship in a month or so. This is similar to what I was told on the phone when I ordered them from Shop and (...) (25 years ago, 26-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: rotation sensor mystery solved?
 
(...) I tried hacking something like this into the old rotation sensor code, and it didn't go real smoothly, but is definitely a necessity (I think) if you want the sensor to handle very, very high speed apps. (...) I am. I'm almost tempted to steal (...) (25 years ago, 26-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: rotation sensor mystery solved?
 
(...) What exactly do you intend here, Martin? I spent quite some time working on this over the summer and in the fall, and had a great deal of problems but also some success. I'd be happy to help you out with my experiences if you have some idea (...) (25 years ago, 26-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: rotation sensor mystery solved?
 
(...) It is very very interesting. I have worked the last weeks evenings to discover the fault in my concept, my modell and my Software. and I have discovered, that the fault can't be on my side. I discovered that my implementation of a fake (...) (25 years ago, 26-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: rotation sensor mystery solved?
 
(...) Hi Ben, i think that's very interesting work you're doing, especially because i'd like to build sophisticated balancing bots, and already got 2 rotation sensors from lego world shop for this reason. I'm currently not actively working on that, (...) (25 years ago, 26-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: rotation sensor mystery solved?
 
I put in some debug code to catch rotations which skip a state (transitions like 3->1 or 0->2) which the legOS table `diff2change' currently translates to 0 steps (because we can't be sure whether that was 2 steps forward or 2 steps back). These (...) (25 years ago, 26-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: sending keepalive... ???
 
Hi Rossz (...) Yes, I downloaded the legOS.srec on top of the existing Lego firmware and some programs. When you download the legOS firmware will anything currently in RAM be deleted? I'll try taking the batteries out for a while and starting again. (...) (25 years ago, 26-Jan-00, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos)
 
  Bug in WinlegOS installer
 
In my rush to get the package released I made "one more insignificant change". This resulted in a bad path setting being placed in the autoexec.bat file. At the end of the install skip rebooting and open autoexec.bat in the editor. The installer (...) (25 years ago, 26-Jan-00, to lugnet.robotics.rcx.legos, lugnet.robotics.rcx)
 
  Re: more user questions
 
Thanks, your directions worked perfectly. (...) Originally, the line appended to autoexec.bat was (something like): set path=set path=c:\LEGOS\H8\BIN...ath%%path% which I altered to: set path=c:\LEGOS\H8\BIN...BIN;%path% (25 years ago, 26-Jan-00, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos)
 
  Re: rotation sensor mystery solved?
 
(...) old (...) The version I posted works with all cable lengths and battery strengths I have access to. I just extended the range of each state a bit toward the low battery end of the scale. --Ben (25 years ago, 26-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: more user questions
 
A general note, there is a README.WRI file. This includes information beyond what Markus originally wrote in README. Perhaps I should have deleted his README (I include it in README.WRI, anyway). Open your copy of MAKEFILE. You'll find this line: (...) (25 years ago, 25-Jan-00, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos)
 
  Re: sending keepalive... ???
 
(...) If the readme file says the demo LX files are included, that is a mistake (or should I include them?). I'll have to correct it. As for your download problem, did you download the firmware first (firmdl3 legOS.srec)? LX files are relocatible (...) (25 years ago, 25-Jan-00, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos)
 
  more user questions
 
I too have had my problems with this system. Perhaps they come from my inexperience with LEGOS or UNIX, which doubtless is apparent in my description below: Downloading and installing went well. Then, after correcting a minor SET PATH syntax error (...) (25 years ago, 25-Jan-00, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos)
 
  sending keepalive... ???
 
Hi You go to all the hassle of making LegOS available for us Windows users and still we have questions. I'm really struggling and can not find anything in the docs or Lugnet to help (that I understand) and so I would really apreciate some help. I (...) (25 years ago, 25-Jan-00, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos)
 
  Re: legOS for Windows
 
Install ActivePerl ((URL) switch to the boot directory, and type MAKE. That's it. What you can't build with this package are the various command line tools (makelx.exe, firmdl3.exe, dll.exe), nor the cross compiler. Rossz (...) (25 years ago, 25-Jan-00, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos)
 
  Re: rotation sensor mystery solved?
 
(...) Will this version also work with fresh batteries and short cable, or do we have to change tables depending on the battery state ? (25 years ago, 25-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: Trying to understand dynamic loading
 
(...) AFAIK, Markus is currently writing a new O'Reilly book about Mindstorms systems, which will cover legOS quite detailed. I also guess there will arise some up-to-date online documentation from this project. - Martin (25 years ago, 25-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: rotation sensor mystery solved?
 
(...) When I wrote my original post I was afraid that major surgery was going to be required to fix this. The values with an extension wire are actually shifted into formerly invalid slots which are contiguous with the existing state groups. So the (...) (25 years ago, 25-Jan-00, to lugnet.robotics.rcx.legos)
 
  rotation sensor mystery solved?
 
I was getting very erratic readings from a rotation sensor (if I put a pendulum on it and moved it back and forth the 0 position would wander all over the place). I started looking at the raw values from the sensor and comparing them with what the (...) (25 years ago, 25-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: Trying to understand dynamic loading
 
Thank you all for the help. Now I can see things much better! Now that the Windows version finally works, I will be able to experiment a little... A thought: IMHO, one of the things that should be very high on the "to do" list is documenting legOS. (...) (25 years ago, 25-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: legOS for Windows
 
(...) Yes, I tested it and it worked on my Win98! Great work!! Thanks! (...) Do you mean that the kernel can be rebuild on Windows? Which parts/utilities cannot be rebuilt? best regards, Vlad (25 years ago, 25-Jan-00, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos)
 
  legOS for Windows
 
For those of you overwhelmed by the work involved to get a viable legOS developement system on the Windows OS, legOS for Windows is now available. If you only wish to write dynamic downloadable programs for the RCX, this package is all you need. If (...) (25 years ago, 24-Jan-00, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos)
 
  Re: legOS for Windows Finished!
 
(URL) I haven't tested it myself, but WinlegOS 0.2.3 is now online. Many thanks are clearly due to Rossz for making this happen. If someone wants to volunteer to write up a quick description of it's use, let me know, and I'll post that along with (...) (25 years ago, 24-Jan-00, to lugnet.robotics.rcx.legos)


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

Redisplay Messages:  All | Compact

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