Great Idea you have come up who ever started this project. I was pretty sure that some one will put the pieces together sooner or later!

I download it myrobotlab and loaded it up into Eclipse. No errors in libraries except one in the main folder, it has a little red X there. Am I missing some other libraries? May be from openCV?

Also when I click on the .sh file or sh through the terminal it would not load up anything. 

Congrats on your project, I am sure it is big step bringing  closer Humans and machines.

Greetings!

admin

11 years 10 months ago

Welcome Sed !

Nice to meet you.  

Where is the little red X ?  Is there a list of stuff under eclipse's "Problems" tab?
 

It's doubtful the .sh will work in the Eclipse environment unless you do and ant build.

I should post the way to start it is using the org.myrobotlab.service.Runtime class - 
You'll want to put in the following command line parameters for that class if you want to run it (which should be pretty much the same as the .sh)

-Djava.library.path="./libraries/native/x86.32.linux:./libraries/native/x86.64.linux:./libraries/native/x86.32.mac"  -cp "libraries/jar/*" org.myrobotlab.service.Runtime -service gui GUIService -logLevel INFO -logToConsole

Just so you know Sed, the mac is a bit of a mystery to me..  My wife has one, but I'm not allowed to touch it.. although I occasionly peer into its enigmatic glow..  which means, of all the platforms - it's probably the most problematic for me.  But, I'm sure we can work together and fix anything which needs special Mac attention :D

Regards,

GroG

 

Thanks for such quick reply GroG. Nice to meet you too. I hope we might be able to help each other with  the knowledge we get through this wonderful world of information.
 
Obviously I did not build the project the way it should be. I used SVN through Eclipse 3.2 on a MacOS 10..4.11 using a JavaSE-1.6 as my SDK. I had to patch it by the way from Java 1.5 to Java 1.6. for what I understood it should have built the project. Sorry for being outdated!
 
ERROR 1 (item)
Severity and Description Path Resource Location Creation Time Id
The project cannot be built until build path errors are resolved myrobotlab Unknown 1338699613223 1706
 
WARNING 1 (item)
Severity and Description Path Resource Location Creation Time Id
Build path specifies unavailable execution environment: JavaSE-1.6 myrobotlab Build path 1338699611045 1044
 
Best Regards
 
Sed
 
 
Well, after a few hours of trying to figure out this project I found out that it might have to do with the JavaSE-1.6. I went back to switch the path variable to my old JDK 1.5 and I end up with 100 errors and 100 warnings. So it is obvious that this Java SE 1.6 beta is not working properly.  Before I ONLY had one error on the util.java class wich removes and replaces string chars.
 
I might end up updating my OS and see what happens from there.
 
Keep up the good work!  * _ *
 

 

admin

11 years 10 months ago

My wife let me have a little play time with the mac, and this is how far I got.
I got the latest eclipse version 

 uname -a
Darwin kristina-MacBook-Pro.local 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun  7 16:32:41 PDT 2011; root:xnu-1504.15.3~1/RELEASE_X86_64 x86_64
 
Its a 64 bit mac os 10.8
 
kristina-MacBook-Pro:~ kristina$ java -version
java version "1.6.0_31"
Java(TM) SE Runtime Environment (build 1.6.0_31-b04-415-10M3635)
Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01-415, mixed mode)
 
There are no errors for me.

 

Starting the runtime with the Program command line I suggested started up the Runtime...  The 2 services (Runtime & GUIService) started but there was no inventory.  This has to do with config.  I'll look into this further a little later.  

Hope this helps.

Thanks for the taking the time of looking into this matter.

I think that it has to do with the KDK I have in my OS, even though I try to put both system libraries (J2SE 1.5 and Java SE 1.6) running side by side it did not work. I noticed that when I add the second system jar eclipse always reads it as the default library. If I use Jar 1.6 I get an error saying there is no main method when I try to run the program. what is funny is that I got to the point I have NO ERROS in the built package, well I have to say that when I got the project from svn it did not load the THIRD PARTTY libraries, but that shouldn't have to do nothing with it.

 When I switch to use the Jar 1.5 I get 100 errors. It is obvious that it needs JDK 1.6 from a newer OS version. I will be updating my OS in this days.

Thanks for the loggo!, It is pretty cool, I like it.   *_* 

Hi Sed,

As the build instruction say, it should be built with 1.6.  I probably "should" see what the dependencies are and evaulate whether it should warrant incompatiblity with 1.5, but I just don't have time now.  I don't know what "side by side" means, but it sounds scary...  mixing JVM versions can cause severe migraines..

Yikes .. are you adding the system jars as "additional jars" to the project?  If you want to switch JVM versions in eclipse - go to :

Windows -> Preferences -> Java -> Compiler -> Compiler Compliance Level -> 1.6
make sure the checkbox underneath is selected "Use default compliance settings" and all other versions should say 1.6 underneath in grey.

Super SED !

 

As a matter of fact, yes I did try to to run two different system libraries at the same time. Kind of crazy Huh!.

It did build the project with No Errors, but when I try to run the program it complained about the java.lang IOException sort of thing. java 1.5 has all the IO libraries, but like you said, the dependencies  are pointing to the 1.6 version.

It is a migraine, but it is worth it to be able to understand how the information flows.

Thanks again! "  GroG "

 

Did you try removing library you added then change the compiler settings @

 

Windows -> Preferences -> Java -> Compiler -> Compiler Compliance Level -> 1.6
make sure the checkbox underneath is selected "Use default compliance settings" and all other versions should say 1.6 underneath in grey.

Sed

11 years 9 months ago

Thanks for your help GroG,

I have decided to swith to the Linux enviorement and I installed Ubuntu 12.4 on my Mac. I do not know much about how to configure this RobotLab in Eclipse. I have used svn to get it and now I don't have any errors. The thing is that I did not find any information on how to run some tests.  what I mean by that is that when I click " Run As " what I get is a bounch of classes to select.  I did not find the main class that starts up the program.

I also try to download the files directly into my Desktop. The MyRobotLab link works, but the third party does not work, it might've broken.

Any suggestion, Please!

Thanks!

GroG

11 years 9 months ago

Your right, more than one person has pointed out the quick start does not correspond to the latest/greatest MRL.

I have updated the page with new "improved" instructions - http://myrobotlab.org/quick_start

There is no more thirdParty zip or links..  If you see references let me know I'll remove them.  
All third party dependencies are managed with a integrated repository manager....

Also, check out the trunk again.  There was a file which you would have to manually put in a .myrobotlab subdirectory which listed on the possible services.  MRL now tries to load the file locally, but if its not there it will fetch the latest from the repo.

Hopefully, I have made you more confused :P

Let me know if the step-by-step is clear enough of if you have problems..

Well, I am here again, I hope I am not causing any head aches!

I try to follow your step by step "Getting Started tutorial" and I am still with no luck.

It seems that service starts but it terminates after a few miliseconds.

I get this as out put in the console:

0.0.0.0
0
0    [main] DEBUG class org.myrobotlab.framework.Service  - setLogLevel null DEBUG
2    [main] DEBUG class org.myrobotlab.framework.Service  - setLogLevel null INFO
6    [main] ERROR class org.myrobotlab.framework.Service  - ------
java.util.IllegalFormatConversionException: f != java.lang.Integer
    at java.util.Formatter$FormatSpecifier.failConversion(Formatter.java:4011) arguments
    at java.util.Formatter$FormatSpecifier.printFloat(Formatter.java:2738)
    at java.util.Formatter$FormatSpecifier.print(Formatter.java:2683)
    at java.util.Formatter.format(Formatter.java:2455)
    at java.util.Formatter.format(Formatter.java:2383)
    at java.lang.String.format(String.java:2781)
    at org.myrobotlab.service.Runtime.invokeCMDLine(Runtime.java:1003)
    at org.myrobotlab.service.Runtime.main(Runtime.java:1147)
------

when I run the Debug Configuration I set this as the Arguments:

Program Arguments:

-service gui GUIService -logLevel INFO -logToConsole

VM arguments:

-Djava.library.path="./libraries/native/x86.32.linux:./libraries/native/x86.64.linux:./libraries/native/x86.32.mac"

All I get is the console out put above, No Gui window.

Is it too much to ask if you post a video tutorial on how to get started to get me going?

I apreciate your help, Thaks a lot GroG!

Hmm looks like Thor smashed these bits with a Formatter Hammer...

I think your close Sed...   And I "thought" it was fixed on the tip.  Have you done a :

Right click on the myrobotlab project -> Team -> Update to Head  ???

I'd be glad to post a video but it might take me a little time...  it would help me (and possibly you) to tell me what services you are interested in.... e.g. OpenCV Arduino etc...

SwedaKonsult

11 years 9 months ago

@Sed

I believe revision 635 fixes the issue. Go ahead and do another checkout and try it again.

If that does not fix it, please make sure to let me know!

Sed

11 years 9 months ago

The Update to Head did the trick GroG. For the first time I have it in Eclipse, Yeehhhh!. I beleve it is the same as trying to do another checkout Sweda, thanks for the help guys!

At this moment I am interested in OpenCV, Sphinx and FreeTTS.

I'll try to check it out, see how it works, try to understand the basic functionallities and share some knowledge to improve myrobotlab. This could be a Great Thing!

Thanks a lot again!

Your working on a Mac?  Have you used OpenCV before?  Did it work on MRL?  Since I don't have a Mac I don't have the opportunity to test it, so I don't think it will work out of the box...

Examining the repo I see a native x86.32.linux package and a x86.32.windows but nothing for mac :P

Looking forward to this challenge ! smiley

Oh can you send the top of the logging again now that you got it to start ?
I'm interested in the way your system identifies itself like x86.32.mac   
I'll use this to make a native OpenCV package.

Thanks.

Sed

11 years 9 months ago

In reply to by GroG

Yes, as a matter fact, I've worked with openCV in my mac before, but not through the robotlab project. I've did it on my own using Mac, Eclipse and Processing libraries.

At this moment I am using Unbuntu 12.4 installed on a MacBook. I've desided to to use Linux to check out your project. I am interested on what you are doing, putting all those libraries together, very smart man!

This is the console out put:

0.0.0.0
0
0    [main] DEBUG class org.myrobotlab.framework.Service  - setLogLevel null DEBUG
2    [main] DEBUG class org.myrobotlab.framework.Service  - setLogLevel null INFO
service count 1
4    [main] INFO  org.myrobotlab.service.Runtime  - attempting to invoke : org.myrobotlab.service.GUIService named gui
4    [main] INFO  org.myrobotlab.service.Runtime  - loader for this class sun.misc.Launcher.AppClassLoader
5    [main] INFO  org.myrobotlab.service.Runtime  - parent sun.misc.Launcher.ExtClassLoader
5    [main] INFO  org.myrobotlab.service.Runtime  - system class loader sun.misc.Launcher$AppClassLoader@df6ccd
5    [main] INFO  org.myrobotlab.service.Runtime  - parent should be nullsun.misc.Launcher.ExtClassLoader
5    [main] INFO  org.myrobotlab.service.Runtime  - thread context sun.misc.Launcher.AppClassLoader
5    [main] INFO  org.myrobotlab.service.Runtime  - thread context parent sun.misc.Launcher.ExtClassLoader
5    [main] INFO  org.myrobotlab.service.Runtime  - refreshing classloader
33   [main] INFO  class org.myrobotlab.framework.Service  - ---------------normalize-------------------
34   [main] INFO  class org.myrobotlab.framework.Service  - os.name [Linux] getOS [linux]
34   [main] INFO  class org.myrobotlab.framework.Service  - os.arch [i386] getArch [x86]
34   [main] INFO  class org.myrobotlab.framework.Service  - getBitness [32]
34   [main] INFO  class org.myrobotlab.framework.Service  - java.vm.name [OpenJDK Server VM] getVMName [hotspot]
34   [main] INFO  class org.myrobotlab.framework.Service  - ---------------non-normalize---------------
35   [main] INFO  class org.myrobotlab.framework.Service  - java.vm.name [OpenJDK Server VM]
35   [main] INFO  class org.myrobotlab.framework.Service  - java.vm.vendor [Sun Microsystems Inc.]
35   [main] INFO  class org.myrobotlab.framework.Service  - java.home [/usr/lib/jvm/java-6-openjdk-i386/jre]
35   [main] INFO  class org.myrobotlab.framework.Service  - os.version [3.2.0-23-generic-pae]
35   [main] INFO  class org.myrobotlab.framework.Service  - java.class.path [/home/sed/workspace/myrobotlab/bin:/home/sed/workspace/myrobotlab/thirdParty/repo/com.centralnexus.joystick/joystick/0.7/Joystick.jar:/home/sed/workspace/myrobotlab/thirdParty/repo/com.google.gson/gson/1.7.1/gson-1.7.1.jar:/home/sed/workspace/myrobotlab/thirdParty/repo/com.googlecode.javacv/javacv/20111001/javacpp.jar:/home/sed/workspace/myrobotlab/thirdParty/repo/com.googlecode.javacv/javacv/20111001/javacv-android-arm.jar:/home/sed/workspace/myrobotlab/thirdParty/repo/com.googlecode.javacv/javacv/20111001/javacv-linux-x86.jar:/home/sed/workspace/myrobotlab/thirdParty/repo/com.googlecode.javacv/javacv/20111001/javacv-linux-x86_64.jar:/home/sed/workspace/myrobotlab/thirdParty/repo/com.googlecode.javacv/javacv/20111001/javacv-macosx-x86_64.jar:/home/sed/workspace/myrobotlab/thirdParty/repo/com.googlecode.javacv/javacv/20111001/javacv-windows-x86.jar:/home/sed/workspace/myrobotlab/thirdParty/repo/com.googlecode.javacv/javacv/20111001/javacv-windows-x86_64.jar:/home/sed/workspace/myrobotlab/thirdParty/repo/com.googlecode.javacv/javacv/20111001/javacv.jar:/home/sed/workspace/myrobotlab/thirdParty/repo/com.mxgraph.jgraph/jgraph/1.6.1.2/jgraphx.jar:/home/sed/workspace/myrobotlab/thirdParty/repo/com.sun.java3d/java3d/1.5.1/j3dcore.jar:/home/sed/workspace/myrobotlab/thirdParty/repo/com.sun.java3d/java3d/1.5.1/j3dutils.jar:/home/sed/workspace/myrobotlab/thirdParty/repo/com.sun.java3d/java3d/1.5.1/vecmath.jar:/home/sed/workspace/myrobotlab/thirdParty/repo/com.sun.jna/jna/3.2.2/jna.jar:/home/sed/workspace/myrobotlab/thirdParty/repo/com.sun.speech.freetts/freetts/1.2/freetts.jar:/home/sed/workspace/myrobotlab/thirdParty/repo/edu.cmu.sphinx/sphinx/4-1.0beta6/batch.jar:/home/sed/workspace/myrobotlab/thirdParty/repo/edu.cmu.sphinx/sphinx/4-1.0beta6/jsapi-1.0-base.jar:/home/sed/workspace/myrobotlab/thirdParty/repo/edu.cmu.sphinx/sphinx/4-1.0beta6/sphinx4.jar:/home/sed/workspace/myrobotlab/thirdParty/repo/edu.cmu.sphinx/sphinx/4-1.0beta6/tags.jar:/home/sed/workspace/myrobotlab/thirdParty/repo/edu.cmu.sphinx/sphinx/4-1.0beta6/TIDIGITS_8gau_13dCep_16k_40mel_130Hz_6800Hz.jar:/home/sed/workspace/myrobotlab/thirdParty/repo/edu.cmu.sphinx/sphinx/4-1.0beta6/WSJ_8gau_13dCep_16k_40mel_130Hz_6800Hz.jar:/home/sed/workspace/myrobotlab/thirdParty/repo/edu.cmu.sphinx/sphinx/4-1.0beta6/WSJ_8gau_13dCep_8kHz_31mel_200Hz_3500Hz.jar:/home/sed/workspace/myrobotlab/thirdParty/repo/gnu.io.rxtx/rxtx/2.1-7r2/RXTXcomm.jar:/home/sed/workspace/myrobotlab/thirdParty/repo/javaclient3.playerstage/playerstage/3/javaclient3.jar:/home/sed/workspace/myrobotlab/thirdParty/repo/javaFlacEncoder.FLAC_FileEncoder/FLAC_FileEncoder/0.1/javaFlacEncoder-0.1.jar:/home/sed/workspace/myrobotlab/thirdParty/repo/javax.speech.recognition/recognition/1.0/jsapi.jar:/home/sed/workspace/myrobotlab/thirdParty/repo/javax.vecmath/vecmath/1.5.1/vecmath.jar:/home/sed/workspace/myrobotlab/thirdParty/repo/javazoom.jl.player/player/1.0.1/jl1.0.1.jar:/home/sed/workspace/myrobotlab/thirdParty/repo/net.sourceforge.simbad/simbad/1.4/simbad-1.4.jar:/home/sed/workspace/myrobotlab/thirdParty/repo/org.apache.commons.codec/codec/1.3/commons-codec-1.3.jar:/home/sed/workspace/myrobotlab/thirdParty/repo/org.apache.commons.httpclient/httpclient/3.1/commons-httpclient-3.1.jar:/home/sed/workspace/myrobotlab/thirdParty/repo/org.apache.commons.logging/logging/1.1/commons-logging-1.1.jar:/home/sed/workspace/myrobotlab/thirdParty/repo/org.apache.ivy/ivy/2.0.0/ivy.jar:/home/sed/workspace/myrobotlab/thirdParty/repo/org.apache.log4j/log4j/1.2.14/log4j-1.2.14.jar:/home/sed/workspace/myrobotlab/thirdParty/repo/org.jfugue.music/music/4.0.3/jfugue-4.0.3.jar:/home/sed/workspace/myrobotlab/thirdParty/repo/org.jibble.simplewebserver/simplewebserver/1.0/SimpleWebServer.jar:/home/sed/workspace/myrobotlab/thirdParty/repo/org.op.chess/chess/1.0.0/ChessBoard.jar:/home/sed/workspace/myrobotlab/thirdParty/repo/org.python.core/core/2.5.2/jython.jar:/home/sed/workspace/myrobotlab/thirdParty/repo/org.simpleframework.xml/xml/2.5.3/simple-xml-2.5.3.jar:/home/sed/workspace/myrobotlab/thirdParty/repo/org.tritonus.share.sampled.floatsamplebuffer/floatsamplebuffer/0.3.6/tritonus_share-0.3.6.jar:/home/sed/workspace/myrobotlab/thirdParty/repo/simbad.gui/gui/1.4/simbad-1.4.jar:/home/sed/workspace/myrobotlab/thirdParty/repo/wiiuse.wiimote/wiimote/0.12b/wiiusej.jar:/home/sed/workspace/myrobotlab/thirdParty/repo/org.quartz/quartz/2.1.5/quartz-2.1.5.jar:/home/sed/workspace/myrobotlab/thirdParty/repo/org.slf4j/slf4j/1.6.1/slf4j-log4j12-1.6.1.jar:/home/sed/workspace/myrobotlab/thirdParty/repo/org.slf4j/slf4j/1.6.1/slf4j-api-1.6.1.jar:/home/sed/workspace/myrobotlab/thirdParty/repo/org.fife.rsyntaxtextarea/rsyntaxtextarea/2.0.1/rsyntaxtextarea.jar:/home/sed/workspace/myrobotlab/thirdParty/repo/org.fife.autocomplete/autocomplete/2.0.0/autocomplete.jar]
36   [main] INFO  class org.myrobotlab.framework.Service  - java.library.path [./libraries/native/x86.32.linux:./libraries/native/x86.64.linux:./libraries/native/x86.32.mac:libraries/native/x86.32.linux]
36   [main] INFO  class org.myrobotlab.framework.Service  - user.dir [/home/sed/workspace/myrobotlab]
37   [main] WARN  class org.myrobotlab.framework.ConfigurationManager  - file sed-MacBook.BORG 40269.properties not found
38   [main] INFO  class org.myrobotlab.net.CommunicationManager  - instanciating a org.myrobotlab.net.CommObjectStreamOverUDP
393  [main] INFO  org.myrobotlab.fileLib.FindFile  - looking at path .ivy has 14 files
395  [main] INFO  org.myrobotlab.fileLib.FindFile  - looking at path .ivy/org.apache.log4j has 1 files
395  [main] INFO  org.myrobotlab.fileLib.FindFile  - looking at path .ivy/org.apache.log4j/log4j has 5 files
395  [main] INFO  org.myrobotlab.fileLib.FindFile  - looking at path .ivy/org.apache.log4j/log4j/jars has 1 files
396  [main] INFO  org.myrobotlab.fileLib.FindFile  - looking at path .ivy/org.myrobotlab has 1 files
396  [main] INFO  org.myrobotlab.fileLib.FindFile  - looking at path .ivy/org.myrobotlab/myrobotlab has 5 files
396  [main] INFO  org.myrobotlab.fileLib.FindFile  - looking at path .ivy/org.myrobotlab/myrobotlab/jars has 1 files
397  [main] INFO  org.myrobotlab.fileLib.FindFile  - looking at path .ivy/org.simpleframework.xml has 1 files
398  [main] INFO  org.myrobotlab.fileLib.FindFile  - looking at path .ivy/org.simpleframework.xml/xml has 5 files
398  [main] INFO  org.myrobotlab.fileLib.FindFile  - looking at path .ivy/org.simpleframework.xml/xml/jars has 1 files
401  [main] INFO  class org.myrobotlab.framework.ServiceInfo  - adding dependency org.apache.log4j 0 to local thirdPartyLib
402  [main] INFO  class org.myrobotlab.framework.ServiceInfo  - adding dependency org.myrobotlab 0 to local thirdPartyLib
403  [main] INFO  class org.myrobotlab.framework.ServiceInfo  - adding dependency org.simpleframework.xml 0 to local thirdPartyLib
405  [main] WARN  class org.myrobotlab.framework.ConfigurationManager  - file sed-MacBook.gui.properties not found
405  [main] INFO  class org.myrobotlab.net.CommunicationManager  - instanciating a org.myrobotlab.net.CommObjectStreamOverUDP
428  [main] INFO  class org.myrobotlab.framework.Service  - adding interface java.awt.event.WindowListener
429  [main] INFO  class org.myrobotlab.framework.Service  - adding interface java.awt.event.ActionListener
429  [main] INFO  class org.myrobotlab.framework.Service  - adding interface java.io.Serializable
5818 [main] INFO  org.myrobotlab.service.Runtime  - returning org.myrobotlab.service.GUIService
5928 [main] INFO  org.myrobotlab.service.GUIService  - service count 2
6087 [AWT-EventQueue-0] INFO  org.myrobotlab.control.RuntimeGUI  - 0
6088 [AWT-EventQueue-0] INFO  org.myrobotlab.control.RuntimeGUI  - 1
6088 [AWT-EventQueue-0] INFO  org.myrobotlab.control.RuntimeGUI  - 2
6088 [AWT-EventQueue-0] INFO  org.myrobotlab.control.RuntimeGUI  - 3
6088 [AWT-EventQueue-0] INFO  org.myrobotlab.control.RuntimeGUI  - 4
6088 [AWT-EventQueue-0] INFO  org.myrobotlab.control.RuntimeGUI  - 5
6088 [AWT-EventQueue-0] INFO  org.myrobotlab.control.RuntimeGUI  - 6
6088 [AWT-EventQueue-0] INFO  org.myrobotlab.control.RuntimeGUI  - 7
6088 [AWT-EventQueue-0] INFO  org.myrobotlab.control.RuntimeGUI  - 8
6088 [AWT-EventQueue-0] INFO  org.myrobotlab.control.RuntimeGUI  - 9
6088 [AWT-EventQueue-0] INFO  org.myrobotlab.control.RuntimeGUI  - 10
6088 [AWT-EventQueue-0] INFO  org.myrobotlab.control.RuntimeGUI  - 11
6088 [AWT-EventQueue-0] INFO  org.myrobotlab.control.RuntimeGUI  - 12
6088 [AWT-EventQueue-0] INFO  org.myrobotlab.control.RuntimeGUI  - 13
6088 [AWT-EventQueue-0] INFO  org.myrobotlab.control.RuntimeGUI  - 14
6089 [AWT-EventQueue-0] INFO  org.myrobotlab.control.RuntimeGUI  - 15
6089 [AWT-EventQueue-0] INFO  org.myrobotlab.control.RuntimeGUI  - 16
6089 [AWT-EventQueue-0] INFO  org.myrobotlab.control.RuntimeGUI  - 17
6089 [AWT-EventQueue-0] INFO  org.myrobotlab.control.RuntimeGUI  - 18
6089 [AWT-EventQueue-0] INFO  org.myrobotlab.control.RuntimeGUI  - 19
6089 [AWT-EventQueue-0] INFO  org.myrobotlab.control.RuntimeGUI  - 20
6089 [AWT-EventQueue-0] INFO  org.myrobotlab.control.RuntimeGUI  - 21
6089 [AWT-EventQueue-0] INFO  org.myrobotlab.control.RuntimeGUI  - 22
6089 [AWT-EventQueue-0] INFO  org.myrobotlab.control.RuntimeGUI  - 23
6089 [AWT-EventQueue-0] INFO  org.myrobotlab.control.RuntimeGUI  - 24
6089 [AWT-EventQueue-0] INFO  org.myrobotlab.control.RuntimeGUI  - 25
6089 [AWT-EventQueue-0] INFO  org.myrobotlab.control.RuntimeGUI  - 26
6089 [AWT-EventQueue-0] INFO  org.myrobotlab.control.RuntimeGUI  - 27
6089 [AWT-EventQueue-0] INFO  org.myrobotlab.control.RuntimeGUI  - 28
6089 [AWT-EventQueue-0] INFO  org.myrobotlab.control.RuntimeGUI  - 29
6089 [AWT-EventQueue-0] INFO  org.myrobotlab.control.RuntimeGUI  - 30
6090 [AWT-EventQueue-0] INFO  org.myrobotlab.control.RuntimeGUI  - 31
6090 [AWT-EventQueue-0] INFO  org.myrobotlab.control.RuntimeGUI  - 32
6090 [AWT-EventQueue-0] INFO  org.myrobotlab.control.RuntimeGUI  - 33
6090 [AWT-EventQueue-0] INFO  org.myrobotlab.control.RuntimeGUI  - 34
6090 [AWT-EventQueue-0] INFO  org.myrobotlab.control.RuntimeGUI  - 35
6090 [AWT-EventQueue-0] INFO  org.myrobotlab.control.RuntimeGUI  - 36
6090 [AWT-EventQueue-0] INFO  org.myrobotlab.control.RuntimeGUI  - 37
6113 [gui_outbox_0] INFO  org.myrobotlab.framework.Outbox  - configured to RELAY BORG 40269
6114 [gui_outbox_0] INFO  org.myrobotlab.framework.Outbox  - configured to RELAY BORG 40269
6114 [gui_outbox_0] INFO  org.myrobotlab.framework.Outbox  - configured to RELAY BORG 40269
6114 [gui_outbox_0] INFO  org.myrobotlab.framework.Outbox  - configured to RELAY BORG 40269
6114 [gui_outbox_0] INFO  org.myrobotlab.framework.Outbox  - configured to RELAY BORG 40269
6114 [gui_outbox_0] INFO  org.myrobotlab.framework.Outbox  - configured to RELAY BORG 40269
6114 [gui_outbox_0] INFO  org.myrobotlab.framework.Outbox  - configured to RELAY BORG 40269
6115 [gui_outbox_0] INFO  org.myrobotlab.framework.Outbox  - configured to RELAY BORG 40269
6121 [BORG 40269] INFO  class org.myrobotlab.framework.Service  - invoking BORG 40269.notify(NotifyEntry) 20120621141255910
6123 [BORG 40269] INFO  class org.myrobotlab.framework.Service  - adding notify from BORG 40269resolveSuccess to gui.resolveSuccess
6124 [BORG 40269_outbox_0] INFO  org.myrobotlab.framework.Outbox  - no static route for BORG 40269.notify
6124 [BORG 40269] INFO  class org.myrobotlab.framework.Service  - invoking BORG 40269.notify(NotifyEntry) 20120621141255910
6124 [BORG 40269] INFO  class org.myrobotlab.framework.Service  - adding notify from BORG 40269resolveError to gui.resolveError
6125 [BORG 40269_outbox_0] INFO  org.myrobotlab.framework.Outbox  - no static route for BORG 40269.notify
6125 [BORG 40269] INFO  class org.myrobotlab.framework.Service  - invoking BORG 40269.notify(NotifyEntry) 20120621141255910
6125 [BORG 40269] INFO  class org.myrobotlab.framework.Service  - adding notify from BORG 40269resolveBegin to gui.resolveBegin
6125 [BORG 40269_outbox_0] INFO  org.myrobotlab.framework.Outbox  - no static route for BORG 40269.notify
6126 [BORG 40269] INFO  class org.myrobotlab.framework.Service  - invoking BORG 40269.notify(NotifyEntry) 20120621141255911
6126 [BORG 40269] INFO  class org.myrobotlab.framework.Service  - adding notify from BORG 40269resolveEnd to gui.resolveEnd
6126 [BORG 40269_outbox_0] INFO  org.myrobotlab.framework.Outbox  - no static route for BORG 40269.notify
6126 [BORG 40269] INFO  class org.myrobotlab.framework.Service  - invoking BORG 40269.notify(NotifyEntry) 20120621141255911
6127 [BORG 40269] INFO  class org.myrobotlab.framework.Service  - adding notify from BORG 40269registered to gui.registered
6127 [BORG 40269_outbox_0] INFO  org.myrobotlab.framework.Outbox  - no static route for BORG 40269.notify
6127 [BORG 40269] INFO  class org.myrobotlab.framework.Service  - invoking BORG 40269.notify(NotifyEntry) 20120621141255911
6128 [BORG 40269] INFO  class org.myrobotlab.framework.Service  - adding notify from BORG 40269released to gui.released
6128 [BORG 40269_outbox_0] INFO  org.myrobotlab.framework.Outbox  - no static route for BORG 40269.notify
6128 [BORG 40269] INFO  class org.myrobotlab.framework.Service  - invoking BORG 40269.notify(NotifyEntry) 20120621141255911
6128 [BORG 40269] INFO  class org.myrobotlab.framework.Service  - adding notify from BORG 40269failedDependency to gui.failedDependency
6129 [BORG 40269_outbox_0] INFO  org.myrobotlab.framework.Outbox  - no static route for BORG 40269.notify
6129 [BORG 40269] INFO  class org.myrobotlab.framework.Service  - invoking BORG 40269.notify(NotifyEntry) 20120621141255911
6129 [BORG 40269] INFO  class org.myrobotlab.framework.Service  - adding notify from BORG 40269proposedUpdates to gui.proposedUpdates
6130 [BORG 40269_outbox_0] INFO  org.myrobotlab.framework.Outbox  - no static route for BORG 40269.notify
6242 [main] INFO  org.myrobotlab.control.ServiceGUI  - buildGraph
6306 [main] INFO  org.myrobotlab.control.ServiceGUI  - service count 2
6505 [main] INFO  org.myrobotlab.control.ServiceGUI  - buildGraph
6506 [main] INFO  org.myrobotlab.control.ServiceGUI  - service count 2

 

it seems to me that the ConfigurationManager  it is not finding the "- file sed-MacBook.gui.properties" , eventhough it is a warning that might be th reason I can't get it to run a string.

 

Sed

11 years 9 months ago

This is what I get after I load the clock and the logging:

658878 [AWT-EventQueue-0] INFO  class org.myrobotlab.framework.ServiceInfo  - here
658881 [AWT-EventQueue-0] INFO  class org.myrobotlab.framework.ServiceInfo  - here
667664 [AWT-EventQueue-0] ERROR org.myrobotlab.control.RuntimeGUI  - ******************popUpTrigger*********************
675004 [gui_outbox_0] INFO  org.myrobotlab.framework.Outbox  - configured to RELAY BORG 40269
675005 [BORG 40269] INFO  class org.myrobotlab.framework.Service  - invoking BORG 40269.createAndStart(String,String) 20120621142404801
675005 [BORG 40269] INFO  org.myrobotlab.service.Runtime  - loader for this class sun.misc.Launcher.AppClassLoader
675005 [BORG 40269] INFO  org.myrobotlab.service.Runtime  - parent sun.misc.Launcher.ExtClassLoader
675005 [BORG 40269] INFO  org.myrobotlab.service.Runtime  - system class loader sun.misc.Launcher$AppClassLoader@df6ccd
675005 [BORG 40269] INFO  org.myrobotlab.service.Runtime  - parent should be nullsun.misc.Launcher.ExtClassLoader
675005 [BORG 40269] INFO  org.myrobotlab.service.Runtime  - thread context sun.misc.Launcher.AppClassLoader
675005 [BORG 40269] INFO  org.myrobotlab.service.Runtime  - thread context parent sun.misc.Launcher.ExtClassLoader
675005 [BORG 40269] INFO  org.myrobotlab.service.Runtime  - refreshing classloader
675007 [BORG 40269] WARN  class org.myrobotlab.framework.ConfigurationManager  - file sed-MacBook.clock1.properties not found
675007 [BORG 40269] INFO  class org.myrobotlab.net.CommunicationManager  - instanciating a org.myrobotlab.net.CommObjectStreamOverUDP
675010 [BORG 40269] INFO  org.myrobotlab.service.Runtime  - returning org.myrobotlab.service.Clock
675013 [BORG 40269_outbox_0] INFO  org.myrobotlab.framework.Outbox  - no static route for BORG 40269.createAndStart
675129 [AWT-EventQueue-0] INFO  class org.myrobotlab.framework.ServiceInfo  - here
675158 [AWT-EventQueue-0] INFO  class org.myrobotlab.framework.ServiceInfo  - here
675372 [gui_outbox_0] INFO  org.myrobotlab.framework.Outbox  - configured to RELAY clock1
675372 [clock1] INFO  class org.myrobotlab.framework.Service  - invoking clock1.notify(NotifyEntry) 20120621142405168
675372 [gui_outbox_0] INFO  org.myrobotlab.framework.Outbox  - configured to RELAY clock1
675373 [clock1] INFO  class org.myrobotlab.framework.Service  - adding notify from clock1publishState to gui.getState
675374 [clock1] INFO  class org.myrobotlab.framework.Service  - invoking clock1.publishState(null) 20120621142405169
675374 [clock1_outbox_0] INFO  org.myrobotlab.framework.Outbox  - no static route for clock1.notify
675414 [AWT-EventQueue-0] INFO  class org.myrobotlab.framework.ServiceInfo  - here
675420 [AWT-EventQueue-0] INFO  class org.myrobotlab.framework.ServiceInfo  - here
675593 [gui] INFO  org.myrobotlab.control.ServiceGUI  - buildGraph
675595 [gui] INFO  org.myrobotlab.control.ServiceGUI  - service count 3
675632 [AWT-EventQueue-0] INFO  class org.myrobotlab.framework.ServiceInfo  - here
675635 [AWT-EventQueue-0] INFO  class org.myrobotlab.framework.ServiceInfo  - here
679800 [AWT-EventQueue-0] INFO  class org.myrobotlab.framework.ServiceInfo  - here
679806 [AWT-EventQueue-0] INFO  class org.myrobotlab.framework.ServiceInfo  - here
682994 [AWT-EventQueue-0] ERROR org.myrobotlab.control.RuntimeGUI  - ******************popUpTrigger*********************
693835 [gui_outbox_0] INFO  org.myrobotlab.framework.Outbox  - configured to RELAY BORG 40269
693836 [BORG 40269] INFO  class org.myrobotlab.framework.Service  - invoking BORG 40269.createAndStart(String,String) 20120621142423632
693837 [BORG 40269] INFO  org.myrobotlab.service.Runtime  - loader for this class sun.misc.Launcher.AppClassLoader
693837 [BORG 40269] INFO  org.myrobotlab.service.Runtime  - parent sun.misc.Launcher.ExtClassLoader
693837 [BORG 40269] INFO  org.myrobotlab.service.Runtime  - system class loader sun.misc.Launcher$AppClassLoader@df6ccd
693837 [BORG 40269] INFO  org.myrobotlab.service.Runtime  - parent should be nullsun.misc.Launcher.ExtClassLoader
693837 [BORG 40269] INFO  org.myrobotlab.service.Runtime  - thread context sun.misc.Launcher.AppClassLoader
693837 [BORG 40269] INFO  org.myrobotlab.service.Runtime  - thread context parent sun.misc.Launcher.ExtClassLoader
693837 [BORG 40269] INFO  org.myrobotlab.service.Runtime  - refreshing classloader
693841 [BORG 40269] WARN  class org.myrobotlab.framework.ConfigurationManager  - file sed-MacBook.logger.properties not found
693841 [BORG 40269] INFO  class org.myrobotlab.net.CommunicationManager  - instanciating a org.myrobotlab.net.CommObjectStreamOverUDP
693842 [BORG 40269] INFO  org.myrobotlab.service.Runtime  - returning org.myrobotlab.service.Logging
693844 [BORG 40269_outbox_0] INFO  org.myrobotlab.framework.Outbox  - no static route for BORG 40269.createAndStart
693922 [gui_outbox_0] INFO  org.myrobotlab.framework.Outbox  - configured to RELAY logger
693923 [logger] INFO  class org.myrobotlab.framework.Service  - invoking logger.notify(NotifyEntry) 20120621142423719
693924 [logger] INFO  class org.myrobotlab.framework.Service  - adding notify from loggerlog to gui.log
693924 [logger_outbox_0] INFO  org.myrobotlab.framework.Outbox  - no static route for logger.notify
694000 [AWT-EventQueue-0] INFO  class org.myrobotlab.framework.ServiceInfo  - here
694005 [AWT-EventQueue-0] INFO  class org.myrobotlab.framework.ServiceInfo  - here
694168 [gui] INFO  org.myrobotlab.control.ServiceGUI  - buildGraph
694173 [gui] INFO  org.myrobotlab.control.ServiceGUI  - service count 4
694214 [AWT-EventQueue-0] INFO  class org.myrobotlab.framework.ServiceInfo  - here
694219 [AWT-EventQueue-0] INFO  class org.myrobotlab.framework.ServiceInfo  - here
 

GroG

11 years 9 months ago

Oh my ...

It's gotten "way" easier ... man, I should delete that old video :P

Anway...  Do the following :

  • since your cutting edge developer always "update to head" if you start encountering problems - we are making a lot of changes and have a large backlog of stuff to implement or fix ... so the head is changing rapidly.
  • It's gotten easier to debug recently too ! - You can just open org.myrobotlab.service.Jython and then hit F11 - the main method should begin debugging and you'll have a gui & everything (no Java or command line parameters needed !!!)
  • Jython is going to be MyRobotLab's embedded script editor - It's going to be the glue which makes experiments fun and systems work :) ..  So that said, you just need to press examples->input->inputTest.py - and hit Execute

    The script has comments in it, describing what it does...

    You should get pulsating clock messages sent to the Jython console & the Logging console...

Sed

11 years 9 months ago

You're the man!

What a way to go, using Python to manupulate java. That is so perfect!

I've got it working. I ran the same test you did and it went smooth and light aa a feather.

I'll be doing a bounch of tests and see what I come up with.

Thanks a lot GroG!

Best Regards!

Sed.

GroG

11 years 9 months ago

That's great Sed !

I think we'll have to work together to get OpenCV running, at least for OSX, dunno about Linux maybe its ok. I can see that OpenCV has now 2.4.1 released and our archive is at 2.3.1a..   Its time for an update, but the process to get binaries can be time consuming (especially for Arm processors).

It would be nice to find a stable source of binary releases for OpenCV on Arm, x86.32, x86.64, mac osx and linux x86/64 ... 

I was just curious, are you working on a specific project or just seeing what software exists for reference?
If your making a particular project I'd love to see details in another post, (if your so inclined)..

Also, just so you know SwedaKonsult is working on auto-completion in the Jython editor... a very cool addition which will allow for much quicker development..

Glad some parts are working for you, keep us posted.

Sed

11 years 9 months ago

Thanks for including me GroG.

Defenetly, I'll be glad to help in any way I can. For sure we can get some libraries from http://processing.org/ and tap into the core of the machine.

Right now I am running with a little bit of an issue with sphinx. I was trying some ASR.The SimpleBreadthFirstSearchManager  is not finding the sphinx4 jar.

Any Suggestions??