|
| | Multitasker test script
|
| John, You might want to try this little script to try out the tasker. It's based on Koh's demo. If you type TASK0 AWAKE and then .TASKS, you will see the chain is ok and that TASK0 is running. Now press the RUN button on the RCX and try .TASKS (...) (25 years ago, 12-May-99, to lugnet.robotics.rcx.pbforth)
| |
| long (score: 1.401) |
|
|
| long (score: 1.401) |
|
| | Re: Where is this part?
|
| I also had this prob. |I think I heard that the RCX1.0 came with RIS 1.5 though not sure. |This part is in some of the convertible models eg 8252 police buggy |Or a substitute can be made as shown on the following web page = | (URL) |For the (...) (24 years ago, 29-Jan-01, to lugnet.robotics, lugnet.robotics.rcx)
| |
| long (score: 1.401) |
|
| | Re: installing Robolab under Mac OS X
|
| (...) Great news for MAC/OSX fans this is not a rumor according to the PITSCO 2004 catalog there will be Native OSX CD version available JUNE 2004. You will need ROBOLAB 2.5 software with training missions. If you have the 2.5 ROBOLAB RIS you can (...) (21 years ago, 11-Jan-04, to lugnet.robotics.rcx, FTX)
| |
| long (score: 1.401) |
|
| | LNP collision detection Bug found and fixed
|
| Hi there, i just found an evil little bug in lnp ( or maybe it's actually a bug in gcc ). The problem is the definition of tx_state as char, and compare operations like if (tx_state < TX_ACTIVE) . The compiler generates wrong code for this (...) (25 years ago, 8-Dec-99, to lugnet.robotics.rcx.legos)
| |
| long (score: 1.401) |
|
|
| long (score: 1.401) |
|
|
| long (score: 1.401) |
|
| | Re: How to make shared memory....not
|
| I think this is what you want, but I am still learning. :) int inc (int&); int dec (int&); int (*pFunc) (int); //pointer to a function that accepts/returns an int if (add) { pFunc = inc; } else { pFunc = dec; } int a = pFunc(10); So, if add is true, (...) (23 years ago, 27-Dec-01, to lugnet.robotics.rcx.legos)
| |
| long (score: 1.401) |
|
| | Re: More on threads
|
| (...) I recall that legOS's priority model is pretty rigid. If a thread with a higher priority never yields, threads with lower priority will never get any time. When I write legOS programs, I generally just have everything run at PRIO_NORMAL. That (...) (23 years ago, 19-Jan-02, to lugnet.robotics.rcx.legos)
| |
| long (score: 1.401) |
|
| | Re: LNP goes Internet
|
| Just read my mail, and because there was a question where to find the stuff i looked at arthurdent, and -- Phantastic, Luis has managed to put everything in place. You will find it at: (URL) thanks, Luis ! I´ll now walk down into my dark and dirty (...) (25 years ago, 3-Jan-00, to lugnet.robotics.rcx.legos)
| |
| long (score: 1.401) |
|
| | Re: More light sensors in legOS
|
| (...) still (...) added (...) I'm working on similar measuring too. I'm getting quite stabile values, but quite noisy too... I don't know if it's the same problem (I'm reading the values in decimal). I've just converted "0x1F0" to dec... Too much, (...) (25 years ago, 3-Feb-00, to lugnet.robotics.rcx.legos)
| |
| long (score: 1.401) |
|
| | Re: Help with make in Windows
|
| (...) In Unix-ish systems, that style of error message means that it is being generated by the program yada/yada/ld. So, what is happening is that ld.exe is unable to find crt0.o, whatever that is. (...) This is rather odd. /legOS/include/config.h (...) (24 years ago, 12-Jun-00, to lugnet.robotics.rcx.legos)
| |
| long (score: 1.401) |
|
| | Re: Power to RCX
|
| There is a difference between a voltage regulator (which limits the maximum voltage applied to a circuit) and a rectifier (which turns AC into pulsed DC - to be smothed out by a capacitor - it also ensures that you can't connect a DC power source (...) (23 years ago, 12-Feb-02, to lugnet.robotics.rcx)
| |
| long (score: 1.401) |
|
| | Re: true tcp/ip on the RCX
|
| (...) The C64 server survived the "Slashdot attack" without problems, even though it served tenths of thousands of pages over a period of only a few hours. Since it is configured to allow only 10 simultaneous connections, it could more or less serve (...) (23 years ago, 4-Feb-02, to lugnet.robotics.rcx.legos)
| |
| long (score: 1.401) |
|
| | 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)
| |
| long (score: 1.401) |
|
| | Re: Sensor Sampling; Progress?
|
| (...) Yes. (...) individually (...) That's right. (...) I agree. With the current firmware, power gets cut off to all 3 sensors for ~85us (sometimes longer). With the scheme I mentioned, power would be cut to only one sensor for ~25us. The sample (...) (22 years ago, 19-Jan-03, to lugnet.robotics.rcx.legos)
| |
| long (score: 1.401) |
|
| | measure distance traveled
|
| Hi all, I'm a CS student and I have to complete a practical assignment in which a robot has to drive 1 meter straight forward, make a 90 degrees turn and then drive another meter (course administrators will also place obstacles which have to be (...) (22 years ago, 11-Feb-03, to lugnet.robotics.rcx.legos)
| |
| long (score: 1.401) |
|
|
| long (score: 1.401) |
|
| | Re: LNP Example please
|
| (...) Well, it's mentioned in the README ;-), but obviously not detailed enough. The problem is: the dynamic loader doesn't find the library you linked against. The dynamic loader is a program that is started whenever you execute a dynamically (...) (25 years ago, 10-Feb-00, to lugnet.robotics.rcx.legos)
| |
| long (score: 1.401) |
|
| | How much memory finally?
|
| I'm trying to figure out how much memory the RCX has. Many sources claims that it has - 16k rom - 16k ram for the firmware - 6k reserved for our own programs Does this mean the RCX has 22k of RAM memory? What an odd number... Also, when I perform (...) (25 years ago, 9-Feb-00, to lugnet.robotics.rcx)
| |
| long (score: 1.401) |