|
|
Hello,
I try to launch the example read/write PC<->RCX.
The RCX part (Read) is compiled and downloaded.
But I don't managed to the PC's part (write).
It compiles with lejosjc.bat.
But with java.exe, the following error message appears :
-----------------------
D:\developpement\mindstorms\lejos\rcxcomm\examples\instream>java Write
Exception in thread "main" java.lang.UnsatisfiedLinkError: init
at josx.rcxcomm.LLC.init(Native Method)
at josx.rcxcomm.LLCHandler.<init>(LLCHandler.java:18)
at josx.rcxcomm.RCXPort.<init>(RCXPort.java:18)
at Write.main(Write.java:9)
---------------------------------------
With all my reads on the net, I think it is a problem of CLASSPATH.
I define it just like this :
-------------------------------------------------------------
D:\developpement\mindstorms\lejos\rcxcomm\examples\instream>set CLASSPATH
CLASSPATH=D:\developpement\mindstorms\lejos\lib\rcxcomm.jar;D:\developpement\min
dstorms\lejos\lib\pcrcxcomm.jar;D:\developpement\mindstorms\lejos\lib\classes.ja
r;D:\developpement\mindstorms\lejos\lib\jtools.jar;"C:\Program Files\Java\jdk1.5
.0_09\bin";D:\developpement\mindstorms\lejos\classes;
--------------------------------------------------------------------------
I don't understand. Can u help me ?
|
|
|
Hello Paul,
first of all, thank you very much for providing LeJOS.
I am a member of the project team for the master courses at the
University of Applied Studies and Research in Wernigerode, Germany
(Hochschule Harz). In our project thesis we decided to work on the
Mindstorms by using LeJOS. Our goal was to improve the navigation
functions (odometry) for two-wheeled robots which are only using their
rotation sensors. We included a software PID controller that is capable
of correcting errors of the movement caused by the plastic parts and the
divergence of the motor power.
The so called lejON-API is not like the RotationNavigator class but is a
little bit more precise in driving and much more precise in
self-location. Additionally, the user is able to let the bot curve
circularly. All LeJOS methods are low-level functions. So, we only have
to adapt those for NXT.
If you like, take a look at lejON which is available as an Open Source
project at http://lejon.sourceforge.net/.
Feel free to download everything and construct the bots provided online.
There is lots of documentation with a big part about evaluation. Sadly,
this is currently available in German only. We are working on English
versions (but it may take a while as we all are working on other things
like master theses and an article and a presentation about lejON for a
local symposium in October).
In case of any questions, please contact me via this address. We are
looking forward to hearing from you!
Best regards on behalf of the project team,
Florian Ruh
Diplom-Informatiker (FH)
Hochschule Harz in Wernigerode, Germany
|
|
|
In lugnet.robotics.rcx.java, Alfred Bratterud wrote:
> Anyone know when Lejos will be ported to the NXT? Just got my kit and looking
> forward to it!
There is a sort-of port available on lejos.sourceforge.net now:
> iCommand allows you to program your robot and control
> it using your Bluetooth connection
Apparently, the API uses existing firmware functionality to control
the NXT brick from the host computer using Java, it's not a proper
Java VM for local execution.
There is little or no documentation, and no examples yet, but
they seem to have it working, and I guess some brief tutorial
is in the making.
Stefan G
|
|
|
Anyone know when Lejos will be ported to the NXT? Just got my kit and looking
forward to it!
|
|
|
In lugnet.robotics.rcx.java, Erik Amzallag wrote:
|
Hi,
Im starting with lejos and I try to use the plugin LDT 1.2.0 for Eclipse 3.0
with Windows XP. When I try to run (Run As > leJOS), I get the message :
|
snip
|
My classpath, path, lejos_home and RCXTTY are ok, commands like lejosjc,
lejoslink and lejosdl work fine.
With Eclipse, I get the item leJOS > Install Firmware (which works), I can
create leJOS RCX project, but I dont succeed to run my program :(
Ive surely missed something, and I find nothing about that.
If you can help me, it will be great :)
|
It seems that some people meet the same problem, so the answer :
You must set in your project properties your Default output folder as
yourProject/bin ( yourProject is the name of your project ;) )
Erik brickerik Amzallag
|
|
|