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 / *1729 (-20)
  Re: multiple "execi" with different priorities
 
(...) Actually legOS multitasking is preemptive :-) bye Bernardo (24 years ago, 22-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: multiple "execi" with different priorities
 
(...) of (...) The call looks fine, but as Bernado said, you have to make sure that higher priority tasks relinquish control regularly. IIRC all tasks of a given priority must get a slice before any lower priority tasks get any slice. And remember (...) (24 years ago, 21-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: multiple "execi" with different priorities
 
(...) That line seems ok to me. Setting priority for a task above 10 (normal priority) may cause starvation to other tasks. This depend on what your function process() does. If it never waits (using calls like wait_event(), sleep(), sem_wait()...) (...) (24 years ago, 21-Feb-01, to lugnet.robotics.rcx.legos)
 
  multiple "execi" with different priorities
 
Hi, I am trying to run three different tasks, with the "execi" command. When all of the have the same priority=10, everything works ok. When I change the priority in one of them priority=11 or 12, then everything seems to go much slower, and (...) (24 years ago, 21-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: problems installing binutils 2.9.1
 
Close. Its in glibc-devel. On my (originally RH 6.0) box its glibc-devel-2.1.1-6.rpm, your version number may be different. Regards, ROSCO (...) (24 years ago, 21-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: problems installing binutils 2.9.1
 
Kenneth, Looks like you may not have the standard C include files installed. I'm currently at work, with no access to Linux 8?( so not sure which RPM they're in. Is it gcc-devel or something like that? I'll check when I get home. Regards, ROSCO (...) (24 years ago, 20-Feb-01, to lugnet.robotics.rcx.legos)
 
  problems installing binutils 2.9.1
 
sigh....i need some help here guys. im trying to install legos on my libm thinkpad running red hat 6.2 i have downloaded the binutils-2.9.1 and egcs-1.1.2 i am currently trying to do "make all" (just after doing the ../binutils-2.9.1/configure part) (...) (24 years ago, 20-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: Got Motors?
 
(...) I do beleive they mean eToys, try here: (URL) (24 years ago, 20-Feb-01, to lugnet.robotics.rcx.legos, lugnet.robotics, lugnet.robotics.rcx)
 
  Re: Got Motors?
 
(...) Do you mean Toys-R-Us? And if so, where? Matthias Jetleb VA3-MWJ (24 years ago, 20-Feb-01, to lugnet.robotics.rcx.legos, lugnet.robotics, lugnet.robotics.rcx)
 
  Re: Got Motors?
 
(...) Who exactly is selling the motor kits? (24 years ago, 19-Feb-01, to lugnet.robotics.rcx.legos, lugnet.robotics, lugnet.robotics.rcx)
 
  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)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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