| | Re: Polling sensor values with wait_event
|
|
Thomas, I had a thought about this situation. You could write a function that sets a flag when the event is triggered, do nothing otherwise. You could call this function from within each of the tasks you write (at a somewhat high frequency ... say (...) (22 years ago, 28-Nov-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: problem building gcc for brickOS-02.6.09 installation under windows xp
|
|
Marko, <snip> (...) You can simply decompress the files from the archive at: (URL) are already built and nearly ready to use. Once they are decompressed, I believe you just run the BrickOS configure script; then you should be ready to go. // Joe (22 years ago, 28-Nov-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: problem building gcc for brickOS-02.6.09 installation under windows xp
|
|
Hello John, thanks for your help. I have found the link and I will reinstall cygwin. Since I am a 'beginner' here, are there any guidelines for me how to work with the prebuild binaries? As I say, I have no unix experiences and would need to know (...) (22 years ago, 27-Nov-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: problem building gcc for brickOS-02.6.09 installation under windows xp
|
|
(...) Your cygwin installation is not working correctly. You shouldn't be experiencing any instabality as a result of running cygwin & unix commands. I would uninstall cygwin and try reinstalling it. And then I would not try to build the gcc cross (...) (22 years ago, 27-Nov-02, to lugnet.robotics.rcx.legos)
|
|
| | Cygwin under Virtual PC on OS X
|
|
Having no luck getting BrickOS and the cross compiler package to build under Mac OS X 10.2.2, I thought I'd try moving my previously working djgpp directories and LegOS 0.2.4 directories to a Virtual PC DOS session...only to remember that djgpp (...) (22 years ago, 27-Nov-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: problem building gcc for brickOS-02.6.09 installation under windows xp
|
|
(...) Don't try to build it yourself in Windows - you'll go insane. Download the prebuilt binaries. (22 years ago, 27-Nov-02, to lugnet.robotics.rcx.legos)
|
|
| | problem building gcc for brickOS-02.6.09 installation under windows xp
|
|
I am trying to install brickOS-02.6.09 under Windows XP using the latest instructions (version 1.2, 19.09.02). When building the gcc compiler I get the attached errors. Afterwards I notice that I constantly get 'permission denied' when I type any (...) (22 years ago, 27-Nov-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: Polling sensor values with wait_event
|
|
Hi Joe, Thanks for your reply, I guess that is the solution to use in this case. I'll still just get values every 20ms. By changing the timeslice I could have this go a bit faster though. Thomas (22 years ago, 27-Nov-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: Polling sensor values with wait_event
|
|
Thomas, You are mostly correct. However, keep in mind that tasks with the same priority get checked in turn. The first task in the priority chain does not get undo precedence over the others in the same priority level. Example: Tasks A, B and C all (...) (22 years ago, 27-Nov-02, to lugnet.robotics.rcx.legos)
|
|
| | Polling sensor values with wait_event
|
|
Hello all, Is it true that the wakeup function is only checked once every timeslice and only for the process that has the highest priority and is at the front of the priority chain? For example, a process k is waiting on the wakeup function y wich (...) (22 years ago, 26-Nov-02, to lugnet.robotics.rcx.legos)
|