 | | Lejos discussion archives
|
|
The last message I find is dated July 7,2002 using the link (URL) there a problem with geocrawler? or is my link out of date? Roger (24 years ago, 16-Jul-02, to lugnet.robotics.rcx.java)
|
| |
 | | Re: Java version of DiscShooter
|
|
I think it would be a great idea to have a fixed robot design and a specified behaviour for that robot and then for people to write various applications to make it work. Is this disc shooter design available somewhere? (...) SNip to keep lugnet (...) (24 years ago, 10-Jul-02, to lugnet.robotics.rcx.java)
|
| |
 | | Re: Controlling Multiple RCX's from one PC
|
|
Lawrie Griffiths has majorly reworked the RCX communications support in leJOS. His architecture allows you to define protocol stacks that sit on top of a basic transport mechanism. He has implemented support for the LNP stack used in legos - which (...) (24 years ago, 10-Jul-02, to lugnet.robotics.rcx.java)
|
| |
 | | Re: Controlling Multiple RCX's from one PC
|
|
Hi! all, I've posted a similar topic before titled "control multiple mindstorms robots using 1 IR tower", so I'd also like to get more info. about this related issue.If someone is generous to open his coding, I'll greatly apprecidate it! Hope (...) (24 years ago, 8-Jul-02, to lugnet.robotics.rcx.java)
|
| |
 | | Re: Controlling Multiple RCX's from one PC
|
|
Hi, Roger and Jonathan!! I'd like to get your code too as I'm also interested to do the same thing as Jonathan. Would you mind also sending your source code about controlling multiple mindstorms using one PC to me? I'd like to have more exchange (...) (24 years ago, 8-Jul-02, to lugnet.robotics.rcx.java)
|
| |
 | | Re: Controlling Multiple RCX's from one PC
|
|
(...) Source code will help. Thanks. Jonathan D. (24 years ago, 7-Jul-02, to lugnet.robotics.rcx.java)
|
| |
 | | Re: Controlling Multiple RCX's from one PC
|
|
(...) Hi Jonathan, I send messages from the PC to 3 RCX's with no problem, but I use the Tower object running on my PC, and Serial in the RCX. I don't use Stream objects because they actually only send one byte at a time and not yet very reliable. (...) (24 years ago, 7-Jul-02, to lugnet.robotics.rcx.java)
|
| |
 | | Controlling Multiple RCX's from one PC
|
|
I'm working on a project that requires four RCX's to be controlled by one laptop. The program on the laptop is written in Java and the program on the RCXs is written in lejos. I'm using RCXPort to establish a connection between them. The problem I'm (...) (24 years ago, 7-Jul-02, to lugnet.robotics.rcx.java)
|
| |
 | | Java version of DiscShooter
|
|
Since there doesn't seem to be alot of activity in the java group (particularly for beginners), I'm posting my java version of the DiscShooter program from the Advanced Builders Set. Let's see some other examples out there! /** * @author robweeks * (...) (24 years ago, 19-Jun-02, to lugnet.robotics.rcx.java)
|
| |
 | | Re: MinuteTimer and currentTimeMillis()
|
|
(...) An int, 4 bytes. (...) That's right. (...) I think a complete cycle will take 49.7 days, as you have to get through the negative values, too. But I bet nobody has yet tried it. (Somewhat like the MSWindows sure crash a while ago :-) (...) No, (...) (24 years ago, 15-Jun-02, to lugnet.robotics.rcx.java)
|
| |
 | | MinuteTimer and currentTimeMillis()
|
|
I am writing a class which can be set with the actual time and then provide the value to other classes. It only has to be accurate to the minute. I've done this in NQC, but am trying to figure out how to do it using Lejos. If currentTimeMillis() is (...) (24 years ago, 15-Jun-02, to lugnet.robotics.rcx.java)
|
| |
 | | Re: taste of java
|
|
Your best bet for replacement firmware is leJOS ((URL) If you don't currently know Java you could try out my book, "Core Lego Mindstorms". It has a 30 page chapter that introduces Java programming concepts. - Brian (...) (24 years ago, 8-Jun-02, to lugnet.robotics.rcx.java)
|
| |
 | | taste of java
|
|
i'm looking into the posiblities of replacement firmware and was wondering how hard it would be to learn java and what would be the best way to acomplish this (24 years ago, 6-Jun-02, to lugnet.robotics.rcx.java)
|
| |
 | | Re: What is exception "StackOverflowError" in method "<clinit>"
|
|
(...) The first time a method is called the class gets initialized, and the stack overflow happened in the initialization method <clinit>, so nothing mysterious there. (...) If your program uses a lot of memory (less than 3K free) this is a side (...) (24 years ago, 23-May-02, to lugnet.robotics.rcx.java)
|
| |
 | | Re: What is exception "StackOverflowError" in method "<clinit>"
|
|
(...) Yes, you are both right (Thanks anyway) 1. TextLCD.print() works perfectly when called from simple programs 2. My code is most probably using too deep calls (Why is this not covered in the 10/10 'Core' book of Bagnall) BUT, QUESTION FOR YOU (...) (24 years ago, 22-May-02, to lugnet.robotics.rcx.java)
|
| |
 | | Re: What is exception "StackOverflowError" in method "<clinit>"
|
|
(...) I have tried TextLCD.print() and it really does work. Roger (24 years ago, 17-May-02, to lugnet.robotics.rcx.java)
|
| |
 | | Re: What is exception "StackOverflowError" in method "<clinit>"
|
|
(...) StackOverflowError could either be a stack overflow (maximum depth is 10) or a thread that dies from whatever exception (that seems to be a bug, but I couldn't yet figure out what causes it). I suppose TextLCD.print should work, though I never (...) (24 years ago, 17-May-02, to lugnet.robotics.rcx.java)
|
| |
 | | What is exception "StackOverflowError" in method "<clinit>"
|
|
When running my program (made of several classes), I get the following: (Output from the Emulator, but I get similar result on the RCX of course) *** UNCAUGHT EXCEPTION/ERROR: -- Exception class : 7 -- Thread : 1 -- Method signature : 3 -- Root (...) (24 years ago, 13-May-02, to lugnet.robotics.rcx.java)
|
| |
 | | Problem with lejos-1.0.5
|
|
I just downloaded and installed lejos. Trying to "make" with java version 1.1.8, I get the following errors: javac `find . -name '*.java'` ./josx/rcxcomm/DataP....java:129: Variable DEFAULT_BUFFER_SIZE can't be static in inner class (...) (24 years ago, 21-Apr-02, to lugnet.robotics.rcx.java)
|
| |
 | | MD5 available (was: RCX as a PGP engine)
|
|
I just put my java MD5 port for lejos on the web: (URL) for the popups, Tripod....) It's a terrible hack, but thanks to that memory footprint is low and it does not leak! Let me know if you find it useful. Have fun, Bart. (24 years ago, 7-Apr-02, to lugnet.robotics.rcx.legos, lugnet.robotics.rcx.java)
|