| | Re: The BrickOS Task Manager
|
|
(...) only as a side note: you shouldn't really do this. you are burning precious cpu-cycles here. it should look something like while(!(rowdone && coldone)) msleep(5); if you're in a hurry you can make smaller msleep's... (21 years ago, 5-Jan-04, to lugnet.robotics.rcx.legos)
|
|
| | Re: The BrickOS Task Manager
|
|
in version 2.6.1 (I've just download it) extern tid_t execi(int (*code_start) (int, char **), int argc, char **argv, priority_t priority, size_t stack_size); declare in unistd.h ! So use the tid_t and not the pid_t ! (like say ROSCO) Does anyone (...) (21 years ago, 5-Jan-04, to lugnet.robotics.rcx.legos)
|
|
| | Re: problems wirh installing driver for usb-tower under linux
|
|
Von: "Annedore Rößling" <u15780@hs-harz.de> Betreff: Re: problems wirh installing driver for usb-tower under linux Datum: Sonntag, 4. Januar 2004 13:25 (...) When I tried ./configure --with-linux-include...n/include/ confiure.in continued but (...) (21 years ago, 4-Jan-04, to lugnet.robotics.rcx.legos)
|
|
| | Re: The BrickOS Task Manager
|
|
(...) [snip] (...) Hi Mike, What version of BrickOS are you using? IIRC the correct type for thread IDs in the current version is tid_t, not pid_t. Also, I dunno if it was a typo, but you should include tm.h, not tm.c. HTH ROSCO (21 years ago, 5-Jan-04, to lugnet.robotics.rcx.legos)
|
|
| | Re: The BrickOS Task Manager
|
|
(...) Hmm... it doesn't seem to recognize pid_t as a valid type. I have a document of the functions in brickOS that indicates execi returning an int. Which is it? (...) Still confused... I'll post the poignant code: pid_t rowthread; pid_t colthread; (...) (21 years ago, 5-Jan-04, to lugnet.robotics.rcx.legos)
|
|
| | Re: The BrickOS Task Manager
|
|
(...) To make a thread with BrickOS (I use the 0.2.4, but I think that the method is the same !) You need to use the execi function : pid_t my_thread; ... (function other declaration int funct(int argc, char *argv[]) { // Function that the robot (...) (21 years ago, 4-Jan-04, to lugnet.robotics.rcx.legos)
|
|
| | The BrickOS Task Manager
|
|
Hi everyone, I was wondering if there's any documentation or example programs detailing how to use the task manager in BrickOS. The only example I have is the line-follow program that somehow uses tasks to 'wake up' when it detects a colour change. (...) (21 years ago, 4-Jan-04, to lugnet.robotics.rcx.legos)
|
|
| | Re: problems wirh installing driver for usb-tower under linux
|
|
(...) If you look into the configure script you can found this line : if ! test -f $KINC/linux/version.h ; then { echo "configure: error: no suitable configured kernel include tree found" 1>&2; exit 1; } fi So the test return 0 that indicate you (...) (21 years ago, 3-Jan-04, to lugnet.robotics.rcx.legos)
|
|
| | problems wirh installing driver for usb-tower under linux
|
|
Hello! I tried to install the driver for the usb-tower under SuSE linux 9.0 but configure failed with the message: no configured kernel include tree found. I installed the kernel sources and tried again, but the problem was still the same. I heard (...) (21 years ago, 2-Jan-04, to lugnet.robotics.rcx.legos)
|
|
| | Re: Linux help
|
|
Does anyone have the following precompiled binaries available for download for i386? firmdl3 dll I could really do with them, then I wouldn't need the gcc 2.95 compiler. Cheers, Ralph "Ralph Clark" <Ralph.Clark@ntlworld.com> wrote in message (...) (21 years ago, 2-Jan-04, to lugnet.robotics.rcx.legos)
|