 | | 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)
|
| |
 | | Re: Java Mindstorms API
|
|
Hi Keith, (...) on the site I saw: To build an equivalent system for on-board ML programming of the RCX using the Lejos operating system Great project, finally there will be a decent programming language for the RCX ;-) Should better get going with (...) (24 years ago, 26-Feb-02, to lugnet.robotics.rcx.java, lugnet.robotics.rcx)
|
| |
 | | Java Mindstorms API
|
|
Hi all, I'm a 4th year computer science student and have just developed an add on to the RCXPort API for mindstorms control for the purpose of using with standard ML as part of my 4th year project. The website is www.dcs.ed.ac.uk/~kv...oject.html (...) (24 years ago, 25-Feb-02, to lugnet.robotics.rcx.java, lugnet.robotics.rcx)
|
| |
 | | Re: Communication between 2 Robots - Movement transmition
|
|
Hi Vasilis and Jürgen, I think it can be done with only 1 thread in each. In my Java line follower, the main loop reads the light sensors (I use 2) and issues commands to the two motors. It should be possible to encode the commands into a byte and (...) (24 years ago, 23-Feb-02, to lugnet.robotics.rcx.java)
|
| |
 | | Re: Communication between 2 Robots - Movement transmition
|
|
Hi Vasilis, (...) I think the easiest is to pretend that the same type of communication that you want to have with the slave also goes on within the master. So you need (at least) two threads, one that looks at the line and one that does the (...) (24 years ago, 22-Feb-02, to lugnet.robotics.rcx.java)
|
| |
 | | Communication between 2 Robots - Movement transmition
|
|
Hi! I am a new member of your community, and i would like to ask the following question. Please excuse me if something similar has been already posted in the past, but i performed a seach in the previous posts and i did not found any answer to my (...) (24 years ago, 21-Feb-02, to lugnet.robotics.rcx.java)
|
| |
 | | IRC
|
|
Anyone who is a regular user of IRC can join my channel #LegoMindstorms (on dalnet). Coma and chat or give/recieve assistance. If you join you are welcome to Ops because anyone in here will know more about Mindstorms than me as i know almost (...) (24 years ago, 16-Jan-02, to lugnet.robotics.rcx.java)
|
| |
 | | Re: Mac version
|
|
(...) If you are talking about Lejos, there has recently been a success report for Mac OS X. Replace gcc by cc in the Makefile and compile from source. If you succeed please post a diff with your modifications. Jürgen (25 years ago, 11-Jan-02, to lugnet.robotics.rcx.java)
|
| |
 | | Mac version
|
|
Subject speaks for itself. Is there a Mac port? (25 years ago, 11-Jan-02, to lugnet.robotics.rcx.java)
|
| |
 | | Re: Is this group dead??
|
|
(...) No, see (URL) . (...) It contains so few bugs that there is no need for discussion :-) Jürgen (25 years ago, 3-Jan-02, to lugnet.robotics.rcx.java)
|
| |
 | | Is this group dead??
|
|
Hi, is Java for LEGO dead? I am interested in LEGO if it has a Java version for the RCX but it takes some activity to get a bug free VM for the RCX...or? /Morten (25 years ago, 2-Jan-02, to lugnet.robotics.rcx.java)
|
| |
 | | Re: Can't find class js/tinyvm/TinyVM
|
|
Hmmm. I've never used the symantec compiler but this should work with the Sun JDK 1.2 (or 1.3). (...) (25 years ago, 19-Oct-01, to lugnet.robotics.rcx.java)
|
| |
 | | Can't find class js/tinyvm/TinyVM
|
|
Hello, I have installed the Window version of Lejos 1.0.3 Beta2. Trying the View sample I get the following error: Can't find class js/tinyvm/TinyVM What I did was: D:\Lego\lejos\exampl...ew>lejosc1 *.java Symantec Java! JustInTime Compiler Version (...) (25 years ago, 17-Oct-01, to lugnet.robotics.rcx.java)
|
| |
 | | Re: Loading multiple java binaries using leJOS
|
|
(...) AFAIK not, they have to be linked together. To put it another way, you'd need the .class files produced by the Java compiler, and they probably should be compiled against the same library. Then you are almost back to compiling it yourself, so (...) (25 years ago, 3-Oct-01, to lugnet.robotics.rcx.java)
|
| |
 | | Re: Loading multiple java binaries using leJOS
|
|
(...) cases. (...) Hi David, AFAIK, lejos is a linker and needs a .class file. The MyProg.class file is the output of the compiler operating on MyProg.java, which must contain the main() method. lejos also needs a path to all the other .class files (...) (25 years ago, 3-Oct-01, to lugnet.robotics.rcx.java)
|
| |
 | | Re: Loading multiple java binaries using leJOS
|
|
(...) Just to clarify, for the most part, I already have the *.bin files for contest entries. To run them individually using "lejosrun prog.bin" works fine. But if 'lejosrun' is the tool to download programs, to me it would make sense to use the (...) (25 years ago, 3-Oct-01, to lugnet.robotics.rcx.java)
|