 | | Re: Help please !!!
|
|
ya javac works fine from the command prompt ... so what can i define JAVAC as? (...) (21 years ago, 4-Feb-05, to lugnet.robotics.rcx.java)
|
| |
 | | Re: Help please !!!
|
|
you seem to be having some basic problem.. try defining JAVAC variable and r u able to execute command javac from the command prompt (...) (21 years ago, 4-Feb-05, to lugnet.robotics.rcx.java)
|
| |
 | | Help please !!!
|
|
hi ... im a newbie ... i have a problem with the lejos setup i did all the instructions and when i tried to compile a java file using the lejosc command i got this reply: Unable to execute javac. Return value of exec is -1. Make sure javac is in the (...) (21 years ago, 4-Feb-05, to lugnet.robotics.rcx.java)
|
| |
 | | Any Code Archive, Links or Send Me Zip File Of Code?
|
|
Hi I am a newbie. I have the Excellent Core Lego Mindstorms Programming Book, but is there a code archive, link, or could someone send me a zip? file with some examples? Cheers Dale (22 years ago, 7-Dec-04, to lugnet.robotics.rcx.java)
|
| |
 | | vision snapshots
|
|
Hi, I've been using the lejos vision system to track a pattern of lights in the ceiling. It splits the image into regions, selects the brightest, zooms in, repeats, and so on. It then repeates this process for every point in the pattern. It returns (...) (22 years ago, 19-Nov-04, to lugnet.robotics.rcx.java)
|
| |
 | | Re: java.lang.NoClassDefFoundError: josx/rcxcomm/RCXPort
|
|
(...) That it compiles shows that RCXPort.class is there, it should be in c:\lejos\lib\pcrcxcomm.jar (you can check with jar tvf c:\lejos\lib\pcrcxcomm.jar ). So apparently the java command doesn't get the proper classpath You can try giving it (...) (22 years ago, 16-Nov-04, to lugnet.robotics.rcx.java)
|
| |
 | | Re: java.lang.NoClassDefFoundError: josx/rcxcomm/RCXPort
|
|
(...) Juergen, Many thanks for that, but I am still getting the same error even when renaming my directories without spaces. Everything compiles fine, it is just when I try to run the code. Any other ideas? Thanks again. Laurence (22 years ago, 16-Nov-04, to lugnet.robotics.rcx.java)
|
| |
 | | Re: java.lang.NoClassDefFoundError: josx/rcxcomm/RCXPort
|
|
Hi Laurence, (...) it might be the spaces in your classpath that cause the problem. Jürgen (22 years ago, 12-Nov-04, to lugnet.robotics.rcx.java)
|
| |
 | | java.lang.NoClassDefFoundError: josx/rcxcomm/RCXPort
|
|
Hello, I am new to Lejos and have been trying PC <-> RCX communications. Unfortunately the books I am using are out of date, I see now that RCXComm is being used to Comms. I followed the Tutorial on the Lejos site, the code compiles fine, but am (...) (22 years ago, 12-Nov-04, to lugnet.robotics.rcx.java)
|
| |
 | | Re: Communication Speed, PC -> RCX, LEJOS!
|
|
(...) Hi Roger, Thank you for your help, it is a bit strange that you dont see any problems, since it is the same protocols we are using. I dont think the joystick is the problem since I have the same problem with inputs from keyboard or mouse, but (...) (22 years ago, 19-Jul-04, to lugnet.robotics.rcx.java, lugnet.lego.dacta, lugnet.robotics.edu, lugnet.robotics.rcx.legos, FTX)
|
| |
 | | Re: Communication Speed, PC -> RCX, LEJOS!
|
|
(...) I could not repeat your experiment exactly because I dont have a joy stick. So instead I wrote a pair of programs that send single byte messages between the PC and the RCX. The RCX adds 1 to the incoming byte and immediately send it back. The (...) (22 years ago, 14-Jul-04, to lugnet.robotics.rcx.java, lugnet.lego.dacta, lugnet.robotics.edu, lugnet.robotics.rcx.legos, FTX)
|
| |
 | | Re: train control
|
|
Hi Daniel, (...) you can do more levels by something like the Bresenham algorithm, i.e. for speed 4.5 you turn it on for 4ms and 5ms of the 10ms alternatively. Though 10 levels should normally suffice, the standard LEGO train controller has fewer (...) (22 years ago, 9-Jul-04, to lugnet.robotics.rcx.java)
|
| |
 | | Re: train control
|
|
(...) The simple answer is "maybe"! If you have one handy, try it. I'm not sure whether the RCX will cope with a capacitive load rather than an inductive one, so I would advise you not to put the capacitor across the RCX output without a motor in (...) (22 years ago, 8-Jul-04, to lugnet.robotics.rcx.java)
|
| |
 | | Re: train control
|
|
Daniel: >> I want to use rcx to control a lego train, but the fact that lejos only >> have 7 levels makes it dificult to set the speed. > > Mark Bellis wrote: > > I think at the very least you need to smooth the power output of the RCX in > order to (...) (22 years ago, 8-Jul-04, to lugnet.robotics.rcx.java)
|
| |
 | | Re: train control
|
|
(...) hi Juergen I tried it with load, and it works much better! Only that the speed is not very stable in the curves. (...) If i use a cycle of 10ms, then i could only use 10 different speeds, because the Thread.sleep has a resolution of 1ms... (...) (22 years ago, 8-Jul-04, to lugnet.robotics.rcx.java)
|
| |
 | | Re: Communication Speed, PC -> RCX, LEJOS!
|
|
From the picture (d1_p31) it looks as though all 4 RCXs can see the tower. I don't know anything about pcrcxcomm.jar or rcxf7port; and not much about lejos, however, if all 4 RCXs try to respond to the tower, you will have collisions. Try covering (...) (22 years ago, 7-Jul-04, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos, lugnet.robotics.rcx.java)
|
| |
 | | Communication Speed, PC -> RCX, LEJOS!
|
|
Hi everyone, Im working on a project with controlling a large Container Crane by 4 RCXs. I have implementet some controlling and a lot of functions in the model, including a userinterface made in Java for a laptop. The crane is controlled by a (...) (22 years ago, 7-Jul-04, to lugnet.robotics.rcx.java, lugnet.lego.dacta, lugnet.robotics.edu, lugnet.robotics.rcx.legos, FTX)
|
| |
 | | Re: train control
|
|
Hi Daniel, (...) sorry to reply so late, I wanted to try it myself but didn't get around to do it yet (I'm starting an IT-Business as a consultant/systems programmer, see (URL) managed to run a train from an RCX with the standard power levels using (...) (22 years ago, 5-Jul-04, to lugnet.robotics.rcx.java)
|
| |
 | | Re: train control
|
|
(...) There is a fundamental difference between the RCX and a Lego Train controller - the controller uses smooth power from a 3-pin regulator, with the voltage varied using a chain of resistors. The RCX uses PWM power with approximately 166ms square (...) (22 years ago, 3-Jul-04, to lugnet.robotics.rcx.java)
|
| |
 | | train control
|
|
hi I want to use rcx to control a lego train, but the fact that lejos only have 7 levels makes it dificult to set the speed. Jürgen Stube wrote in september2001: "Yes, the standard LEGO routines make it very hard to control speed. Basically with an (...) (22 years ago, 28-Jun-04, to lugnet.robotics.rcx.java)
|