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 / *1719 (-20)
  Got Motors?
 
If you need motors, check out toys. They are clearing out their stock (I've heard April they're outa-here) and everything is on sale. The 8735 Technic motor kit was 24.?? last time I looked. Shipping is a tad steep, so you may want to get several at (...) (24 years ago, 19-Feb-01, to lugnet.robotics.rcx.legos, lugnet.robotics, lugnet.robotics.rcx)
 
  Re: execi and C++
 
(...) I've spoken too fast. Re-reading the error message I saw the real problem. "controlThread" or "&controlThread" are the same. You should add a cast: execi(&controlThread, 0, (char **)NULL, 2, DEFAULT_STACK_SIZE); NULL is defined mem.h as (...) (24 years ago, 18-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: execi and C++
 
(...) In C you should call execi() like this: execi(controlThread, 0, NULL, 2, DEFAULT_STACK_SIZE); /* Removed `&' */ since a function is like an array name: it is an address. Probably the same applies to C++. bye Bernardo (24 years ago, 18-Feb-01, to lugnet.robotics.rcx.legos)
 
  execi and C++
 
Hi all, sorry if this is a rediculously trivial problem, but I'm having some problems with execi on legos0.2.5 , I can't seem to get g++ to compile when I use it, I pass it a 'correct' function.....like so : int controlThread(int argc, char **argv) (...) (24 years ago, 19-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: LegOS and the Downloader....
 
(...) Nick, 0.2.5 is the latest, but there may be a packaging problem as Luis has said. In regards to Makefiles: In the LEGOS_ROOT directory should reside Makefile.common and Makefile.user In your application directory should reside Makefile (no (...) (24 years ago, 17-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: LegOS and the Downloader....
 
(...) I can do the packaging, if you'd like. I'm not sure what to do once I've created the archive (where do I put it?). If this is ok with you, send me the instructions for posting a release. Alternately, I can email the package to Paolo and he can (...) (24 years ago, 17-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: LegOS and the Downloader....
 
0.2.5 is the most recent, but there have been a number of problems reported with my (admittedly slightly sloppy) packaging of it. There will be an 0.2.6 with fixes for these problems, but unless someone else steps up and does it, it won't happen (...) (24 years ago, 17-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: LegOS and the Downloader....
 
OK, I tried putting a makefile.common in the root directory(it turns out that I found it in the /util folder). It didn't work. My project folder is "test" and my file is "test.c", so I replaced the Makefile.common in the "test" folder with the (...) (24 years ago, 17-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: LegOS and the Downloader....
 
I thought that was a little weird that I didn't have a makefile.common in my root legOS directory! Will it work to just copy it from "/legOS/demo/"? I'm going to try it. I'll get back soon. Nick (...) (24 years ago, 17-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: LegOS and the Downloader....
 
(...) I'm not sure I'm understanding what you have done, so excuse me if I'm a little pedantic. In your root legOS directory you have these files: Makefile.common and Makefile.user. Both are coming from the legOS distribution archive (their length (...) (24 years ago, 16-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: LegOS and the Downloader....
 
(...) Is your test.c in the demo directory? If not, you have to copy the Makefile from the demo dir to where your test.c is, and change: 1. The line starting KERNEL= should point to your kernel directory. I usually change mine to: (...) (24 years ago, 16-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: LegOS and the Downloader....
 
Oh. I just realized that now I get a different error message: "*** No rule to make target 'test.lx'. Stop. (...) (24 years ago, 16-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: LegOS and the Downloader....
 
Tried. Is there some editing job you're supposed to do on it? Nick (...) (24 years ago, 16-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: bug fixes
 
(...) Well, as far as Cygwin on Windoze goes, I'm pretty much a "dummy" user too! Regards, ROSCO (24 years ago, 16-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: LegOS and the Downloader....
 
(...) It seems that Make can't find `Makefile.common'. This file should exist in the root legOS directory, it's included in the archive. Have you checked if such file exists? (...) Everyone seems a jerk before becoming a master :-). bye Bernardo (24 years ago, 15-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: LegOS and the Downloader....
 
Well, I upgraded my kernel. Now I get a new error message: "***No rule to make target '../Makefile.common'. Stop" Any idea about this one? Nick (PS: Sorry if I'm acting like a jerk; I'm new at this sort of thing.) (...) (24 years ago, 15-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: Clearing the firmware
 
Ok, big surprise: it turns out I'm a moron. It was cleared all along, for some strange reason I was expecting the "00:00" to come up in boot mode - I forgot that was part of the Lego firmware, not the boot code. I guess thats what happens when I (...) (24 years ago, 14-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: bug fixes
 
On Tue, 13 Feb 2001 22:35:16 GMT, "Paolo Masetti" <paolom@pragmanet.it> wrote: <SNIP> When you're interested in a "dummy" user i'll go for it. Harald (24 years ago, 14-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: Clearing the firmware
 
Hold the on/off button while pressing run. Rick Byers <RickB@BigScaryChildren.net> wrote in message news:G8q7D1.3yA@lugnet.com... (...) (while (...) to (...) doesn't (...) (24 years ago, 14-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: Clearing the firmware
 
Rick, I believe that you take a battery out and turn the thing on, which will reset it to firmwareless mode. Then you just download the lego firmware to it as if you had just gotten a new rcx. Nick (...) (24 years ago, 14-Feb-01, 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