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 / *2299 (-40)
  Re: RFC: Creation of Version 0.2.6
 
(...) How about msOS (for MindstormsOS)? Oh, wait, we'd probably have Bill on our tails with that one... ROSCO (23 years ago, 11-Feb-02, to lugnet.robotics.rcx.legos)
 
  Re: RFC: Creation of Version 0.2.6
 
It is a shame that the name legOS can not be kept. I think it describes the software perfectly. And if it can't be used in the future (which I suggest some begging and pleading here) I would have a name that has OS in it to best describe it. For (...) (23 years ago, 11-Feb-02, to lugnet.robotics.rcx.legos)
 
  maths libraries and LPS
 
I am new to this newsgroup, so I hope I am not repeating information - I cannot find the solution to this from a search. I am porting a small maths library to the Lego brick at the moment (cos, sin, tan, sinh, cosh, tanh, acos, asin, atan, sqrt, (...) (23 years ago, 11-Feb-02, to lugnet.robotics.rcx.legos)
 
  multiplexor patch posted
 
I've posted the multiplexor patch under the patches secetion of the legOS project at sourceforge. (URL) you can't follow that link just go to (URL) then follow the patches link and look for the multiplexor patch. If you improve upon it post the (...) (23 years ago, 10-Feb-02, to lugnet.robotics.rcx.legos)
 
  Re: RFC: Creation of Version 0.2.6
 
"Michael Obenland" <obenland@t-online.de> wrote in message news:GrBqw5.KL4@lugnet.com... (...) A recursive acronym in the GNU style? KNEBL: KNEBL's Not Endorsed By Lego or snebl, fnebl... Should keep 'em happy :) Tim (23 years ago, 10-Feb-02, to lugnet.robotics.rcx.legos)
 
  Re: multiplexor and legOS
 
(...) Sort of. Try Sourceforge ((URL) is on the "Patches" page (just click on the "Submit New" link). Great Job!! I am looking forward to be able to use the multiplexer finally! I've successfully added the "priority interrupt" patch to legOS 0.2.5 (...) (23 years ago, 10-Feb-02, to lugnet.robotics.rcx.legos)
 
  Re: RFC: Creation of Version 0.2.6
 
(...) That was not the cause for my RFC. You do a wonderful job! And legOS does it as well. No real overwhelming cause for doing a new release. (...) Well, not really. I wold favour other solutions first: - if you can go on with legOS-maintainance - (...) (23 years ago, 10-Feb-02, to lugnet.robotics.rcx.legos)
 
  linux USB driver.
 
For anyone who want's it, I have a linux USB driver for the lego IR tower. If anyone is interested, the tar ball of driver and pathces to nqc and legOS can be found at: (URL) am hoping to reconsile my driver with the version that was being worked (...) (23 years ago, 10-Feb-02, to lugnet.robotics.rcx.legos)  
 
  Re: multiplexor and legOS
 
I'm happy to report that after writing the multiplexor driver at the kernel level it's working! I'll post a patch soon once I've got it cleaned up a little bit. It looks like the problem was with the legOS power/read cycle in ds_handler. Once I took (...) (23 years ago, 10-Feb-02, to lugnet.robotics.rcx.legos)
 
  Re: RFC: Creation of Version 0.2.6
 
It appears that the time has come for 0.2.6; it has been more than 18 months now since 0.2.5. I still lurk here, but my work with Free Software has consumed my time- even when I'm not paid, I'm pretty much a slave to bugzilla.gnome.org and (...) (23 years ago, 9-Feb-02, to lugnet.robotics.rcx.legos)
 
  RFC: Creation of Version 0.2.6
 
I think it would be a very good idea to incorporate the prio-patch to legOS. But there seem to be a lot of patches and enhancements for 0.2.5. Personally, I use the remote control patch from Zhenrong Zang. And there is the TCP/IP system... Any more (...) (23 years ago, 9-Feb-02, to lugnet.robotics.rcx.legos)
 
  Priority Interrupt Patch and legOS-0.2.5
 
We are gathered here to witness the union of priointerrupt-patch.diff and legOS-0.2.5. If anyone has just cause why these two should not be wed may they speak now or forever hold their peace. Robert Templeton (23 years ago, 8-Feb-02, to lugnet.robotics.rcx.legos)
 
  Re: multiplexor and legOS
 
Still no luck in getting the mux working properly. I tried making use of the code for turning sensors on and off but later realized that the ds_handler code would still be turning the sensor off as part of its normal operation. I think I'm going to (...) (23 years ago, 7-Feb-02, to lugnet.robotics.rcx.legos)
 
  Real time operating system resources
 
Now that my interest has been piqued by the multiplexer problem (and sensing problem in general), what would some of you hardened embedded/real-time system veterans recommend for reading on the subject. Two books that I've found at Amazon.com are (...) (23 years ago, 6-Feb-02, to lugnet.robotics.rcx.legos)
 
  Re: multiplexor and legOS
 
(...) I'm just checking this thing out. You can look at: (URL) more information. Unfortunately, I got the .ps description file but not the source code patch file. A mail asking for it is on it's way ;) Mike (23 years ago, 5-Feb-02, to lugnet.robotics.rcx.legos)
 
  Re: multiplexor and legOS
 
(...) Actually, something like this has been documented and done by Pedersen, Christensen, Rasmussen ("Prioritized Interrupts in LegOS"). They actually document the problem of sensor misses related to task management, significantly reducing the (...) (23 years ago, 5-Feb-02, to lugnet.robotics.rcx.legos)
 
  Re: multiplexor and legOS
 
(...) Most people's legOS kernels will be compiled so msleep uses wait_event. I haven't looked at the code, but my understanding of how wait_event works is that whenever that thread becomes eligible to execute, your even function is called. (...) (23 years ago, 5-Feb-02, to lugnet.robotics.rcx.legos)
 
  Re: multiplexor and legOS
 
Try the following code fragments. [Change to fixed spacing font so that it reads easily.] You should be able to find what you need. "Mark Falco" <> wrote in message news:Gr1MBL.Dop@lugnet.com... (...) <<..snip..>> (...) These are code fragment for (...) (23 years ago, 5-Feb-02, to lugnet.robotics.rcx.legos)
 
  Re: multiplexor and legOS
 
Ok, my last port didn't make much sense let me try that again. for an active sensor ds_handler will periodically power the sensor off to read the value. The standard firmware does this to but at a different interval. I'm wondering if this is part of (...) (23 years ago, 5-Feb-02, to lugnet.robotics.rcx.legos)
 
  Re: multiplexor and legOS
 
Since I'm now fairly sure that i've got the timing taken care of I'm wondering if the power cycling that ds_handler does is somehow causing the problem? I thought I might take control of this stuff in my test code. I assume if I set the sensor for (...) (23 years ago, 5-Feb-02, to lugnet.robotics.rcx.legos)
 
  Re: multiplexor and legOS
 
(...) It looks like the semaphore task_sm should prevent another task from being scheduled if I hold it for the length of the train. I've now tried this as well as incresing the timeslice to 100ms. It looks better but still is not consistent. Since (...) (23 years ago, 5-Feb-02, to lugnet.robotics.rcx.legos)
 
  Re: multiplexor and legOS
 
(...) Not bad. But as you say, still vulnerable to the task switching problem. (...) Instead of resorting to that, maybe there is a way to freeze task switching during critical operations. When I owned and programmed the AmigaOS (don't laugh :), (...) (23 years ago, 5-Feb-02, to lugnet.robotics.rcx.legos)
 
  Re: multiplexor and legOS
 
#include <sys/time.h> void systime_set_timeslice (unsigned char slice); include/sys/time.h:43-45: #ifdef CONF_TM #define TM_DEFAULT_SLICE 20 file://!< default multitasking timeslice #endif hope that helps, Albert "Michael J Ash" (...) (23 years ago, 4-Feb-02, to lugnet.robotics.rcx.legos)
 
  Re: multiplexor and legOS
 
(...) I agree about the cause for the msleep granularity, I'd seen the same stuff in tm and assumed that would cause the problem. Sorry my last note was a little unclear, I tried msleep and delay but am now using my own function which seems to (...) (23 years ago, 4-Feb-02, to lugnet.robotics.rcx.legos)
 
  Re: multiplexor and legOS
 
(...) I don't know about this 20ms granularity and how delay() is going to be any better. Here's the code for each function: //! delay execution allowing other tasks to run. /*! \param msec sleep duration in milliseconds \return number of (...) (23 years ago, 4-Feb-02, to lugnet.robotics.rcx.legos)
 
  Re: multiplexor and legOS
 
(...) Thanks, I'd suspected that msleep might not be very accurate but never considered that it's true granularity could be so large. I did a quick test with my current configuration and when I asked msleep to sleep for 12ms it slept for 20. This (...) (23 years ago, 4-Feb-02, to lugnet.robotics.rcx.legos)
 
  Re: true tcp/ip on the RCX
 
(...) The C64 server survived the "Slashdot attack" without problems, even though it served tenths of thousands of pages over a period of only a few hours. Since it is configured to allow only 10 simultaneous connections, it could more or less serve (...) (23 years ago, 4-Feb-02, to lugnet.robotics.rcx.legos)
 
  Re: multiplexor and legOS
 
(...) Don't ask me for a cite, but I seem to remember something about msleep only having 20ms granularity. If that's the case, your msleep(10) is either not sleeping at all or is sleeping 20ms, either one of which could cause problems. I'd suggest (...) (23 years ago, 4-Feb-02, to lugnet.robotics.rcx.legos)
 
  Re: multiplexor and legOS
 
well anyone who looked at the code I attached may have notcied that I had one of the msleeps commented out. Oops, with this now uncommented I at least see the second and third light sensors pulse on, but only for an extremely short time. Suring the (...) (23 years ago, 3-Feb-02, to lugnet.robotics.rcx.legos)
 
  multiplexor and legOS
 
Does anyone have expierence using the active multiplexor sold by www.mindsensors.com with legOS? If you are not farmiluar with this multiplexor it is really cool as it lets you multiplex three active sensors on one port. You tell the mux which "sub" (...) (23 years ago, 2-Feb-02, to lugnet.robotics.rcx.legos)
 
  Re: "Local Positioning System" for lego-vehicles with mice
 
Hi, if you are interested : sources now available (URL) (23 years ago, 2-Feb-02, to lugnet.robotics.rcx.legos)
 
  LNP + USB under windows
 
Hi, has anybody experience in communicating with the RCX over USB (Windows)? So far I managed to get legOS working with the USB-patch from Jin Sato; then I tried to use winLNP, but it didn't work (the light in the tower is not blinking) Now I'm (...) (23 years ago, 1-Feb-02, to lugnet.robotics.rcx.legos)
 
  Re: true tcp/ip on the RCX
 
Ok, the website is up at: (URL) Christ (23 years ago, 2-Feb-02, to lugnet.robotics.rcx.legos)
 
  Re: true tcp/ip on the RCX
 
Cool stuff, congrats on the Slashdot recognition. Hope the "Slashdot Effect" didn't totally cripple your server. Wondering if you or Olaf could make the LegOS code available for all to see, just wondering how it was all done for educational purposes (...) (23 years ago, 1-Feb-02, to lugnet.robotics.rcx.legos)
 
  Re: true tcp/ip on the RCX
 
(...) [...] (...) A few days ago, Olaf sent me his legOS TCP/IP code which I have been running a few days, so I probably have the world's second TCP/IP-enabled Lego brick in my office :-) ! I was also able to squeeze in a simple web server, a few (...) (23 years ago, 1-Feb-02, to lugnet.robotics.rcx.legos)
 
  "Local Positioning System" for lego-vehicles with mice
 
Hello NG, i try to develop something like a local position system with a optical RF mouse (or other mouse-devices). If someone want to join or help for this little project please mail me. A very first result you can see at (URL) (23 years ago, 1-Feb-02, to lugnet.robotics.rcx.legos)
 
  Integer-based arctangent2 function for anyone interested
 
After scouring the internet for several days and even utilizing Jack Crenshaw's wonderful book "Math Toolkit for Real-time Programming", I was unable to find a good, general iatan2(y,x) function. Note that this is the atan function that takes as (...) (23 years ago, 31-Jan-02, to lugnet.robotics.rcx.legos)
 
  Errors compiling egcs
 
Hi, I've just downloaded and attempted to install the binutils, egcs, and LegOs on my computer as per the instructions at (URL) only difference between these instructions and what I have done is the path to where the software is to be installed. (...) (23 years ago, 31-Jan-02, to lugnet.robotics.rcx.legos)
 
  Re: which Linux distro?
 
(...) Good Idea ! I had no problem using legOS when using a RedHat 7.1, Mandrake8 or a Conectiva 6.0, As far as I remember, there is a Debian package available for legOS. So... no matter which distribution you'll use, it will be far better than (...) (23 years ago, 31-Jan-02, to lugnet.robotics.rcx.legos)
 
  which Linux distro?
 
Hi, I am thinking of moving over to Linux, partly for legOS reasons (Lnp easier to set up for a start), but partly for other reasons (free software, morality etc, ie the usual waffle.) I am considering Redhat 7.2, Suse 7.3 personal or Suse 7.3 (...) (23 years ago, 31-Jan-02, 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