 | | Re: Opening COM port error
|
|
(...) Tyler, Happy to be of help! Regarding Garbage Collection, I'm not usually one to criticise without being able to suggest a better alternative. In this case, I think most GC systems could be improved by mimicking the concept of "smart pointers" (...) (23 years ago, 30-Nov-03, to lugnet.robotics.rcx.java, lugnet.off-topic.geek)
|
| |
 | | Re: Opening COM port error
|
|
In lugnet.robotics.rcx.java, Chris Phillips wrote: Hahaha, Your passionate condemnation of GC makes entertaining reading in light of the amount of work I have to do with lejos,Java,C++, etc for my final year undergraduate project. I will certainly (...) (23 years ago, 30-Nov-03, to lugnet.robotics.rcx.java)
|
| |
 | | Re: Opening COM port error
|
|
(...) Ahh, Garbage Collection. <rant soapbox="on" eyes="glazed" dinosaur="true"> In my mind the worst thing that has happened to modern compiler languages is excessive reliance on Garbage Collection. This is analogous to leaving half-empty soda cans (...) (23 years ago, 29-Nov-03, to lugnet.robotics.rcx.java)
|
| |
 | | Re: Opening COM port error
|
|
(...) Hi Chris, Thanks for your reply. You're reply confirmed my suspicion about leaving the port object lying around. I think I'll try your first suggestion of 'deleting' the port object at the end of each routine. I hope you dont mind me asking (...) (23 years ago, 29-Nov-03, to lugnet.robotics.rcx.java)
|
| |
 | | Re: Opening COM port error
|
|
(...) This probably is an issue of leaving your Port object around after you're done using it. You have a memory leak in each routine, because you call 'new RCXPort();' without ever calling 'delete port;' on the object. You should definitely call (...) (23 years ago, 28-Nov-03, to lugnet.robotics.rcx.java)
|
| |
 | | Opening COM port error
|
|
Hi guys, First of all, thanx Brian, but I managed to solve the weird firmdl.bat problem by fooling around with different batteries and IR range levels. Secondly,I'm trying to send data packets to the RCX through java methods called from a C++ (...) (23 years ago, 28-Nov-03, to lugnet.robotics.rcx.java)
|
| |
 | | Re: Weird downloading error
|
|
Just some general ideas. If you're not using the firmdl or lejosfirmdl that came with lejos, try using one of those. Some versions of some downloaders have trouble with the lejos firmware. If you haven't tried fresh batteries in your RCX, try that. (...) (23 years ago, 25-Nov-03, to lugnet.robotics.rcx.java)
|
| |
 | | Weird downloading error
|
|
Hello ppl, I have this weird problem where I can't seem to download the lejos firmware completely onto the RCX. The counter on the RCX lcd counts up to 20 as the firmware is downloaded while the LCD also shows a weird 'V' sorta symbol on the far (...) (23 years ago, 25-Nov-03, to lugnet.robotics.rcx.java)
|
| |
 | | how to use LNP class?
|
|
Holla, I have been been doing some tests of protocols from lejOS API where I'm about to give a try with this LNP class. The reason is to enable direct host addressing on my app, avoiding the packet_guaranty_issue (as_seen_from_exemple (...) (23 years ago, 13-Nov-03, to lugnet.robotics.rcx.java)
|
| |
 | | Re: Simplifying Cygwin & brickOS/leJOS
|
|
(...) Suggestion, dont use Cygwin at all. Provide a pre-compiled version of: 1.GCC built for host=MingW (ligtweight toolchain for win32 systems that doesnt need bulky cygwin dlls) and target=rcx or whatever. 2.the BrickOS tools buit using MingW and (...) (23 years ago, 11-Nov-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos, lugnet.robotics.rcx.java)
|
| |
 | | Re: Simplifying Cygwin & brickOS/leJOS
|
|
(...) I'm looking into the problems that have been reported to me regarding using the pre-built compiler tools & cygwin on Win98. (...) IC4, so far as I can tell, doesn't have a command-line compiler which makes it quite a bit more difficult to (...) (23 years ago, 8-Nov-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos, lugnet.robotics.rcx.java)
|
| |
 | | Re: Simplifying Cygwin & brickOS/leJOS
|
|
(...) Dear Scott, Unfortunately it is still true that Interactive C does not support the USB-tower, but I am pretty sure this will be changed with the further releases (I recently bought a serial-tower at Shop.Lego for 16.99 Euro only!). But it (...) (23 years ago, 6-Nov-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos, lugnet.robotics.rcx.java)
|
| |
 | | Re: Simplifying Cygwin & brickOS/leJOS
|
|
(...) I'm just passing the following on for everyone else to read. scott Hi Scott, I don't have posting privs to all these lugnet lists, but just want to let you know that actually IC does support encoders (rotation sensors). It's just not (...) (23 years ago, 6-Nov-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos, lugnet.robotics.rcx.java)
|
| |
 | | Re: Simplifying Cygwin & brickOS/leJOS
|
|
Hi A while ago I looked at using IC for writing programs. At the time there were 2 major turnoffs. There was no support for rotation sensors and you needed to own one of the serial infrared towers. It was easy to install and it had its own firmware. (...) (23 years ago, 5-Nov-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos, lugnet.robotics.rcx.java)
|
| |
 | | Re: Simplifying Cygwin & brickOS/leJOS
|
|
Dear John, Thank you very much for the further improvement of Brixcc! I could install the package including brickOS on a Win 98 system as well as download the related firmware, but could not compile any of the demos!? Besides that: You said: "Of (...) (23 years ago, 5-Nov-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos, lugnet.robotics.rcx.java)
|
| |
 | | Re: Simplifying Cygwin & brickOS/leJOS
|
|
(...) Apparently, there are problems running on Win98 (I've heard from another person who is having similar issues). I am trying to figure them out. I'll post here once I have a definitive answer. John Hansen (23 years ago, 4-Nov-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos, lugnet.robotics.rcx.java)
|
| |
 | | Re: Simplifying Cygwin & brickOS/leJOS
|
|
(...) been thinking that somebody should do this for quite some time now. I downloaded this package and installed it on my Windows 98 machine. Unfortunately, I have been having problems getting it to build the libraries. This is probably just a case (...) (23 years ago, 4-Nov-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos, lugnet.robotics.rcx.java)
|
| |
 | | LDCC.java
|
|
I've developed an LDCC protocol stack for lejOS. Well, 1/4 of it. It's currently receive-only and only on the RCX platform. It needs another pair of eyes to make sure I haven't done anything stupid or inefficient, as this is only my second Java (...) (23 years ago, 26-Oct-03, to lugnet.robotics.rcx.java)
|
| |
 | | Re: RCX Communications problems
|
|
(...) the LNP class also uses LLC, it just doesn't implement receiveAck(). (...) You could work ACKs into LNP (e.g. create a LNPReliableHandler), or you could add multi-byte support into and put an addressing layer over LLCReliableHandler. The (...) (23 years ago, 9-Oct-03, to lugnet.robotics.rcx.java)
|
| |
 | | Re: leJOS auto power-off
|
|
(...) your programs, lest you forget to turn off the RCX while a program is running and waste a set of batteries ... Like while(System.current...meMillis() < 600000) { // 10 minutes timeout ... } as a main loop instead of while(true){...} Jürgen (23 years ago, 9-Oct-03, to lugnet.robotics.rcx.java)
|