| | Re: Semaphore(s) locked when task killed.
|
|
(...) hmmm I wonder what other unix like OSs do in this situation? automatically unlocking doesn't seem particuarlly clean, what is to say that it is safe to unlock the mutexes just because the locking thread has been killed? Perhaps we can (...) (22 years ago, 4-Sep-02, to lugnet.robotics.rcx.legos)
|
|
| | Semaphore(s) locked when task killed.
|
|
I have found that killing a task which is sending data via lnp will cause lnp to stop functioning. Turning the brick off then on again will get lnp working again. The issue is with the semaphore(s) used in the kernel tasks. Currently there is no (...) (22 years ago, 4-Sep-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: Small problem compiling w/gcc-3.2 and binutils-2.12.0 with patch.
|
|
John, Good Job, John! It seems that older version of gcc don't catch the problem. I applied the changes and it compiles fine for me; I updated CVS. // Joe "John Jorgensen" <jjorgens@2gn.com> wrote in message news:Pine.LNX.4.21.0...2gn.com... (...) (...) (22 years ago, 4-Sep-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: Loading firmware
|
|
(...) Bruce (22 years ago, 3-Sep-02, to lugnet.robotics.rcx.pbforth)
|
|
| | Small problem compiling w/gcc-3.2 and binutils-2.12.0 with patch.
|
|
While compiling the brickos kernel under gcc-3.2 and binutils-2.12.0 I was getting errors about nb_tasks and nb_system_tasks not being te same as their declarations so I made them volatile just like in the header and the kernel now compiles. The (...) (22 years ago, 3-Sep-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: Help with Clock
|
|
(...) Interesting, I should browse through the classes every now and then ... One thing to note is that josx.platform.rcx is not the right place for it, as it is independent of the RCX platform (maybe josx.util ?). (...) I think it would be better (...) (22 years ago, 3-Sep-02, to lugnet.robotics.rcx.java)
|
|
| | Re: Help with Clock
|
|
(...) Here is a Stopwatch class that does the sort of thing that Jeurgen discussed in his message. You can instantiate as many stopwatches as you want to keep track of the elapsed time between different events. import josx.platform.rcx.*; /** * (...) (22 years ago, 3-Sep-02, to lugnet.robotics.rcx.java)
|
|
| | Re: Legos or Lejos
|
|
(...) If you already know some Java, I recommend Lejos. It has some very reliable classes for RCX to RCX communications using Java streams. It also has some useful debugging features. Good luck, Roger (22 years ago, 3-Sep-02, to lugnet.robotics.rcx.java, lugnet.robotics.rcx.legos)
|
|
| | RE: Loading firmware
|
|
If you;ve got the most recent versions of pbForth, and you have Active Tcl installed, then click on the rcxtk.tcl file and the pbForth console should be launched immediately. At that point, you can upload the pbForth.srec file using the (...) (22 years ago, 3-Sep-02, to lugnet.robotics.rcx.pbforth)
|
|
| | Loading firmware
|
|
I am a newbie to RIS 1.0 and would like to install pbforth as my firmware and then use it as my command(programming) language. How do I get started. I have downloaded the Active State Tcl ,rcxtel, and nqc to my computer. Where do I go from here ? (...) (22 years ago, 2-Sep-02, to lugnet.robotics.rcx.pbforth)
|
|
| | Re: binutils 2.12 is the last one to work
|
|
(...) yes, that's possible, but isn't the symbolsrec format a bit of a standard, indicating that the 2.12.1 version is just buggy? Also, it doesn't help with 2.13 since that one doesn't even get to produce any code. alejandro (22 years ago, 2-Sep-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: binutils 2.12 is the last one to work Re: was compile error (was link error with binutils 2.13)
|
|
(...) You are right. I have the 2.12.1 rpm in my package folder and assumend that it is the one I use. But asking ld for it's version resulted in 2.12. One way ist to stay with 2.12, a second way is to change makelx so it could handle the (...) (22 years ago, 2-Sep-02, to lugnet.robotics.rcx.legos)
|
|
| | Release candidate brickos-0.2.6.07 avail for testing
|
|
This is our first public visible test version since the name change. It is also the first in what will be a series of test releases. We will announce when we think we are closing in on the actual release. Details regarding test release content, (...) (22 years ago, 2-Sep-02, to lugnet.robotics.rcx.legos)
|
|
| | binutils 2.12 is the last one to work Re: was compile error (was link error with binutils 2.13)
|
|
i did a binary search on binutils versions, compiling and installing each one to see which one was the last one to work, and the transition from 2.12 to 2.12.1 is the killer. The symbolsrec format seems to change between 2.12 and 2.12.1, so the (...) (22 years ago, 2-Sep-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: compile error (was link error with binutils 2.13)
|
|
(...) no, compiled my own. i've now switched to 3.1.1 (just because it is my main compiler and i thought there might be some incompatibilities there) (...) I downgraded to 2.12.1 and it got further, thanks for the hint. Still fails, but at a later (...) (22 years ago, 2-Sep-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: link error with binutils 2.13
|
|
Hi, (...) I'm running 3.1 and binutils 2.12.1. Did you have a 3.2 rpm-package? (...) You can get rid of these by making the #error string in config.h smaller. (...) Had the same problem with binutils 2.12.1-1. After a downgrade back to 2.12.1 all (...) (22 years ago, 2-Sep-02, to lugnet.robotics.rcx.legos)
|
|
| | link error with binutils 2.13
|
|
hi, after a long time having a running legos 0.2.5, with gcc 2.95.2 and binutils 2.9.1, i decided to get legos 0.2.6 and use the opportunity to upgrade gcc to 3.2 and binutils to 2.13. Everything went smoothly (even the firmware seems to load (...) (22 years ago, 2-Sep-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: Vision Command and Visual Basic
|
|
Well, the truth is that managing VB, as you may agree is a breeze, so I couldn't find the password on time, but I did find the Logitech SDK which happens to be a quite good tool for VB and VC++, and everything went fine. You should be more (...) (22 years ago, 1-Sep-02, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Help with Clock
|
|
Hi Scott, (...) yes. It is like a big wall clock that shows milliseconds. (...) System.currentTimeMillis(); Note that this is a long integer. If you need more than one timer you can remember the time in variables and then compute the difference, (...) (22 years ago, 1-Sep-02, to lugnet.robotics.rcx.java)
|
|
| | Re: Sensor Sampling
|
|
every time no ? nanobapt ----- Original Message ----- From: Steve Hassenplug <hassenplug@mail.com> To: <lugnet.robotics.rcx...ugnet.com> Sent: Friday, August 30, 2002 3:14 PM Subject: Sensor Sampling (...) measurement time (so I'm told) and I need (...) (22 years ago, 30-Aug-02, to lugnet.robotics.rcx.legos)
|