| | Re: please help with threaded robot program
|
|
(...) Thanks for the pointer. I'll go check it out. (My bad for not actually searching on "subsumption" -- I think I searched for +lejos +thread.) Susan (24 years ago, 22-Feb-01, to lugnet.robotics.rcx.java)
|
|
| | 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)
|
|
| | X Windows front-end for NQC?
|
|
Hi Folks, I have used the RCXCC under windows for quite a while, but now I am quite taken with my shiny new Linux install on my desktop and my Agenda linux PDA. I searched through the archives and found Joel asking about a GUI for NQC, but there (...) (24 years ago, 21-Feb-01, to lugnet.robotics.rcx.nqc)
|
|
| | 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)
|
|
| | NQCEdit
|
|
A new program for NCQ with color coding and much more. Download and test the program and let us know what you think about it. (URL) Eriksson (24 years ago, 21-Feb-01, to lugnet.robotics.rcx.nqc)
|
|
| | Anybody tried ActiveX for Control Lab?
|
|
Hello, I have just bought a Dacta Control Lab without software, so I use an ActiveX from (URL) I am having a bit of problems when I use "mindstorms" touch sensors. The ActiveX control wont registrer when I press it. Any hints? Lars Gertsen - Denmark (...) (24 years ago, 21-Feb-01, to lugnet.robotics.rcx, lugnet.robotics.rcx.robolab, lugnet.technic)
|
|
| | 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)
|
|
| | Re: please help with threaded robot program
|
|
Hi Susan, Subsumption works great in leJOS. See this message for some example code: (URL) think what you're missing is an arbitrator, which will probably run as yet another thread. Regards, Jonathan (...) (24 years ago, 20-Feb-01, to lugnet.robotics.rcx.java)
|
|
| | 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)
|
|
| | please help with threaded robot program
|
|
Hi, this is my first message to the robotics groups. A little background: I've had RIS 1.0 for a couple of years, I have ~14 years of programming experience but only 1 year of Java (mostly server side). I downloaded leJOS beta 3 last week and wrote (...) (24 years ago, 19-Feb-01, to lugnet.robotics.rcx.java)
|
|
| | Re: 2 new robots
|
|
(...) Just wondering why you didn't use a differential on each axle, that would have improved turning a lot. Probably the ideal solution is the nice limited slip differential shown by somebody months ago (sorry can't remember who was he). Mario Lego (...) (24 years ago, 19-Feb-01, to 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)
|