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 / *424 (-20)
  LegOS newbie wants more info.
 
Hi everyone. I just got my Robotics Invention System 2 weeks ago and decided to not even try the Lego software. I also just got the O'Reilly book in the mail. I have been able to compile LegOS 0.2.0a and download firmare & demo programs. Can someone (...) (25 years ago, 29-Oct-99, to lugnet.robotics.rcx.legos)
 
  Re: fast firmware downloader
 
(...) I'm willing to cover the DOS port since I'm working on a DOS->RCX comm project already. I already have my HP LX200 doing minimal comm with the RCX with hopes of having it ride alongside as a computational component. -Wes Matchett (25 years ago, 28-Oct-99, to lugnet.robotics.rcx.legos, lugnet.robotics.rcx, lugnet.robotics.rcx.pbforth)
 
  Re: fast firmware downloader
 
(...) I'll start by pulling the 4x code into the NQC source base. That should make it trivial to build a stand-alone command line based downloader for Win32 (95/nt/98), Linux, Solaris, and Mac 68k/ppc under MPW. We could also get Win3.1 and DOS (...) (25 years ago, 28-Oct-99, to lugnet.robotics.rcx.legos, lugnet.robotics.rcx, lugnet.robotics.rcx.pbforth)
 
  Re: legOS limitation
 
Hi Colin, (...) The one task per priority level requirement is gone at least since March. There is a priority chain mechanism now, with round-robin scheduling within a priority level. (...) Yes, a task won't die while higher-priority tasks are (...) (25 years ago, 27-Oct-99, to lugnet.robotics.rcx.legos)
 
  Re: IR questinos and more
 
Hi Sergey, (...) if you intend only to transmit, you may just disable receiving altogether. (...) for an axle. yes, angle=rotation. (...) using the rotation sensor. otherwise, slippage may occur. night, markus. (25 years ago, 27-Oct-99, to lugnet.robotics.rcx.legos)
 
  Re: LegOS 0.2.0a multi-threading problem
 
(...) I'd say this is the way to leave it, since it seems to be how you meant it in the first place. It's just very annoying to take out the batteries if ON/OFF is pressed by mistake while something is running. (...) Don't know, I've never used (...) (25 years ago, 27-Oct-99, to lugnet.robotics.rcx.legos)
 
  legOS limitation
 
Hey, this is a small but frustrating one. This is in legOS 1.7 but I beleive it will still be in 2.0 as it's caused by the 1 priority to a task requirement. If you write code like the following: while(1){ wait(for something); kill(t1); t1 = (...) (25 years ago, 27-Oct-99, to lugnet.robotics.rcx.legos)
 
  Re: LegOS 0.2.0a multi-threading problem
 
(...) If ON/OFF is desired while programs run, just drop the if. If ON/OFF isn't to work while programs run, it has to be this: if(nb_tasks<=3) { killall(PRIO_HIGHEST); return 0; // killall doesn't kill self } break; What does standard firmware do? (...) (25 years ago, 27-Oct-99, to lugnet.robotics.rcx.legos)
 
  Re: LegOS 0.2.0a multi-threading problem
 
(...) Following up to myself, but here's the error (kernel/program/.c) lines 255-260: case KEY_ONOFF: // works only if no programs are running. if(nb_tasks<=3) { killall(PRIO_HIGHEST); } return 0; ^^^^ This should be 'break'. The way the code is (...) (25 years ago, 27-Oct-99, to lugnet.robotics.rcx.legos)
 
  IR questinos and more
 
Hi All. I'm trying to build an IR proximity sensor with LegOS, by using the on-board transmitter and light sensor. I'm having problems figuring out how to send data, however. I tried using lnp_logical_write(), but 'cu -l /dev/ttyS0' doesn't show any (...) (25 years ago, 27-Oct-99, to lugnet.robotics.rcx.legos)
 
  Re: LegOS 0.2.0a multi-threading problem
 
(...) That would be nice, actually. I have only one problem with stability - every once in a while, the "Run" key stops working, and all the other keys as well (don't remember exactly, but I think that's how it is). The program keeps running (...) (25 years ago, 27-Oct-99, to lugnet.robotics.rcx.legos)
 
  RE: fast firmware downloader
 
(...) Count me in. I'm ditching the Tcl interface - it's just too damn goofy! A standard firmware downloader would be great - especially if it ran on all platforms. As far As I know, Dave Baum is the only guy here who has got a downloader for the (...) (25 years ago, 27-Oct-99, to lugnet.robotics.rcx.legos, lugnet.robotics.rcx, lugnet.robotics.rcx.pbforth)
 
  Re: fast firmware downloader
 
(...) If there's interest in a stand-alone firmware downloader running on the Mac, please let me know. I can certainly add the approriate quad-speed stuff into NQC, and can also make a stand-alone version if Mac users are using pbFORTH or something (...) (25 years ago, 27-Oct-99, to lugnet.robotics.rcx.legos, lugnet.robotics.rcx)
 
  Re: LegOS 0.2.0a multi-threading problem
 
Hi, yes, currently, you'll have to make main() your first function. version 0.2.1 will support arbitrary starting offsets. could you report about the stability of repeated program runs? if this works fine, I'll change the ON/OFF behaviour to (...) (25 years ago, 26-Oct-99, to lugnet.robotics.rcx.legos)
 
  Re: LegOS 0.2.0a multi-threading problem
 
(...) [snip] Heh. I've spent 2 days on this, so I know how you feel :). main() must be the first function in your source file, otherwise really weird stuff happens. -- Regards, Modemch (25 years ago, 25-Oct-99, to lugnet.robotics.rcx.legos)
 
  Re: H8 tools problems on Linux
 
(...) Hi! I got the precompiled tools from the LegOS page, tried with both the 'old' and the 'new' set... by the way, the Windows version works fine. Not 0.2.0, but that's not the tools' fault... thanks for all the help Vlad (25 years ago, 26-Oct-99, to lugnet.robotics.rcx.legos)
 
  Re: H8 tools problems on Linux
 
Thanks for the plug, Jacob. I in fact have received a set of instructions for gcc 2.9.5, and began the work of integrating them into the HOWTO last night. However, I was interrupted and will not have time to finish the task tonight, so do expect gcc (...) (25 years ago, 25-Oct-99, to lugnet.robotics.rcx.legos)
 
  Re: H8 tools problems on Linux
 
(...) I've compiled LegOS under RedHat 5.2 without problems. I recently upgraded to 6.0 and I still have no problems. Have you downloaded some odd version of gcc or binutils? I've experienced problems when compiling gcc 2.95, but they can (easily) (...) (25 years ago, 24-Oct-99, to lugnet.robotics.rcx.legos)
 
  LegOS 0.2.0a multi-threading problem
 
I have been attempting to us the thread API for a LegOS project. I have been following the examples I found on the LegOS How-To page with out much success. If I run some simple code inside the main function it works fine but if I try the same code (...) (25 years ago, 25-Oct-99, to lugnet.robotics.rcx.legos)
 
  Re: H8 tools problems on Linux
 
(...) Vlad- First off, I'd suggest building your own tools, instead of downloading the pre-built tools (which, like anything pre-built, tends to work only on systems very similar to the original builder's.) There are pretty clear directions (I (...) (25 years ago, 24-Oct-99, to lugnet.robotics.rcx.legos)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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