 | | 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)
| |