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 / *444 (-40)
  Re: 0.2.1 API
 
Never mind- did it myself. Thanks anyway... -Luis (...) ###...### Profanity is the one language that all programmers understand. -Anonymous ###...### (25 years ago, 4-Nov-99, to lugnet.robotics.rcx.legos)
 
  0.2.1 API
 
I seem to remember that someone here installed doxygen and generated a new set of API docs for 0.2.0. Am I correct in that? Or am I smoking something? If that is the case, I'd love to hear from you- a copy would be real nice to re-link from the (...) (25 years ago, 4-Nov-99, to lugnet.robotics.rcx.legos)
 
  rcx tools setup
 
I have following problem with setting up the rcx tools (the old ones, distributed with legOS-0.1.7): I set up the Makefile.common to properly point to my paths: TOOLPREFIX=/home/eri...tachi-hms- LEGOS_ROOT=/home/eri...gOS-0.1.7/ when I run make I (...) (25 years ago, 4-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: RCX-enhanced egcs
 
I just downloaded the new rcx tools, unfotunately the gcc dies (segmentation fault, even if I run the gcc only (with no parameters). any ideas what's going on? does it require glibc2.1? any settings? TIA erik (...) (25 years ago, 4-Nov-99, to lugnet.robotics.rcx.legos)
 
  IR
 
Hi All. Is there a way to set the IR transmitter to something like 'long range mode'? I would like to have a more powerful beam for proximity detection. I've tried lnp_logical_range(1), doesn't seem to make a difference. The problem is that I don't (...) (25 years ago, 2-Nov-99, to lugnet.robotics.rcx.legos)
 
  Re: legOS-0.2.1
 
Hi Jeffrey, that's an OS issue - your host system should define O_ASYNC. Some older systems define FASYNC instead, try that one. You can work around this more elegantly, too: #ifndef O_ASYNC #define O_ASYNC FASYNC #endif And hope for the best. (...) (25 years ago, 2-Nov-99, to lugnet.robotics.rcx.legos, lugnet.robotics.rcx)
 
  Re: legOS-0.2.1
 
(...) ==bulk of message removed (...) I'm getting a compile error when building the dll utility - an undefined symbol 'O_ASYNC' forgive my ignorance but how do I fix this? Thanks in advance, -=RoboCoder=- (25 years ago, 1-Nov-99, to lugnet.robotics.rcx.legos, lugnet.robotics.rcx)
 
  Re: fast firmware downloader
 
I hate to admit it, but the version of Turbo C++ I just pulled out is 1.00. I departed from the Borland compiler shortly after acquiring this version and did not keep up with advances. Would I gain any advantages by finding a later version, or (...) (25 years ago, 31-Oct-99, to lugnet.robotics.rcx.legos, lugnet.robotics.rcx, lugnet.robotics.rcx.pbforth)
 
  RE: fast firmware downloader
 
(...) Yeah. Not sure about the hardware interface, though. Would it be possible to run the DOS executable to generate a binary and then download it otherwise? I too am not sure what this whole discussion is about- if it is just NQC, then it is (...) (25 years ago, 30-Oct-99, to lugnet.robotics.rcx.legos, lugnet.robotics.rcx, lugnet.robotics.rcx.pbforth)
 
  RE: fast firmware downloader
 
(...) Wes and Dave, I pulled out an ancient copy of Turbo C++ 3.0 for DOS. It compiles most of the code but chokes on the >8 character file names. I might have to try Microsoft VC++ next....to make a DOS executable. I also found a DOS C Comm library (...) (25 years ago, 30-Oct-99, to lugnet.robotics.rcx.legos, lugnet.robotics.rcx, lugnet.robotics.rcx.pbforth)
 
  Re: fast firmware downloader
 
(...) Wes, A good place to start with the porting is to grab the latest NQC source code from www.enteract.com/~dbaum/nqc and take a look at the family of PSerial classes in the platform directory. Create a new class (e.g. PSerial_dos) that (...) (25 years ago, 30-Oct-99, to lugnet.robotics.rcx.legos, lugnet.robotics.rcx, lugnet.robotics.rcx.pbforth)
 
  Re: legOS-0.2.1
 
Cool! If no one else does, I'll try to get it working on Windows next week, along with the rest of the HOWTO push. Don't hold your breath, though :) -Luis (...) ###...### Profanity is the one language that all programmers understand. -Anonymous (...) (25 years ago, 30-Oct-99, to lugnet.robotics.rcx.legos, lugnet.robotics.rcx)
 
  Re: RELEASE: LegoSim -- another LegOS Simulator
 
Nice picture :-) I added this to the legOS tools page. Are you going to do 0.2.1? Markus. (25 years ago, 30-Oct-99, to lugnet.robotics.rcx.legos)
 
  legOS-0.2.1
 
Hello, legOS 0.2.1 is out. No, I'm not working full time on legOS - this is just a day's work. Apart from minor bug fixes, a new file format for user programs is introduced, along with the tools to support it. The dynamic loader is a standalone C (...) (25 years ago, 30-Oct-99, to lugnet.robotics.rcx.legos, lugnet.robotics.rcx)
 
  Re: LegOS newbie wants more info.
 
Thanks Sergey. I was aware of Luis' fine HOWTO. I was actually trolling to see if Luis would offer a preview of the 0.2.0 version ;) I have never heard of doxygen but will grab a copy and see what that gives for documentation. Kevin (...) decided (...) (25 years ago, 29-Oct-99, to lugnet.robotics.rcx.legos)
 
  Re: RELEASE: LegoSim -- another LegOS Simulator
 
Cool! I'll add this to the HOWTO when I do the 0.2.0 update. Are there any plans on the horizon for either emuLegOS or LegOSim to update to 0.2.0 anytime soon? Luis (...) ###...### Profanity is the one language that all programmers understand. (...) (25 years ago, 29-Oct-99, to lugnet.robotics.rcx.legos)
 
  RELEASE: LegoSim -- another LegOS Simulator
 
RELEASE: LegoSim A UNIX-based Simulator for LegOS with an Applet-GUI LegoSim is (yet another) simulator for LegOS. URL: (URL) another simulator? At the time the project started, there was no other simulator. Once Emulegos was announced, we did not (...) (25 years ago, 29-Oct-99, to lugnet.robotics.rcx.legos)
 
  Re: LegOS newbie wants more info.
 
(...) I'd suggest just browsing the source. It's nicely written, so it's quite easy to understand. Most demos that I've seen are for an older version of LegOS, anyway, and require porting. The API reference is available on the website, and I think (...) (25 years ago, 29-Oct-99, to lugnet.robotics.rcx.legos)
 
  Re: LegOS newbie wants more info.
 
Thanks for the advertisement, Marco. I thought I'd let you all know that I'm going to try to get started on the conversion of the HOWTO to 0.2.0 next week, as I have a large Java project due Monday, but the rest of the week will be devoted to (...) (25 years ago, 29-Oct-99, to lugnet.robotics.rcx.legos)
 
  Re: LegOS newbie wants more info.
 
(...) decided (...) the (...) demo (...) demo (...) Hi Kevin, look at the excellent legOS HOWTO by Luis Villa: (URL) (25 years ago, 29-Oct-99, to lugnet.robotics.rcx.legos)
 
  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 | 40 more

Redisplay Messages:  All | Compact

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