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 / *3619 (-40)
  Re: Implementation of Installable Timers
 
(...) You are right. I found in an app that I was using that if I pressed the run / stop button, my task would be killed, and leave a dangling timer - which would usually blow the little brick into the weeds :o) I 'solved' it in a crude way by (...) (21 years ago, 9-Jan-04, to lugnet.robotics.rcx.legos)
 
  Re: Implementation of Installable Timers
 
Iain McInnes wrote: [snip] (...) Great idea! (...) In your implementation, would it be possible for the client task to be killed (in the case of a run-away task)... causing the struct to be deallocated... while the struct is still in the linked (...) (21 years ago, 8-Jan-04, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos)
 
  Points to: 'Implementation of Installable Timers'
 
Hi, ppl. I posted this one in the wrong place :0 (URL) Enjoy ! Iain. (21 years ago, 8-Jan-04, to lugnet.robotics.rcx.legos)
 
  Points to 'Design by Contract'
 
Hi, Folks, I posted some stuff on an assert() macro - in the wrong place - (D'oH). The thread is here: (URL) Enjoy ! Iain. (21 years ago, 8-Jan-04, to lugnet.robotics.rcx.legos)
 
  Hello World !
 
Hello everybody. I’ve been fooling around with BrickOS in the last few weeks, becoming familiar with it. BrickOS is very cool. Thank you, those who have made it what it is, and thank you, those who help out those with the common problems (yes, I had (...) (21 years ago, 8-Jan-04, to lugnet.robotics.rcx.legos)
 
  Re: The BrickOS Task Manager
 
IIRC the issue was that Task, Process and Thread were all used to represent the same item/concept in the Kernel code. After some discussion, it was decided that the word Task would be used in all cases. This improves readability, etc... (ie. Task (...) (21 years ago, 6-Jan-04, to lugnet.robotics.rcx.legos)
 
  Re: Sensor Power
 
(...) Take a look at the functions ds_power_on() & ds_power_off() as defined in the dsensor.c kernel file. When you've set the sensor to passive mode, you should be able to manipulate the sensor power bits using these functions[1] or just use the (...) (21 years ago, 6-Jan-04, to lugnet.robotics.rcx.legos)
 
  Re: Motor Display
 
(...) This problem has been fixed in the most recent CVS source file (dmotor.c), but as far as I can tell it hasn't been part of an offical release yet: (URL) (21 years ago, 5-Jan-04, to lugnet.robotics.rcx.legos)
 
  Re: The BrickOS Task Manager
 
tid_t -> thread ID pid_t -> process ID ? "nanobapt" <nanobapt@wanadoo.fr> wrote in message news:3FF95FD4.608020...adoo.fr... (...) (21 years ago, 5-Jan-04, to lugnet.robotics.rcx.legos)
 
  Sensor Power
 
ok, I have a real question. I'm interested in sending messages between RCXs using only the sensor ports. I've tested and found by switching between active and passive, signals can be sent, however, when the port is set to active, it is not powered (...) (21 years ago, 5-Jan-04, to lugnet.robotics.rcx.legos)
 
  Motor Display
 
For some silly reason, I was browsing through the BrickOS code and I noticed this: void motor_a_dir(MotorDirection dir) { dm_a.dir = dm_a_pattern[dir]; dlcd_hide(LCD_A_LEFT); dlcd_hide(LCD_A_RIGHT); if (dir == fwd || dir == brake) (...) (21 years ago, 5-Jan-04, to lugnet.robotics.rcx.legos)
 
  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)
 
  Linux help
 
Are there any complete instructions for installing brickOS on Linux? The instructions in the FAQ are years out of date. I am very confused what I am meant to be doing. So far I have downloaded and installed these rpms: a.. (...) (21 years ago, 1-Jan-04, to lugnet.robotics.rcx.legos)
 
  Re: random problems...
 
(...) I found out what my problem was. I didn't seed the random number. This seems to be REQUIRED. (21 years ago, 30-Dec-03, to lugnet.robotics.rcx.legos)
 
  Re: random problems...
 
(...) How do you know that it return 0 ? nanobapt (21 years ago, 29-Dec-03, to lugnet.robotics.rcx.legos)
 
  random problems...
 
I'm having a problem with the random() function in BrickOS. I keep getting a return value of zero. Is there something that needs to be set-up before using the function? What kind of value does it return? I've seen documentation that says it returns (...) (21 years ago, 29-Dec-03, to lugnet.robotics.rcx.legos)
 
  Re: Direct Link (was Global Objects was Strange RCX startup issues)
 
(...) perfect! Step by step directions. Thanks. (...) So, now I can use the 'run' button to do other stuff, right? Or, for that matter, I could do other stuff with the On/Off button. After I turn it off (using the code listed), then, I can just turn (...) (21 years ago, 15-Dec-03, to lugnet.robotics.rcx.legos)
 
  Re: Direct Link (was Global Objects was Strange RCX startup issues)
 
(...) Ok, I'll take a shot at it: 1) Make a new directory in the root BrickOS directory called pgm. 2) Copy the files config.h and Makefile from the boot directory to the pgm directory. 3) Copy your C files to the pgm directory. 4) Edit config.h (in (...) (21 years ago, 13-Dec-03, to lugnet.robotics.rcx.legos)
 
  Re: Vision command + linux
 
someone ask me to diffuse my code .... then it's here : (URL) can use it to make your own project. Please read the README and if you have any question mail me nanobapt (21 years ago, 12-Dec-03, to lugnet.robotics.rcx.legos, lugnet.robotics)
 
  Re: Vision command + linux
 
(...) LOL, thanks (...) I wil try some method to fixe it nanobapt (21 years ago, 12-Dec-03, to lugnet.robotics.rcx.legos, lugnet.robotics)
 
  Re: Vision command + linux
 
(...) This is a pretty cool technique! I really like the middle picture (movehead2.jpg) just as a work of art. (...) You could overcome this by subtracting out the minimum pixel change from all pixels. So if the entire picture gets brighter or (...) (21 years ago, 12-Dec-03, to lugnet.robotics.rcx.legos, lugnet.robotics)
 
  Vision command + linux
 
I've test a new filter for the camera .... In my first study I applied a filter only in one image .... Now I take the "time" parameter ! I make a difference between two image and here is the result When nothing move : (URL) I move my head : (URL) (...) (21 years ago, 11-Dec-03, to lugnet.robotics.rcx.legos, lugnet.robotics)
 
  Direct Link (was Global Objects was Strange RCX startup issues)
 
In lugnet.robotics.rcx.legos, Mark Riley wrote: ... (...) All right, this brings up an interesting question. I can use BrickOS well enough to make it do cool stuff, but I really don't know all the cool stuff BrickOS can do... If I read this (...) (21 years ago, 11-Dec-03, to lugnet.robotics.rcx.legos)
 
  Re: My problems with adding a Best Fit algorithm for memory management to kernel/mm.c
 
Mark Riley wrote: [snip] (...) This is easy enough to implement (1 or 2 lines), but raises the question: Should these memory strategies be included with BrickOS (with a config.h flag to control it)? I am sure the educators would rather leave that (...) (21 years ago, 11-Dec-03, to lugnet.robotics.rcx.legos)
 
  Re: Global Objects was Strange RCX startup issues
 
Understood. In this case, I am thinking that the option should be ON by default; such that a new, less experienced user would not encounter a problem; but an experienced user could turn the option off. // Joe (...) (21 years ago, 11-Dec-03, to lugnet.robotics.rcx.legos)
 
  Re: Global Objects was Strange RCX startup issues
 
(...) But, it perhaps should default to being enabled as this deficiency has caused some confusion in the past. Great work, Joe! Mark (21 years ago, 11-Dec-03, to lugnet.robotics.rcx.legos)
 
  Re: Global Objects was Strange RCX startup issues
 
(...) I opt for option. Not much may be to much in some cases. And I don't want to program in c++ anyway. Regards, Michael (21 years ago, 11-Dec-03, to lugnet.robotics.rcx.legos)
 
  Re: Global Objects was Strange RCX startup issues
 
(...) [snipped] (...) I simply added ctor_size and dtor_size to the *image*, *lx* and *program* structures. This allows the program manager to calc the start and end of these segments. (...) It wasn't as hard as I had thought. I have the fix (...) (21 years ago, 11-Dec-03, to lugnet.robotics.rcx.legos)
 
  Re: Memory, Motors and Odd Things
 
(...) no. Ok, that's my first problem. (...) hmm. yep. malloc()... (...) no, using the firmdl3. (...) Yes, it's recursive. And, I'm sure your hunch is right. (...) It sounds like it's the malloc() bug. I'm using 0.2.6.09 (?) I'm not going to switch (...) (21 years ago, 11-Dec-03, to lugnet.robotics.rcx.legos, FTX)
 
  Re: BricxCC release 3.3.7.6
 
(...) Wow! I've just discovered Bricxcc! Thank you very much for providing such a useful tool. I'm using PbForth and I was impressed by what you've included in BricxCC. Just to share with you, here's what I did so far. I've renamed the Help file so (...) (21 years ago, 11-Dec-03, to lugnet.robotics, lugnet.robotics.rcx, lugnet.robotics.rcx.legos, lugnet.robotics.rcx.nqc, lugnet.robotics.spybotics, FTX)
 
  Re: My problems with adding a Best Fit algorithm for memory management to kernel/mm.c
 
(...) <snip> (...) <snip> (...) <snip> I didn't have time to mention this in my earlier post, but this memory dump points out a potential problem with the way BrickOS allocates memory for programs. In the above memory dump, the 0x6B words at 0xB648 (...) (21 years ago, 11-Dec-03, 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