To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.javaOpen lugnet.robotics.rcx.java in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / Java / *180 (-20)
  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)
 
  Re: LeJos threads / sleep() takes too long
 
The priority mechanism used in lejos is the same as that specified in the Real Time Specification for Java (RTSJ): Threads of a higher priority will absolutely block threads of a lower priority as long as they remain runnable. The sensor listener (...) (24 years ago, 1-Apr-02, to lugnet.robotics.rcx.java)
 
  Re: RCX as a PGP engine
 
(...) Definitely post it! Better than that, how about sending me the code and I'll add it to our robots section as a unique demonstration. (...) Shouldn't be a problem. Most of the source code in the official Sun package is easy to port to leJOS. (...) (24 years ago, 19-Mar-02, to lugnet.robotics.rcx.legos, lugnet.robotics.rcx.java)
 
  Re: RCX as a PGP engine
 
(...) I just 'ported' (euphemism for minor modifications) some code lingering on the web for fun and voila: MD5 on RCX is up and running (lejos). If anyone's interested, I can post the code. It allows for authentication (PC sends random challenge, (...) (24 years ago, 18-Mar-02, to lugnet.robotics.rcx.legos, lugnet.robotics.rcx.java)
 
  Re: Reading exceptions
 
(...) The 0078 is the method signature number of the method where the exception was thrown. The 8, is the least significant figure of the number referring to the exception class thrown. To get further information, you must add the -verbose option to (...) (24 years ago, 12-Mar-02, to lugnet.robotics.rcx.java)
 
  Book on Programming the RCX with Java
 
If anyone would like more information on the new book "Core Lego Mindstorms Programming" check out my announcement on Lugnet: (URL) (24 years ago, 12-Mar-02, to lugnet.robotics.rcx, lugnet.robotics.rcx.java)
 
  Reading exceptions
 
Hello, I've recently started working with lejOS and was having some dificulty with my code. When ever I get an exception, there is a buzz, the arrow under the 2 lights up, and a number like "0078 8" shows up. I was wondering how I read this number (...) (24 years ago, 11-Mar-02, to lugnet.robotics.rcx.java)
 
  Re: RCX as a PGP engine
 
(...) They don't, but they need bignums (really big integers). (...) the API is in java.math.BigInteger . (...) You could just run PPP over it I suppose, with some encryption (IPSec?) on top of it. Would be dead slow, though. The charm of the RCX (...) (24 years ago, 10-Mar-02, to lugnet.robotics.rcx.legos, lugnet.robotics.rcx.java)
 
  Re: LeJos threads / sleep() takes too long
 
Hi Bart, (...) if you mean LISTENER_THREAD then that sounds plausible. (...) Yes, LISTENER_THREAD has maximum priority, so it runs before any threads of lower priority, even yield doesn't help. (...) Yes, I think we'll have to fix that somehow. (...) (24 years ago, 6-Mar-02, to lugnet.robotics.rcx.java)
 
  LeJos threads / sleep() takes too long
 
Experimenting with Lejos, two 'major' problems: memory (cleaning up platform & lang: Math.class is huge!) and... threads. I have the impression my "try { sleep(nnn) }" takes a somewhat arbitrary time. It's 'at least' nnn milisec, but often much (...) (24 years ago, 6-Mar-02, to lugnet.robotics.rcx.java)
 
  Re: Communication between 2 Robots - Movement transmition
 
I did something simple in my book where each robot had an angle sensor, and could copy each other's 1D movement. Some grad students at Tufts did the same thing with 2 angle sensors on each robot and 2D movement. Both projects also then expanded to (...) (24 years ago, 27-Feb-02, to lugnet.robotics.rcx.java)

Next Page:  5 more | 10 more | 20 more
Redisplay Messages:  All | Compact

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR